/* ==========================================================
   Byron Castro · Coaching TDAH adulto
   Hoja de estilos compartida (mobile-first)
   Dirección: sobria, mucho aire, tipografía grande, un solo acento.
   ========================================================== */

:root {
  /* Marca */
  --navy: #081725;
  --accent: #E4571F;
  --accent-press: #C94A17;      /* hover/press del naranja: blanco encima pasa AA */

  /* Neutros */
  --text: #33415C;
  --muted: #5A6782;             /* 5.7:1 sobre blanco */
  --on-navy: #C3CCDA;           /* texto secundario sobre azul marino */
  --on-navy-soft: #A9B4C6;
  --surface: #F2F5F9;
  --white: #FFFFFF;
  --line: rgba(8, 23, 37, .10);
  --line-on-navy: rgba(255, 255, 255, .12);

  /* Forma y ritmo */
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1120px;
  --narrow: 760px;
  --gutter: 22px;
  --header-h: 64px;
  --section-y: clamp(88px, 11vw, 168px);
  --head-gap: clamp(40px, 6vw, 72px);

  /* Movimiento */
  --ease-out: cubic-bezier(.23, 1, .32, 1);   /* entradas y respuesta a la presión */
  --press: 140ms;                             /* feedback al presionar */
  --hover: 200ms;                             /* cambios de color al pasar el cursor */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
}

::selection { background: var(--navy); color: var(--white); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  color: var(--navy);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.375rem, 1.5rem + 4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--navy); text-underline-offset: .2em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--cool { background: var(--surface); }
.section--flush-top { padding-top: 0; }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head {
  max-width: var(--narrow);
  margin: 0 auto var(--head-gap);
  text-align: center;
}
.section-head p {
  margin: 18px auto 0;
  max-width: 34ch;
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem);
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
}

.lead {
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.4375rem);
  line-height: 1.5;
  font-weight: 500;
}

.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 1.1875rem;          /* 19px en negrita = texto grande WCAG: blanco sobre naranja pasa AA */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--hover) ease, color var(--hover) ease,
              border-color var(--hover) ease, transform var(--press) var(--ease-out);
}

.btn--primary { background: var(--accent); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: rgba(8, 23, 37, .35); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--navy { background: var(--navy); color: var(--white); }

/* El hover solo existe con mouse: en táctil el color se quedaría "pegado" tras tocar */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-press); }
  .btn--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
  .btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
  .btn--navy:hover { background: #142B40; }
}

/* Feedback al presionar: todo lo que se puede tocar responde igual */
.btn:active,
.carousel-btn:active,
.nav-toggle:active,
.social a:active,
.t-filter-pills label:active { transform: scale(.97); }
.contact-card:active { transform: scale(.985); }

.btn svg { width: 22px; height: 22px; flex: none; }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.btn-row--center { align-items: center; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy); /* sin backdrop-filter en móvil: rompería el menú fijo */
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease;
}
.site-header.is-scrolled { border-color: var(--line-on-navy); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.015em;
}
.brand img { width: 32px; height: 32px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--press) var(--ease-out);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  padding: 16px var(--gutter) 40px;
  overflow-y: auto;
  display: none;
}
.site-nav.is-open { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { border-top: 1px solid var(--line-on-navy); }
.site-nav a:not(.btn) {
  display: block;
  padding: 18px 2px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--white);
  text-decoration: none;
}
.site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.site-nav .nav-cta { margin-top: 28px; border: 0; }
.site-nav .nav-cta .btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* ---------- Hero (inicio) ---------- */
.hero {
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
}
.hero-grid { display: grid; }
.hero-media {
  margin: 0 calc(var(--gutter) * -1);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 45% 32%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.hero-copy { padding: 4px 0 80px; }
.hero-pre {
  margin: 0 0 18px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--on-navy-soft);
  letter-spacing: -.005em;
}
.hero h1 { color: var(--white); }
.hero .lead { color: var(--on-navy); max-width: 34em; margin-top: 24px; }

/* Entrada del hero: escalonada (60 ms entre piezas), solo al cargar */
.hero-pre, .hero h1, .hero .lead, .hero .btn-row { animation: rise 700ms var(--ease-out) both; }
.hero h1 { animation-delay: 60ms; }
.hero .lead { animation-delay: 120ms; }
.hero .btn-row { animation-delay: 180ms; }
.hero-media img { animation: settle 1000ms var(--ease-out) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Hero de páginas internas ---------- */
.page-hero { padding: clamp(72px, 10vw, 152px) 0; }
.page-hero--cool { background: var(--surface); }
.page-hero--navy { background: var(--navy); color: var(--on-navy); }
.page-hero--navy h1 { color: var(--white); }
.page-hero .lead { max-width: 34em; margin-top: 24px; color: var(--muted); }
.page-hero--navy .lead { color: var(--on-navy); }
.page-hero--center { text-align: center; }
.page-hero--center h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .btn-row { align-items: center; justify-content: center; }

/* ---------- Cifras ---------- */
.stats-wrap { border-bottom: 1px solid var(--line); }
.stats {
  display: grid;
  gap: 40px;
  padding: clamp(64px, 8vw, 104px) var(--gutter);
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat-num .accent { color: inherit; }
.stat-label {
  display: block;
  margin: 14px auto 0;
  max-width: 230px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Tarjetas ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.section--cool .card { background: var(--white); }
.card--navy, .section--cool .card--navy { background: var(--navy); color: var(--on-navy); }
.card--navy h3 { color: var(--white); }

.grid { display: grid; gap: 16px; }

/* ¿A quién ayudo? */
.audience-card { display: flex; flex-direction: column; }
.audience-card h3 { margin-bottom: 20px; }
.audience-card .quote-big {
  font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 24px;
}
.areas {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.audience-card .btn { margin-top: auto; align-self: flex-start; }

/* Listas con icono */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--narrow);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--navy);
}
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list .ico {
  flex: none;
  width: 24px; height: 24px;
  margin-top: .15em;
  color: var(--accent);
}
.check-list--plain li,
.check-list--plain li:last-child {
  border: 0;
  padding: 8px 0;
  font-size: 1.0625rem;
}

.closing-line {
  margin: clamp(48px, 7vw, 88px) auto 0;
  max-width: 22ch;
  text-align: center;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1.15;
}

/* ---------- Método FOCUS ---------- */
.focus-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.focus-step {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: start;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.focus-step:last-child { border-bottom: 1px solid var(--line); }
.focus-letter {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.04em;
  color: var(--accent);   /* letra grande: el naranja de marca pasa contraste en texto grande */
}
.focus-step h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.focus-step p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.focus-detail { list-style: none; padding: 0; margin: 0; }
.focus-detail li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.focus-detail li:last-child { border-bottom: 1px solid var(--line); }
.focus-detail .focus-letter { font-size: 3.75rem; }
.focus-detail h3 { margin-bottom: 20px; }
.focus-detail dl { margin: 0; display: grid; gap: 16px; }
.focus-detail dt {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.focus-detail dd { margin: 0; line-height: 1.55; }
.focus-detail .takeaway {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.focus-detail .takeaway dd { color: var(--navy); font-weight: 600; }

.science-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px 0 0;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
}
.science-note svg { width: 24px; height: 24px; color: var(--navy); flex: none; opacity: .6; }

/* ---------- Servicios ---------- */
.service-card { display: flex; flex-direction: column; }
.service-card h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -.025em; }
.service-card .meta {
  margin: 6px 0 18px;
  font-weight: 600;
  color: var(--muted);
}
.card--navy.service-card .meta { color: var(--on-navy-soft); }
.service-card p { margin-bottom: 32px; }
.service-card .meta + p { margin-top: 0; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.grupal-card { margin-top: 16px; }

/* ---------- Testimonios ---------- */
.t-filter { position: relative; }
.t-filter-pills {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 4px;
  width: fit-content;
  background: var(--surface);
  border-radius: 999px;
}
.t-filter-pills label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--hover) ease, color var(--hover) ease,
              box-shadow var(--hover) ease, transform var(--press) var(--ease-out);
}
#tf-focus:checked ~ .t-filter-pills label[for="tf-focus"],
#tf-taller:checked ~ .t-filter-pills label[for="tf-taller"] {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(8, 23, 37, .08), 0 2px 8px rgba(8, 23, 37, .06);
}
#tf-focus:focus-visible ~ .t-filter-pills label[for="tf-focus"],
#tf-taller:focus-visible ~ .t-filter-pills label[for="tf-taller"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#tf-focus:checked ~ .carousel .t-taller,
#tf-taller:checked ~ .carousel .t-focus,
#tf-taller:checked ~ .t-rating { display: none; }

.t-rating {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 40px;
  max-width: 34em;
  text-align: center;
  font-weight: 500;
  color: var(--muted);
}
.t-rating strong { color: var(--navy); font-weight: 700; }

.carousel { position: relative; }
.carousel-track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 28px;
  margin: 0 calc(var(--gutter) * -1);
  list-style: none;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-marquee { scroll-snap-type: none; }
.carousel-track > li { flex: 0 0 86%; scroll-snap-align: start; display: flex; }

.carousel-nav { display: flex; gap: 12px; justify-content: center; }
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--hover) ease, color var(--hover) ease,
              transform var(--press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover { background: var(--navy); color: var(--white); }
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-toggle svg { width: 16px; height: 16px; }
.carousel-toggle .icon-play { display: none; }
.carousel-toggle[aria-pressed="true"] .icon-pause { display: none; }
.carousel-toggle[aria-pressed="true"] .icon-play { display: block; }
.carousel-btn[hidden] { display: none; }
.no-js .carousel-nav { display: none; }

.t-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.section--cool .t-card { background: var(--white); }
.stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 20px; }
.stars svg { width: 15px; height: 15px; }

.before-after {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--muted);
}
.before-after > span { display: block; }
.before-after b {
  display: block;
  margin-bottom: 2px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.before-after .now { color: var(--navy); font-weight: 600; }
.before-after .now b { color: var(--navy); }

.t-card blockquote {
  margin: 0 0 28px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--navy);
}
.t-card figcaption { margin-top: auto; font-size: .9375rem; color: var(--muted); }
.t-card figcaption strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 600; }

.t-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.t-grid > li { display: flex; }

/* ---------- Banda del test ---------- */
.test-band {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 28px;
  padding: clamp(64px, 9vw, 120px) 28px;
  text-align: center;
}
.test-band h2 { color: var(--white); font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
.test-band p {
  max-width: 26em;
  margin: 20px auto 36px;
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.4375rem);
  line-height: 1.45;
  font-weight: 500;
}

/* ---------- Cierre ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 18ch; margin: 0 auto; }

/* ---------- Programa: FOCUS 1:1 ---------- */
.premium {
  display: grid;
  background: var(--navy);
  border-radius: 28px;
  overflow: hidden;
  color: var(--on-navy);
}
.premium-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 50% 12%;
}
.premium-body { padding: 40px 28px 48px; }
.premium-body h2 { color: var(--white); }
.premium-body .meta { margin: 8px 0 0; font-weight: 600; color: var(--on-navy-soft); font-size: 1.125rem; }
.premium-body .ideal {
  margin: 32px 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line-on-navy);
  color: var(--white);
  font-weight: 500;
}
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--on-navy-soft); margin-top: 1px; }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: var(--narrow); margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-weight: 600;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  letter-spacing: -.01em;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms var(--ease-out);
}
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 52px 28px 0; margin: 0; font-size: 1.0625rem; color: var(--text); }
.faq details[open] .answer { animation: answer-in 240ms var(--ease-out); }
@keyframes answer-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Taller ---------- */
.modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.module {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.module-num {
  display: block;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--muted);
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.module h3 { margin-bottom: 8px; }
.module p { margin: 0; color: var(--muted); }

.includes-title { text-align: center; margin: clamp(64px, 8vw, 104px) 0 28px; }
.includes {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--narrow);
}
.includes li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
}
.includes li:last-child { border-bottom: 1px solid var(--line); }
.includes svg { width: 24px; height: 24px; color: var(--navy); opacity: .55; flex: none; }

.hero-aside { margin-top: 48px; }
.hero-aside h2 { font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 12px; }
.page-hero--cool .hero-aside { background: var(--white); }

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo {
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy);
  max-width: 480px;
}
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; }
.about-text h1 { margin-bottom: 32px; }
.about-text p { font-size: 1.125rem; line-height: 1.7; max-width: 36em; }
.about-text .first {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--navy);
  margin-bottom: 1.2em;
}

.pullquote {
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--white);
  max-width: 20ch;
}
.pullquote .accent { color: var(--accent); }

/* ---------- Contacto ---------- */
.contact-main { max-width: var(--narrow); }
.contact-main h1 { margin-bottom: 0; }
.contact-main .btn--whatsapp { width: 100%; min-height: 64px; }
.contact-cards { display: grid; gap: 12px; margin-top: 48px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--navy);
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--press) var(--ease-out), box-shadow var(--hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .contact-card:hover { box-shadow: 0 2px 6px rgba(8, 23, 37, .05), 0 12px 32px rgba(8, 23, 37, .07); }
}
.contact-card .ci {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-card .ci svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.contact-card span { color: var(--muted); font-size: .9375rem; }

/* ---------- Pie de página ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-navy-soft);
  padding: 72px 0 40px;
  border-top: 1px solid var(--line-on-navy);
  font-size: .9375rem;
}
.footer-grid { display: grid; gap: 40px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 16px; max-width: 30ch; color: var(--on-navy-soft); }
.site-footer h2 {
  font-size: .9375rem;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; }
.footer-links a {
  color: var(--on-navy);
  text-decoration: none;
  display: inline-block;
  padding: 7px 0;
}
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--hover) ease, transform var(--press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .social a:hover { background: rgba(255, 255, 255, .16); }
}
.social svg { width: 21px; height: 21px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-navy);
  display: grid;
  gap: 8px;
  font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.disclaimer { color: var(--on-navy); font-weight: 500; }

/* ---------- Entradas al hacer scroll ----------
   main.js marca los bloques con [data-reveal] solo si hay JS, así que sin JS
   todo se ve desde el inicio. Cada bloque entra una vez; los hermanos se
   escalonan con --reveal-delay (máx. 240 ms). */
[data-reveal] {
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- Menos movimiento ----------
   Menos y más suave, no cero: se quita todo desplazamiento y escala,
   se conservan los fundidos de opacidad y los cambios de color. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-pre, .hero h1, .hero .lead, .hero .btn-row, .hero-media img {
    animation: fade-in 400ms ease both;
  }

  [data-reveal] { transition: opacity 400ms ease; transition-delay: 0ms; }
  [data-reveal]:not(.is-in) { transform: none; }

  .btn:active,
  .carousel-btn:active,
  .nav-toggle:active,
  .social a:active,
  .t-filter-pills label:active,
  .contact-card:active { transform: none; opacity: .8; }

  .faq summary .plus { transition: none; }
  .faq details[open] .answer { animation: fade-in 200ms ease; }
}

/* ==========================================================
   Tableta (≥ 640px)
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row--center { justify-content: center; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .carousel-track > li { flex-basis: 46%; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .test-band { padding-left: 48px; padding-right: 48px; }
  .hero-media img { height: 420px; }
}

/* ==========================================================
   Escritorio (≥ 960px)
   ========================================================== */
@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 56px; }
  body { font-size: 1.125rem; }

  .brand { font-size: 1rem; }
  .brand img { width: 28px; height: 28px; }

  /* Menú horizontal */
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav li + li { border: 0; }
  .site-nav a:not(.btn) {
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: 0;
    padding: 8px 12px;
    color: var(--on-navy);
    transition: color var(--hover) ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .site-nav a:not(.btn):hover { color: var(--white); }
  }
  .site-nav a[aria-current="page"]:not(.btn) { color: var(--white); font-weight: 600; text-decoration: none; }
  .site-nav .nav-cta { margin: 0 0 0 12px; }
  .site-nav .nav-cta .btn {
    width: auto;
    min-height: 36px;
    padding: 6px 16px;
    font-size: .875rem;
    font-weight: 600;
    background: var(--accent-press); /* a 14px el texto ya no es "grande": este tono pasa AA */
  }
  @media (hover: hover) and (pointer: fine) {
    .site-nav .nav-cta .btn:hover { background: #A93E12; }
  }
  body.nav-open { overflow: auto; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 24px;
    min-height: min(760px, calc(100vh - var(--header-h)));
  }
  .hero-copy { padding: 96px 0; }
  .hero-pre { font-size: 1.1875rem; }
  .hero h1 { font-size: clamp(3rem, 1.6rem + 2.4vw, 3.75rem); }
  .hero-media {
    order: 1;
    margin: 0 calc(var(--gutter) * -1) 0 0;
    align-self: end;
  }
  .hero-media img {
    height: min(720px, calc(100vh - var(--header-h)));
    min-height: 600px;
    object-fit: cover;
    object-position: 38% 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 86%, transparent 100%);
  }

  .audience-grid { grid-template-columns: 1fr 1fr; }

  /* Cinco columnas con filas compartidas: letras, títulos y textos
     arrancan a la misma altura aunque un título ocupe dos líneas. */
  .focus-steps {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 40px;
  }
  .focus-step,
  .focus-step:last-child {
    grid-template-columns: 1fr;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
    padding: 40px 0 0;
    border-bottom: 0;
  }
  .focus-step > div { display: contents; }
  .focus-letter { font-size: 8rem; margin-bottom: 36px; }
  .focus-step h3 { font-size: 1.3125rem; margin-bottom: 12px; }
  .focus-step p { font-size: 1.0625rem; }

  /* Navegadores sin subgrid: títulos con alto fijo de dos líneas */
  @supports not (grid-template-rows: subgrid) {
    .focus-step > div { display: block; }
    .focus-step h3 { min-height: 2.4em; }
  }

  .focus-detail li { grid-template-columns: 140px 1fr; }
  .focus-detail .focus-letter { font-size: 7rem; }
  .focus-detail dl { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .services-grid > :nth-child(1),
  .services-grid > :nth-child(2) { grid-column: span 3; }
  .services-grid > :nth-child(n+3) { grid-column: span 2; }

  .carousel-track > li { flex-basis: calc((100% - 32px) / 3); }
  .carousel-track { margin: 0; padding: 0 0 32px; scroll-padding: 0; align-items: stretch; }

  .premium { grid-template-columns: 5fr 7fr; }
  .premium-media img { height: 100%; min-height: 620px; }
  .premium-body { padding: 72px 64px; align-self: center; }

  .modules { grid-template-columns: repeat(4, 1fr); }
  .t-grid { grid-template-columns: repeat(3, 1fr); }

  .taller-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: center; }
  .hero-aside { margin-top: 0; }

  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 88px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* ==========================================================
   AJUSTES v2 · más naranja, ritmo azul/claro, páginas nuevas
   (va al final para tener prioridad sobre las reglas anteriores)
   ========================================================== */

:root {
  --accent-text: #C24614;   /* naranja para texto pequeño sobre blanco y gris claro (pasa AA) */
  --accent-line: rgba(228, 87, 31, .45);
}

/* ---------- Etiqueta pequeña sobre cada sección ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.section--navy .eyebrow,
.hero .eyebrow,
.page-hero--navy .eyebrow { color: var(--accent); }

/* ---------- Secciones azul marino ---------- */
.section--navy .section-head p,
.section--navy p { color: var(--on-navy); }
.section--navy .check-list li { color: var(--white); border-color: var(--line-on-navy); }
.section--navy .check-list li:last-child { border-bottom-color: var(--line-on-navy); }
.section--navy .closing-line { color: var(--white); }
.section--navy .closing-line .accent { color: var(--accent); }
.section--navy .cta-final h2,
.section--navy.cta-final h2 { color: var(--white); }

/* ---------- Cifras (debajo del hero) ---------- */
.stats-wrap { border-bottom: 0; }
.stats { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.stat-num {
  color: var(--accent);
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
}
.stat-label { max-width: 210px; }

/* ---------- Hero de inicio ---------- */
.hero-grid { gap: 8px; }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.25rem); }
.hero-media {
  margin: 0 auto;
  width: min(100%, 380px);
  padding-top: 24px;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1158;
  object-fit: contain;
  object-position: center bottom;
  /* Bordes fundidos con el azul marino: arriba y a los lados */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.hero-copy { padding: 8px 0 72px; }

/* ---------- Testimonios ---------- */
.t-card { border-top: 3px solid var(--accent); }
.section--navy .t-card { background: var(--white); }
.section--navy .t-card blockquote,
.section--navy .t-card figcaption strong { color: var(--navy); }
.section--navy .t-card p,
.section--navy .t-card figcaption { color: var(--muted); }
.section--navy .t-card .before-after .now { color: var(--navy); }
.section--navy .t-filter-pills { background: rgba(255, 255, 255, .08); }
.section--navy .t-filter-pills label { color: var(--on-navy); }
.section--navy #tf-focus:checked ~ .t-filter-pills label[for="tf-focus"],
.section--navy #tf-taller:checked ~ .t-filter-pills label[for="tf-taller"] { background: var(--white); color: var(--navy); }
.section--navy .t-rating,
.section--navy .t-rating span { color: var(--on-navy); }
.section--navy .t-rating strong { color: var(--accent); }
.section--navy .carousel-btn { background: rgba(255, 255, 255, .1); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .section--navy .carousel-btn:hover { background: var(--accent); color: var(--white); }
}

/* ---------- Naranja en hover de botones y enlaces ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
  .btn--ghost-light:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
  .btn--navy:hover { background: var(--accent-press); }
  .footer-links a:hover { color: var(--accent); }
  .site-nav a:not(.btn):hover { color: var(--accent); }
  .social a:hover { background: var(--accent); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
  transition: gap var(--hover) var(--ease-out);
}
.text-link svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { gap: 12px; }
}

/* ---------- Íconos y líneas en naranja ---------- */
.feature-list svg,
.includes svg,
.science-note svg,
.contact-card .ci { color: var(--accent); }
.includes svg, .science-note svg { opacity: 1; }
.service-card .meta { color: var(--accent-text); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; margin: 0 0 10px; }
.card--navy.service-card .meta { color: var(--accent); }
.service-card h3 { margin-bottom: 10px; }

/* ---------- Banda del test (sección azul completa) ---------- */
.test-cta { text-align: center; }
.test-cta h2 { color: var(--white); font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
.test-cta p:not(.eyebrow) { max-width: 26em; margin: 20px auto 36px; font-size: clamp(1.1875rem, 1rem + .7vw, 1.4375rem); font-weight: 500; }

/* ---------- Programa FOCUS: hero con cerebro ---------- */
.brain-hero { display: grid; gap: 40px; align-items: center; }
.brain-hero h1 { color: var(--white); }
.brain-wrap { max-width: 440px; margin: 0 auto; width: 100%; }
.brain { width: 100%; height: auto; display: block; overflow: visible; }
.brain path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.brain-nodes circle { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .brain path {
    stroke-dashoffset: 1;
    animation: brain-draw 1.6s var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 90ms);
  }
  .brain-nodes circle {
    opacity: 0;
    animation: node-in 500ms var(--ease-out) forwards, node-pulse 3.6s ease-in-out infinite;
    animation-delay: calc(1.2s + var(--n, 0) * 90ms), calc(2s + var(--n, 0) * 400ms);
  }
}
@keyframes brain-draw { to { stroke-dashoffset: 0; } }
@keyframes node-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .75; }
}

/* ---------- Programa FOCUS: 1:1 y Grupal lado a lado ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: clamp(28px, 4vw, 48px);
}
.plan .meta { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.plan h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -.03em; margin-bottom: 12px; }
.plan .feature-list { margin: 8px 0 28px; }
.plan .feature-list li { color: var(--navy); border-top-color: var(--line); }
.plan .ideal { font-weight: 600; color: var(--navy); margin: -8px 0 28px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--featured { background: var(--navy); color: var(--on-navy); }
.plan--featured h3 { color: var(--white); }
.plan--featured .meta { color: var(--accent); }
.plan--featured .feature-list li { color: var(--white); border-top-color: var(--line-on-navy); }
.plan--featured .ideal { color: var(--white); }

/* ---------- Página de servicios ---------- */
.anchor-pills {
  list-style: none;
  padding: 0;
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.anchor-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-on-navy);
  color: var(--white);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--hover) ease, border-color var(--hover) ease, transform var(--press) var(--ease-out);
}
.anchor-pills a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .anchor-pills a:hover { background: var(--accent-press); border-color: var(--accent-press); }
}
.service-grid { display: grid; gap: 40px; }
.service-intro h2 { margin-bottom: 20px; }
.service-intro .lead { color: var(--text); max-width: 32em; }
.service-details { display: grid; gap: 16px; }
.detail-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
}
.section--cool .detail-card { background: var(--white); }
.detail-card h3 { font-size: 1.125rem; margin-bottom: 14px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; color: var(--text); }
.mini-list .ico { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }

/* ---------- Sobre mí: historia ---------- */
.story-grid { display: grid; gap: 28px; }
.story h2 { max-width: 16ch; }
.story-text p { font-size: 1.1875rem; line-height: 1.7; max-width: 36em; }
.placeholder {
  padding: 18px 20px;
  border: 2px dashed var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent-text) !important;
  font-weight: 700;
  font-size: 1rem !important;
}
.section--navy .placeholder { color: var(--accent) !important; }
.svc-mini { list-style: none; padding: 0; margin: 0 auto; max-width: var(--narrow); }
.svc-mini a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy);
}
.svc-mini li:last-child a { border-bottom: 1px solid var(--line); }
.svc-mini strong { font-size: 1.25rem; letter-spacing: -.015em; }
.svc-mini span { grid-column: 1; font-size: .9375rem; color: var(--muted); }
.svc-mini svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--accent); transition: transform var(--hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc-mini a:hover svg { transform: translateX(4px); }
  .svc-mini a:hover strong { color: var(--accent-text); }
}

/* ---------- Contacto: formulario ---------- */
.contact-layout { display: grid; gap: 40px; align-items: start; }
.contact-intro .lead { color: var(--muted); margin-top: 20px; }
.contact-form {
  display: grid;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: clamp(24px, 4vw, 40px);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; color: var(--navy); font-size: 1rem; }
.field .optional { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #C7D0DC;
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 1.0625rem;
  color: var(--navy);
  transition: border-color var(--hover) ease, box-shadow var(--hover) ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(228, 87, 31, .18);
}
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { margin: 0; min-height: 0; font-size: .9375rem; font-weight: 600; color: #B42318; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.form-actions { display: grid; gap: 14px; }
.form-actions .btn { justify-self: start; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: #067647; background: #ECFDF3; border-radius: 12px; padding: 14px 16px; }
.form-status.is-error { color: #B42318; background: #FEF3F2; border-radius: 12px; padding: 14px 16px; }

.contact-more .contact-main { max-width: 520px; margin: 0 auto; }
.contact-more .contact-cards { max-width: 900px; margin: 16px auto 0; }
.contact-more .contact-card { background: var(--surface); }

/* ---------- Pie: enlace al test ---------- */
.footer-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}
.footer-test svg { width: 18px; height: 18px; transition: transform var(--hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer-test:hover svg { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .text-link, .footer-test svg, .svc-mini svg { transition: none; }
}

/* ---------- Tableta ---------- */
@media (min-width: 640px) {
  .hero-media { width: min(100%, 460px); }
  .contact-form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .field--full { grid-column: 1 / -1; }
  .contact-more .contact-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div + div { border-left: 1px solid var(--accent-line); }

  .hero .container { max-width: 1360px; }
  .hero-grid {
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(40px, 4vw, 72px);
    min-height: 0;
    align-items: center;
  }
  .hero-copy { padding: 88px 0; }
  .hero h1 { font-size: clamp(2.375rem, 1.3rem + 1.9vw, 3.25rem); }
  .hero-media {
    width: calc(100% + var(--gutter));
    margin: 48px calc(var(--gutter) * -1) 0 0;
    padding-top: 0;
    align-self: end;
  }
  .hero-media img {
    height: auto;
    min-height: 0;
    max-height: none;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%);
  }

  .focus-step, .focus-step:last-child { border-top: 2px solid var(--accent); }

  .brain-hero { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .plans { grid-template-columns: 1fr 1fr; gap: 24px; }

  .service-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

  .story-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }

  .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Con 6 enlaces el menú horizontal necesita más ancho: entre 960 y 1139 px
   se mantiene el botón de menú como en celular. */
@media (min-width: 960px) and (max-width: 1139.98px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    padding: 16px var(--gutter) 40px;
    background: var(--navy);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li + li { border-top: 1px solid var(--line-on-navy); }
  .site-nav a:not(.btn) { font-size: 1.5rem; font-weight: 600; padding: 18px 2px; color: var(--white); }
  .site-nav .nav-cta { margin: 28px 0 0; }
  .site-nav .nav-cta .btn { width: 100%; min-height: 54px; font-size: 1.1875rem; font-weight: 700; background: var(--accent); }
  body.nav-open { overflow: hidden; }
}
.brand span { white-space: nowrap; }

/* ==========================================================
   AJUSTES v3 · Sobre mí, pie de página y cerebro animado
   ========================================================== */

/* ---------- Sobre mí ---------- */
.about-photo { max-width: 440px; border-radius: 28px; background: var(--surface); }
.about-photo img { aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.about-hero h1 { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem); margin-bottom: 28px; }
.about-hero h1 .accent { display: block; }

.key-quote {
  margin: 28px 0 0;
  padding: 0;
}
.key-quote p {
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem) !important;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--accent);
  max-width: 22ch;
}

.story-narrow { max-width: 860px; }
.story-lead {
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem) !important;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.01em;
  max-width: 36em;
}
.section--navy .story-lead { color: var(--white) !important; }
.story-lead strong { font-weight: 800; }
.section--navy .story-lead strong:not(.accent) { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .25em; }
.story-lead + .story-lead { margin-top: 1.2em; }

.soft-quote {
  margin: clamp(32px, 5vw, 56px) 0;
  padding: 0 0 0 0;
}
.soft-quote p {
  margin: 0;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem) !important;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--on-navy) !important;
  max-width: 28ch;
}
.story-close {
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem) !important;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--white) !important;
  max-width: 22ch;
  margin: 0;
}

.do-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.do-card {
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: 32px 28px;
}
.do-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(228, 87, 31, .1);
  color: var(--accent);
  margin-bottom: 22px;
}
.do-ico svg { width: 30px; height: 30px; }
.do-card p { margin: 0; font-size: 1.1875rem; line-height: 1.5; color: var(--navy); }
.do-card strong { font-weight: 700; }

/* ---------- Pie de página ---------- */
.social-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--on-navy);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--hover) ease;
}
.social-ico {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 8px;
  transition: transform var(--press) var(--ease-out);
}
.social-list a:active .social-ico { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .social-list a:hover { color: var(--white); }
  .social-list a:hover .social-ico { transform: translateY(-1px); }
}
.footer-bottom {
  display: block;
  text-align: center;
}
.footer-bottom p { color: var(--on-navy-soft); font-size: .875rem; line-height: 1.6; }

/* ---------- Programa FOCUS: cerebro animado ---------- */
.brain-stage {
  position: relative;
  width: min(100%, 240px);
  margin: 0 auto;
  aspect-ratio: 1;
  perspective: 1100px;
}
.brain-glow {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(228, 87, 31, .9), rgba(228, 87, 31, .35) 50%, rgba(228, 87, 31, 0) 100%);
  filter: blur(28px);
  opacity: .55;
  pointer-events: none;
}
.brain-tilt {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 700ms var(--ease-out);
}
.brain-float {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.brain-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brain-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .brain-float { animation: brain-float 10s ease-in-out infinite; }
  .brain-glow { animation: brain-breathe 6s ease-in-out infinite; }
  .brain-stage.is-paused .brain-float,
  .brain-stage.is-paused .brain-glow { animation-play-state: paused; }
}
@keyframes brain-float {
  0%   { transform: translateY(0)     rotateY(-12deg) rotateX(4deg); }
  25%  { transform: translateY(-8px)  rotateY(-3deg)  rotateX(1deg); }
  50%  { transform: translateY(-12px) rotateY(12deg)  rotateX(-3deg); }
  75%  { transform: translateY(-5px)  rotateY(3deg)   rotateX(-1deg); }
  100% { transform: translateY(0)     rotateY(-12deg) rotateX(4deg); }
}
@keyframes brain-breathe {
  0%, 100% { opacity: .4; }
  50% { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .brain-threads { display: none; }
  .brain-tilt { transition: none; }
}

@media (min-width: 640px) {
  .brain-stage { width: min(100%, 400px); }
  .do-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .brain-stage { width: min(100%, 520px); }
  .about-grid { grid-template-columns: .8fr 1.2fr; }
}

/* ---------- Revisión final (ui-ux-pro-max): zonas de toque y lectura ---------- */
.brand, .text-link, .footer-test { min-height: 44px; }
.footer-links a { padding: 10px 0; }
.service-card .meta, .plan .meta { font-size: .8125rem; }
a, button, label[for], summary { touch-action: manipulation; }

/* ---------- Inicio: datos de la cohorte de FOCUS Grupal (2 cifras) ---------- */
.stats--two { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) {
  .stats--two { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero de inicio con foto recortada (fondo transparente) ----------
   Celular: texto arriba y foto abajo, apoyada en el borde inferior del hero.
   Escritorio: la cabeza arranca a la altura del titular y el cuerpo llega abajo. */
.hero--cutout .hero-copy { order: 1; padding-bottom: 8px; }
.hero--cutout .hero-media {
  order: 2;
  width: min(100%, 340px);
  margin: 16px auto 0;
  padding-top: 0;
}
.hero--cutout .hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1145 / 1374;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: none;
  mask-image: none;
}

@media (min-width: 960px) {
  .hero--cutout .hero-grid { align-items: stretch; }
  .hero--cutout .hero-copy { order: 0; align-self: center; padding: 88px 0; }
  .hero--cutout .hero-media {
    order: 1;
    position: relative;
    align-self: stretch;
    width: auto;
    margin: 0;
  }
  .hero--cutout .hero-media img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    height: calc(100% - var(--hero-head-top, 122px));
  }
}
@media (min-width: 960px) and (max-width: 1139.98px) {
  .hero--cutout { --hero-head-top: 139px; }   /* la etiqueta superior ocupa dos líneas */
}
