/* ==========================================================================
   Agencia Media theme: base styles
   Tokens live in tokens.css (loaded first).
   ========================================================================== */

/* Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--agencia-blue-700); text-decoration: none; }
a:hover { color: var(--azul); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-xs); }
h1, h2, h3, h4 { margin: 0; color: var(--text-heading); }
p { margin: 0; }

/* No widows: headings balance their lines; body text avoids a lone last word */
h1, h2, h3, h4, .eyebrow-heading__title { text-wrap: balance; }
p, li, figcaption, blockquote { text-wrap: pretty; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--azul); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Layout
   -------------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; }
.band { padding: var(--space-10) var(--gutter); position: relative; }
.band--tight { padding: var(--space-9) var(--gutter); }
.band--white { background: var(--white); }
.band--alt { background: var(--surface-alt); }
.band--hielo { background: var(--hielo); }
.band--azul { background: var(--azul); color: rgba(255, 255, 255, 0.9); overflow: hidden; }
.band--azul h1, .band--azul h2, .band--azul h3 { color: #fff; }
.stack { display: flex; flex-direction: column; gap: var(--space-5); }
.stack--lg { gap: var(--space-8); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-9); align-items: center; }
.grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

@media (max-width: 760px) {
  .band { padding: var(--space-9) var(--gutter); }
  .row { gap: var(--space-7); }
}

/* Type
   -------------------------------------------------------------------------- */
.display-1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em;
}
.display-2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08; letter-spacing: -0.02em;
}
.heading-2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 40px); line-height: 1.25;
}
.heading-3 { font-size: 24px; line-height: 1.25; font-weight: 500; color: var(--gray-900); }
.lede { font-size: 20px; line-height: 1.6; }
.small { font-size: 14px; }
.muted { color: var(--text-muted); }
.accent-italic { font-style: italic; color: var(--agencia-blue-700); }
.band--azul .accent-italic { color: inherit; }
.eyebrow {
  margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--agencia-blue-700);
}
.band--azul .eyebrow { color: var(--limon); }
.eyebrow-heading { display: flex; flex-direction: column; gap: var(--space-2); }
.eyebrow-heading__title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 40px);
  line-height: 1.25; color: var(--text-heading);
}

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-weight: 700; line-height: 1;
  border: var(--border-med) solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
.btn--sm { font-size: 13px; padding: var(--space-2) var(--space-4); }
.btn--md { font-size: 15px; padding: var(--space-3) var(--space-6); }
.btn--lg { font-size: 17px; padding: var(--space-4) var(--space-8); }
.btn--primary { background: var(--action-primary); color: #fff; }
.btn--primary:hover { background: var(--action-primary-hover); color: #fff; }
.btn--accent { background: var(--action-accent); color: #fff; }
.btn--accent:hover { background: var(--naranja-700); color: #fff; }
.btn--secondary { background: transparent; color: var(--agencia-blue-700); border-color: var(--agencia-blue); }
.btn--secondary:hover, .btn--ghost:hover { background: var(--hielo); color: var(--agencia-blue-700); }
.btn--ghost { background: transparent; color: var(--agencia-blue-700); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--seq-teal-2); color: #fff; cursor: not-allowed; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 15px; font-weight: 700; color: var(--agencia-blue-700);
}
.link-arrow svg { width: 18px; height: 18px; flex: none; }
.band--azul .link-arrow { color: #fff; border-bottom: 2px solid var(--limon); padding-bottom: 4px; }
.link-quiet { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.link-quiet:hover { color: #fff; }
.link-quiet svg { width: 16px; height: 16px; }

/* Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1; padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}
.badge--blue { background: var(--agencia-blue); color: #fff; }
.badge--naranja { background: var(--naranja-soft); color: var(--naranja-700); }
.badge--neutral { background: var(--gray-100); color: var(--gray-700); }
.badge--limon { background: var(--limon); color: var(--azul); }

/* Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.card--hairline { border: var(--border-thin) solid var(--border); }
.card--elevated { box-shadow: var(--shadow-sm); }
.card--lg { padding: var(--space-7); }
.card__number { font-family: var(--font-display); font-size: 32px; line-height: 1.05; color: var(--agencia-blue-700); }
.card__foot { margin-top: auto; }

/* Header
   -------------------------------------------------------------------------- */
.announcement {
  background: var(--azul); color: #fff; text-align: center; font-size: 14px; padding: 10px var(--gutter);
}
.announcement a { color: var(--limon); text-decoration: underline; }
.site-header {
  position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 20px var(--gutter);
}
.site-header__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.site-nav__item { position: relative; }
.site-nav__link, .site-nav__toggle {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--azul);
  background: none; border: 0; padding: 4px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav__link:hover, .site-nav__toggle:hover { color: var(--agencia-blue-700); }
.site-nav__item--current > .site-nav__link,
.site-nav__item--current > .site-nav__toggle { border-bottom-color: var(--agencia-blue); }
.site-nav__toggle svg { width: 14px; height: 14px; flex: none; transition: transform var(--dur-fast) var(--ease-standard); }
.site-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav__submenu {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 260px;
  margin: 0; padding: 8px; list-style: none; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  display: none;
}
.site-nav__item--open .site-nav__submenu { display: block; }
.site-nav__submenu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; color: var(--azul); }
.site-nav__submenu a:hover { background: var(--hielo); color: var(--azul); }
.site-nav__menu-button { display: none; }

@media (max-width: 960px) {
  .site-nav__menu-button {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; color: var(--azul); cursor: pointer;
  }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); padding: 8px var(--gutter) 24px; }
  .site-header--open .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link, .site-nav__toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .site-nav__submenu { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .site-nav__item--open .site-nav__submenu { display: block; }
  .site-nav .btn { margin-top: 16px; }
}

/* Closing band (one pop: the orange button) and footer
   -------------------------------------------------------------------------- */
.closing { position: relative; overflow: hidden; background: var(--azul); padding: var(--space-10) var(--gutter); }
.closing__mark {
  position: absolute; right: -40px; bottom: -80px; height: 380px; width: auto; pointer-events: none;
  filter: brightness(0) invert(1); opacity: 0.08;
}
.closing__inner { position: relative; max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-5); }
.closing__title {
  max-width: 760px; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.2; letter-spacing: -0.02em; color: #fff;
}
.closing__text { max-width: 600px; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }

.site-footer { background: var(--azul-noche); padding: 56px var(--gutter) 40px; color: rgba(255, 255, 255, 0.7); }
.site-footer__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.site-footer__brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { height: 44px; width: auto; opacity: 0.9; align-self: flex-start; }
.site-footer__brand p { max-width: 380px; font-size: 14px; }
.site-footer__nav { flex: 1 1 320px; display: flex; flex-wrap: wrap; gap: 56px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__label { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.site-footer a { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--azul); padding: 88px var(--gutter) 96px; }
.hero__mark { position: absolute; right: -70px; bottom: -110px; height: 380px; width: auto; z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-9); }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.hero__copy h1 { color: #fff; }
.hero .eyebrow { color: var(--limon); }
.hero .signup-card .eyebrow { color: var(--agencia-blue-700); }
.hero__copy .lede { color: rgba(255, 255, 255, 0.9); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }
.hero__media { flex: 0 1 420px; min-width: 280px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); object-fit: cover; }
.hero__media figcaption { font-size: 12px; color: rgba(255, 255, 255, 0.85); }

.page-head { background: #fff; padding: 88px var(--gutter) 48px; }
.page-head__inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-5); }

/* Post cards and archives
   -------------------------------------------------------------------------- */
.post-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--gray-200); }
.post-card__image { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--hielo); }
.post-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__title { font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--gray-900); }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--agencia-blue-700); }
.post-card__excerpt { font-size: 15px; color: var(--text-body); }
.post-card__meta { margin-top: auto; font-size: 13px; color: var(--text-muted); }
.post-card--feature { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.post-card--feature .post-card__image { aspect-ratio: 40 / 21; height: auto; }
.post-card--feature .post-card__title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); line-height: 1.2; color: var(--azul); }
@media (max-width: 860px) { .post-card--feature { grid-template-columns: 1fr; } .post-card--feature .post-card__image { min-height: 0; aspect-ratio: 16 / 9; } }

.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: var(--space-8); font-size: 15px; font-weight: 700; }

/* Article
   -------------------------------------------------------------------------- */
.article-head { padding: 88px var(--gutter) 40px; background: #fff; }
.article-head__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-4); }
.article-head__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -0.015em; color: var(--azul); }
.article-head__excerpt { font-size: 20px; line-height: 1.55; color: var(--text-body); }
.article-head__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--text-muted); }
.article-feature { max-width: 1040px; margin: 0 auto 48px; padding: 0 var(--gutter); }
.article-feature img { width: 100%; border-radius: var(--radius-lg); }
.article-feature figcaption { margin-top: 8px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* Post body: Ghost editor content */
.gh-content { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) var(--space-10); font-size: 18px; line-height: 1.7; color: var(--gray-700); }
.gh-content > * + * { margin-top: 1.4em; }
.gh-content h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.25; margin-top: 1.8em; }
.gh-content h3 { font-size: 23px; line-height: 1.3; font-weight: 700; margin-top: 1.6em; }
.gh-content a { color: var(--agencia-blue-700); text-decoration: underline; text-underline-offset: 3px; }
.gh-content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--agencia-blue); font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--azul); }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: 0.5em; }
.gh-content hr { border: 0; border-top: 1px solid var(--gray-200); margin: 2.4em 0; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content figcaption { margin-top: 8px; font-size: 14px; color: var(--text-muted); text-align: center; }
.gh-content img { border-radius: var(--radius-md); }
.gh-content .kg-width-wide { position: relative; width: min(1040px, 100vw - 2 * var(--gutter)); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full img { border-radius: 0; }
.gh-content pre { overflow-x: auto; background: var(--gray-50); padding: 16px; border-radius: var(--radius-sm); font-size: 15px; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.gh-content th, .gh-content td { border-bottom: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; }

.article-foot { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) var(--space-10); display: flex; flex-direction: column; gap: var(--space-6); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--gray-100); color: var(--gray-700); }
.tag-list a:hover { background: var(--hielo); color: var(--azul); }

/* Signup and forms
   -------------------------------------------------------------------------- */
.signup-card { background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field__label { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.input {
  font-family: var(--font-sans); font-size: 15px; color: var(--gray-900); background: #fff;
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); width: 100%;
}
.input::placeholder { color: var(--gray-400); }
.input:focus-visible { border-color: var(--agencia-blue); }
.form-message { font-size: 14px; display: none; }
form.success .form-message--success, form.error .form-message--error { display: block; }
.form-message--success { color: var(--verde); }
.form-message--error { color: var(--frambuesa); }
form.loading .btn { opacity: 0.7; pointer-events: none; }
form.success .signup-fields { display: none; }

/* Logo strip
   -------------------------------------------------------------------------- */
.logo-strip { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.logo-tile { height: 84px; border: 1px solid var(--gray-200); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
.logo-tile img { max-width: 100%; max-height: 44px; width: auto; height: auto; filter: grayscale(1); opacity: .7; transition: filter var(--dur-base), opacity var(--dur-base); }
.logo-tile img.logo-tall { max-height: 64px; }
.logo-tile img.logo-dark { filter: brightness(0); opacity: .55; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile:hover img.logo-dark { filter: brightness(0); opacity: .9; }

/* Almanac: season icons, hero aside and tool cards
   -------------------------------------------------------------------------- */
.hero__aside { flex: 0 1 440px; min-width: 300px; }
.season-row { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-2); }
.season-row div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.season-row img { width: 84px; height: 84px; }
@media (max-width: 480px) {
  .season-row { gap: 12px; }
  .season-row img { width: 62px; height: 62px; }
}
.season-row span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }

.tool-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.tool-card { align-items: flex-start; gap: 28px; }
.tool-card__art { flex: none; border-radius: var(--radius-lg); }
.tool-card__art--hielo { background: var(--hielo); padding: 20px 16px 12px; }
.tool-card__art--hielo svg { display: block; }
.tool-card__art--seasons {
  width: 200px; background: var(--azul); padding: 20px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px;
}
.tool-card__art--seasons div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tool-card__art--seasons img { width: 60px; height: 60px; }
.tool-card__art--seasons span { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.tool-card__body { width: 100%; flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--space-4); }
.tool-card__cta { margin-top: auto; align-self: flex-start; }

/* TAM calculator gate
   -------------------------------------------------------------------------- */
.check-list { margin: var(--space-2) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #fff; }
.check-list svg { flex: none; margin-top: 1px; }
.tam-gate { color: var(--text-body); }
.tam-gate__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 480px) { .tam-gate__pair { grid-template-columns: 1fr; } }
.tam-gate__checks { border: 0; margin: 0; padding: 0; gap: 10px; }
.tam-gate__checks legend { margin-bottom: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--gray-900); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--agencia-blue); flex: none; }
.tam-gate__optin { background: var(--hielo); border-radius: var(--radius-md); padding: 16px; }
.tam-gate__done { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tam-gate__done[hidden], .tam-gate__form[hidden] { display: none; }
select.input { appearance: auto; }
textarea.input { resize: vertical; font-family: var(--font-sans); }
.tam-locked {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 48px;
}
.tam-locked[hidden] { display: none; }
.tam-locked__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--hielo); color: var(--azul); display: flex; align-items: center; justify-content: center; }
.tam-frame { width: 100%; height: 900px; border: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }

/* Error page
   -------------------------------------------------------------------------- */
.error-page { min-height: 60vh; display: flex; align-items: center; padding: var(--space-10) var(--gutter); }
.error-page__inner { max-width: 680px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.error-page__code { font-family: var(--font-display); font-size: 96px; line-height: 1; color: var(--agencia-blue); }

/* Small screens: the page templates use the comps' inline styles, so tighten them here
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  main > section[style*="padding"], main > section.hero, main > section.closing {
    padding-left: var(--gutter) !important; padding-right: var(--gutter) !important;
  }
  main > section[style*="padding:96px"], main > section[style*="padding:88px"], main > section[style*="padding:80px"] {
    padding-top: 64px !important; padding-bottom: 64px !important;
  }
  main h1[style*="font-size:64px"], main h1[style*="font-size:56px"] { font-size: 40px !important; }
  main h2[style*="font-size:48px"], main h2[style*="font-size:40px"] { font-size: 32px !important; }
  main [style*="padding:64px"] { padding: 32px 24px !important; }
  main [style*="padding:48px"] { padding: 28px 20px !important; }
  main [style*="padding:40px"] { padding: 28px 20px !important; }
  main [style*="min-width:300px"], main [style*="min-width:280px"] { min-width: 0 !important; }
  .btn { white-space: normal; text-align: center; }
}
/* Connector arrows between the method steps on the homepage hide on narrow screens */
@media (max-width: 900px) { .conn { display: none; } }

/* Client logo strip: columns that divide the 12 logos evenly */
.logo-grid { width: 100%; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Coaching price panel: per-session price first, package total beside it */
.price-rows { display: flex; flex-direction: column; border-top: 1px solid var(--gray-200); }
.price-rows__row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label price" "label total"; column-gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.price-rows__label { grid-area: label; align-self: center; font-size: 14px; font-weight: 700; color: var(--gray-700); }
.price-rows__price { grid-area: price; text-align: right; font-family: var(--font-display); font-size: 28px; line-height: 1.1; color: var(--azul); }
.price-rows__unit { font-family: var(--font-sans); font-size: 13px; color: var(--text-body); }
.price-rows__total { grid-area: total; text-align: right; font-size: 13px; color: var(--text-muted); }

/* Long button labels wrap inside cards instead of overflowing */
.card .btn { white-space: normal; text-align: center; max-width: 100%; }

/* Press & speaking: linked titles and cards */
.press-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gray-300, #cbd5e1); text-underline-offset: 3px; }
.press-link:hover, .press-link:focus-visible { color: var(--agencia-blue-700); text-decoration-color: currentColor; }
.press-card { transition: box-shadow .15s ease, transform .15s ease; }
.press-card:hover, .press-card:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.press-more > summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--agencia-blue-700); margin-bottom: 16px; }

/* Results: quote filter pills are buttons */
.quote-filter button.badge { border: 0; cursor: pointer; font-family: inherit; font-size: 12px; padding: 10px 16px; }
.quote-filter button.badge--neutral:hover { background: var(--gray-200); }
.quote-grid [data-cats][hidden] { display: none !important; }

/* Insights index: header lines up with the card grid */
.page-head--wide .page-head__inner { max-width: var(--container); }
.page-head--wide h1 { max-width: 20ch; text-wrap: balance; }
.page-head--wide h1 em { font-style: italic; color: var(--agencia-blue-700); }
