/* ==========================================================================
   SOMOS COACHING ARGENTINA — Hoja de estilos principal
   Paleta de marca derivada del logo y del tema original:
     navy #0A2240 · azul marca #1B4B9E · naranja #FF8C42 · papel #F8F9FA
   ========================================================================== */

:root {
  --navy: #0a2240;
  --navy-700: #12335c;
  --navy-500: #1d4a7a;
  --blue: #1b4b9e;
  --blue-400: #4a7fd4;
  --blue-200: #a8c6ee;
  --blue-100: #e8f0fb;
  --orange: #ff8c42;
  --orange-600: #ef7526;
  --paper: #f8f9fa;
  --white: #ffffff;
  --ink: #16233a;
  --muted: #5a6b85;
  --border: #e3e8ef;
  --shadow-sm: 0 1px 2px rgba(10, 34, 64, 0.06), 0 2px 8px rgba(10, 34, 64, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 34, 64, 0.08), 0 12px 32px rgba(10, 34, 64, 0.08);
  --shadow-lg: 0 12px 28px rgba(10, 34, 64, 0.12), 0 32px 64px rgba(10, 34, 64, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --wrap: 1180px;
  /* Misma altura que el encabezado del original, para que el bloque de
     video arranque exactamente en la misma posición vertical. */
  --header-h: 104px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------- reset ---------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.35rem + 3vw, 3.5rem);
}

h2 {
  font-size: clamp(1.55rem, 1.15rem + 1.7vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.5em;
}

strong {
  font-weight: 700;
  color: var(--navy);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------- botones --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.6em;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s var(--ease),
    color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.22s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 75, 158, 0.28);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 34, 64, 0.32);
}

.btn-accent {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.34);
}

.btn-accent:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 140, 66, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: currentColor;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

/* ------------------------------- header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 1px 0 var(--border), 0 6px 24px rgba(10, 34, 64, 0.07);
}

/* Reparto del encabezado igual al del original: el logo arranca a 79px del
   borde y el menú va inmediatamente después, con 57px de separación. En el
   original el menú no queda pegado al borde derecho, así que no se usa
   space-between. */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 57px;
  min-height: var(--header-h);
  max-width: 1440px;
  padding-inline: 79px 22px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

/* El logo del original mide 259x69 en el encabezado */
.brand img {
  width: auto;
  height: 69px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav > ul > li {
  position: relative;
  margin: 0;
}

/* Estilos del menú calcados del original: Montserrat 15px/700,
   inactivo #0D3B66 y activo #85BEFF, sin fondo ni subrayado. */
.primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 50px;
  color: #0d3b66;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: normal;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.primary-nav > ul > li > a:hover {
  color: #85beff;
  text-decoration: none;
}

.primary-nav > ul > li > a[aria-current='page'] {
  color: #85beff;
}

.caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s var(--ease);
  flex: none;
}

.has-sub:hover > a .caret {
  transform: rotate(45deg) translateY(0);
}

.sub-toggle {
  display: none;
}

/* Desplegable con el aspecto del original: panel azul marino, esquinas rectas,
   sin sombra, 254px de ancho y alineado a la izquierda con su ítem padre.
   OJO: en el sitio original el texto de este desplegable es #0D3B66 sobre fondo
   #0D3B66, o sea que queda invisible (es un bug del original). Acá se usa
   blanco para que el menú sea legible. */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(6px);
  min-width: 290px;
  background: #0d3b66;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 20px;
  line-height: 30px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease);
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.nav-cta {
  padding: 0.7em 1.35em;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------- hero ----------------------------------- */

/* --- Variante "showcase": media arriba, texto debajo (como el original) --- */

.hero--showcase {
  position: relative;
  background: var(--paper);
  padding: 0 0 clamp(48px, 5.5vw, 82px);
}

.hero--showcase .hero-media {
  position: relative;
  margin: 0 auto;
  max-width: 1060px;
  aspect-ratio: 1060 / 644;
  overflow: hidden;
  background: var(--navy);
}

.hero--showcase .hero-media img,
.hero--showcase .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mismo encuadre que el original (50% 50%). Con 50% 40% el video y su
     imagen de respaldo mostraban un recorte distinto al cambiar de uno a otro. */
  object-position: 50% 50%;
}

/* Línea azul divisoria, igual que en el sitio original */
.hero-rule {
  height: 10px;
  width: 86%;
  background: #6699cc;
}

.hero-copy {
  max-width: 900px;
  padding-top: clamp(30px, 3.6vw, 48px);
}

.hero--showcase h1 {
  color: var(--navy);
  font-size: clamp(1.7rem, 1.15rem + 1.6vw, 2.5rem);
  line-height: 1.16;
  margin: 0;
  text-shadow: none;
}

/* Guion corto bajo el titular */
.hero-accent {
  display: block;
  width: 68px;
  height: 3px;
  background: #6699cc;
  margin: clamp(18px, 2vw, 26px) 0 clamp(20px, 2.2vw, 28px);
}

.hero--showcase .hero-lead {
  font-size: clamp(0.98rem, 0.95rem + 0.22vw, 1.06rem);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.65;
  max-width: 74ch;
  margin-bottom: 1.7em;
}

/* --- Variante "overlay": media a sangre con el texto encima ------------- */

.hero--overlay {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 56vh, 580px);
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero--overlay .hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero--overlay .hero-media img,
.hero--overlay .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(10, 34, 64, 0.94) 0%,
    rgba(10, 34, 64, 0.82) 42%,
    rgba(18, 51, 92, 0.62) 100%
  );
}

.hero--overlay .hero-inner {
  position: relative;
  max-width: 860px;
}

.hero--overlay h1 {
  color: #fff;
  margin-bottom: 0.45em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero--overlay .hero-lead {
  font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.22rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  max-width: 62ch;
  margin-bottom: 1.9em;
}

/* --- Común -------------------------------------------------------------- */

/* El video aparece con fundido recién cuando arranca a reproducirse */
.hero-video {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* ------------------------------ secciones -------------------------------- */

.section {
  padding: clamp(58px, 7vw, 104px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: var(--navy);
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section--navy p,
.section--navy li {
  color: rgba(255, 255, 255, 0.86);
}

.section--tight {
  padding-top: clamp(34px, 4vw, 54px);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(38px, 4.5vw, 60px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.5em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9em;
}

.lead {
  font-size: clamp(1.02rem, 0.97rem + 0.35vw, 1.16rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}

.section--navy .lead {
  color: rgba(255, 255, 255, 0.82);
}

.section--navy .eyebrow {
  color: var(--orange);
}

/* -------------------------------- grids ---------------------------------- */

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

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

/* ------------------------------- tarjetas -------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-200));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.32s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.card:hover::before {
  transform: scaleY(1);
}

.card h3 {
  margin-bottom: 0.55em;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.card .card-link {
  margin-top: auto;
  padding-top: 1.4em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue);
}

.card .card-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.24s var(--ease);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

.card--link {
  text-decoration: none;
  color: inherit;
}

.card--link:hover {
  text-decoration: none;
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ------------------------- listas con tilde ------------------------------ */

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  font-size: 1.01rem;
  color: var(--ink);
  line-height: 1.5;
}

.ticks svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 2px;
  color: var(--orange);
}

.section--navy .ticks li {
  color: rgba(255, 255, 255, 0.9);
}

.ticks--2col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 34px;
}

/* ---------------------------- split imagen/texto -------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split-body h2 {
  margin-bottom: 0.5em;
}

.split-body p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* --------------------------- bloque destacado ---------------------------- */

.highlight {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4.5vw, 58px);
  overflow: hidden;
}

.highlight::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 127, 212, 0.45), transparent 68%);
}

.highlight h2,
.highlight h3 {
  color: #fff;
  position: relative;
}

.highlight p {
  color: rgba(255, 255, 255, 0.87);
  position: relative;
  font-size: 1.05rem;
}

.quote {
  border-left: 4px solid var(--orange);
  padding-left: 26px;
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem);
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
}

/* ------------------------------ pasos 1.0 -------------------------------- */

.steps {
  display: grid;
  gap: 22px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  color: #fff;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.step h3 {
  margin-bottom: 0.4em;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* -------------------------------- equipo --------------------------------- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 28px;
}

.member {
  text-align: center;
}

.member-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-100);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s var(--ease);
}

.member:hover .member-photo img {
  transform: scale(1.04);
}

.member h3 {
  font-size: 1.12rem;
  margin-bottom: 0.25em;
}

.member p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ------------------------------ estadísticas ------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  text-align: center;
}

.stat-value {
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.35em;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ------------------------------- clientes -------------------------------- */

.clientes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 6vw, 72px);
}

.clientes img {
  height: 58px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.clientes img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

/* ------------------------------ galería ---------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gallery a:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery--wide {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* ------------------------------ cta band --------------------------------- */

.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, var(--blue) 100%);
  padding: clamp(48px, 6vw, 78px) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.22), transparent 70%);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 0.3em;
  max-width: 22ch;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 58ch;
}

.cta-inner > div {
  flex: 1 1 420px;
}

/* ------------------------------ formulario -------------------------------- */

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.field .req {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 75, 158, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 16px;
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.alert--ok {
  background: #e7f7ee;
  border: 1px solid #a9e2c2;
  color: #10693c;
}

.alert--err {
  background: #fdeceb;
  border: 1px solid #f5b7b3;
  color: #96231c;
}

/* ------------------------- datos de contacto ------------------------------ */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 24px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
}

.contact-list .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--blue);
}

.contact-list .ico svg {
  width: 21px;
  height: 21px;
}

.contact-list strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-list a,
.contact-list span {
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 600;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* -------------------------------- footer ---------------------------------- */
/* Igual al original: banda azul marino con el isotipo a la izquierda y los
   datos de contacto al lado. Sin navegación, redes ni copyright. */

.site-footer {
  background: #0d3b66;
  padding: clamp(36px, 4.2vw, 62px) 0 clamp(36px, 4.2vw, 62px);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  padding-left: clamp(0px, 8.9vw, 127px);
}

.footer-isotipo {
  width: 45px;
  height: 45px;
  flex: none;
}

.footer-datos {
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.19;
  color: #f8f9fa;
}

.footer-datos a {
  color: #f8f9fa;
}

.footer-datos a:hover {
  color: #ffb266;
}
/* ------------------------------ whatsapp ---------------------------------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

/* ------------------------------- utilidades ------------------------------- */

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-2 {
  margin-top: 1.4em;
}

.mt-3 {
  margin-top: 2.2em;
}

.mt-4 {
  margin-top: 3em;
}

.max-60 {
  max-width: 62ch;
}

.mx-auto {
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------ responsive -------------------------------- */

@media (max-width: 1024px) {
  .site-header {
    box-shadow: 0 1px 0 var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 14px 22px 26px;
    box-shadow: 0 22px 44px rgba(10, 34, 64, 0.16);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .primary-nav > ul > li > a {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    flex: 1;
    justify-content: space-between;
  }

  .has-sub {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .has-sub > a {
    grid-column: 1;
  }

  .has-sub > a .caret {
    display: none;
  }

  .sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    width: 46px;
    height: 46px;
    background: transparent;
    border: 0;
    color: var(--navy);
    cursor: pointer;
    border-radius: var(--radius-sm);
  }

  .sub-toggle .caret {
    width: 9px;
    height: 9px;
  }

  .sub-toggle[aria-expanded='true'] .caret {
    transform: rotate(-135deg) translateY(-2px);
  }

  .submenu {
    grid-column: 1 / -1;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    /* Mismo panel azul marino que en escritorio: si acá se pusiera claro,
       el texto blanco de los ítems quedaría invisible. */
    background: #0d3b66;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    margin: 4px 0 6px;
    display: none;
  }

  .submenu a {
    padding: 11px 16px;
  }

  .has-sub.is-open .submenu {
    display: block;
  }

  .nav-cta {
    margin-top: 14px;
    width: 100%;
    padding: 1em;
    font-size: 1rem;
  }

}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 24px;
  }

  .step-num {
    min-width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .quote {
    padding-left: 20px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 68px;
  }

  .wrap {
    padding-inline: 18px;
  }

  .brand img {
    height: 38px;
  }

  .hero--overlay {
    min-height: 420px;
  }

  .hero--showcase .hero-media {
    /* Se mantiene la proporción del bloque de video del original.
       Antes se forzaba 4/3, que recortaba mucho más el video (16:9) y hacía
       que se viera ampliado y deformado respecto al sitio original. */
    aspect-ratio: 1060 / 644;
  }

  .hero-rule {
    width: 100%;
    height: 7px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .clientes img {
    height: 44px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .wa-float svg {
    width: 26px;
    height: 26px;
  }

  .gallery--wide {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .wa-float,
  .cta-band,
  .site-footer {
    display: none;
  }
}

/* ======================= PÁGINA: NUESTRA ESENCIA =========================
   Réplica del original: foto a sangre, franja gris con el título y bloques
   numerados en una columna centrada. Sin tarjetas ni secciones extra.
   ========================================================================= */

.esencia-hero {
  line-height: 0;
}

.esencia-hero img {
  width: 100%;
  height: clamp(230px, 36.9vw, 531px);
  object-fit: cover;
  object-position: center 35%;
}

.esencia-title {
  background: #f2f2f2;
  padding: 40px 0 30px;
}

.esencia-title-inner {
  max-width: 806px;
  margin: 0 auto;
  padding-left: 66px;
}

.esencia-kicker,
.esencia-logo {
  font-size: clamp(1.55rem, 0.9rem + 2.9vw, 3.8125rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

.esencia-kicker {
  color: var(--navy);
}

.esencia-logo {
  color: #85beff;
}

.esencia-logo strong {
  font-weight: 700;
  color: var(--navy);
}

.esencia-body {
  background: #fff;
  padding: clamp(38px, 4.2vw, 62px) 0 clamp(52px, 6vw, 92px);
}

.esencia-content {
  max-width: 806px;
  margin: 0 auto;
}

.esencia-block {
  margin-bottom: clamp(30px, 3.2vw, 46px);
}

.esencia-num {
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 18px;
}

.esencia-block p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 0.85em;
}

.esencia-block p:last-child {
  margin-bottom: 0;
}

.esencia-volver {
  margin: clamp(30px, 3.4vw, 50px) 0 0;
}

.esencia-volver a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}

.esencia-volver a:hover {
  color: #85beff;
  text-decoration: none;
}

@media (max-width: 860px) {
  .esencia-title {
    padding: 38px 0 30px;
  }

  .esencia-title-inner {
    padding-left: 0;
  }

  .esencia-hero img {
    height: clamp(190px, 46vw, 300px);
  }
}
/* ===================== FRANJA DE CLIENTES (logos) ========================
   Igual que en el original: banda gris clara con el título a la izquierda
   y los logos de las empresas en fila, centrados.
   ========================================================================= */

.clientes-band {
  background: #f2f2f2;
  padding: clamp(38px, 4.4vw, 66px) 0 clamp(44px, 5vw, 78px);
}

.clientes-titulo {
  font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 clamp(28px, 3.4vw, 46px);
  max-width: 806px;
}

.clientes-titulo strong {
  font-weight: 700;
}

.clientes-titulo span {
  color: #85beff;
}


/* En secciones oscuras, <strong> hereda el azul marino global y queda
   invisible. Acá se fuerza a blanco. */
.section--navy strong,
.highlight strong,
.cta-band strong {
  color: #fff;
}
/* Isotipo de SOMOS centrado arriba de la fila del equipo, como el original */
.team-isotipo {
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(26px, 3vw, 42px);
}

.team-isotipo img {
  width: clamp(76px, 8vw, 114px);
  height: auto;
}
/* ===================== SLIDER DE CLIENTES ================================
   Reemplaza la fila fija: el original es un carrusel con flechas y puntos.
   Muestra 4 logos por vista en escritorio y 2 en móvil.
   ========================================================================= */

.clientes-band .slider {
  --por-vista: 4;
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 26px);
}

.slider-ventana {
  overflow: hidden;
  flex: 1 1 auto;
}

.slider-pista {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.55s var(--ease);
}

.slider-item {
  flex: 0 0 calc(100% / var(--por-vista, 4));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 clamp(8px, 1.3vw, 20px);
}

.slider-item img {
  max-height: 62px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.slider-flecha {
  flex: none;
  width: clamp(38px, 6vw, 88px);
  padding: 0;
  background: none;
  border: 0;
  color: #6699cc;
  cursor: pointer;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.slider-flecha svg {
  display: block;
  width: 100%;
  height: auto;
}

.slider-flecha:hover {
  color: var(--navy);
}

.slider-prev:hover {
  transform: translateX(-4px);
}

.slider-next:hover {
  transform: translateX(4px);
}

.slider-puntos {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 32px);
}

.slider-punto {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9c4d2;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.slider-punto[aria-selected='true'] {
  background: var(--navy);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .clientes-band .slider {
    --por-vista: 2;
  }

  .slider-item img {
    max-height: 46px;
  }
}
/* ========================= PÁGINA: INICIO ================================
   Réplica de la home original (1938px): video, línea azul, franja gris con
   el titular, dos párrafos y banda azul con título, párrafo y dos botones
   apilados. Sin tarjetas, estadísticas, equipo ni clientes.
   ========================================================================= */

.inicio-media {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  aspect-ratio: 1060 / 644;
  overflow: hidden;
  background: var(--navy);
}

.inicio-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.inicio-media noscript img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inicio-rule {
  height: 10px;
  width: 86%;
  background: #6699cc;
}

/* Columna de contenido: en el original arranca en x=251 sobre 1440 */
.inicio-columna {
  max-width: 949px;
  padding-left: clamp(0px, 6.9vw, 99px);
}

.inicio-titulo {
  background: #f2f2f2;
  padding: 0 0 clamp(8px, 1vw, 14px);
}

.inicio-titulo .inicio-columna {
  background: rgba(255, 255, 255, 0.62);
  max-width: 949px;
  padding-top: clamp(14px, 1.5vw, 22px);
  padding-right: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(16px, 2vw, 28px);
}

.inicio-titulo h1 {
  font-size: clamp(1.5rem, 0.95rem + 1.55vw, 2.3125rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--navy);
  margin: 0;
  max-width: 62ch;
}

.inicio-guion {
  display: block;
  width: 68px;
  height: 3px;
  background: #6699cc;
  margin: clamp(18px, 2.2vw, 30px) auto 0 26px;
}

.inicio-intro {
  background: #fff;
  padding: clamp(18px, 2.2vw, 30px) 0 clamp(30px, 3.8vw, 58px);
}

.inicio-intro p {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 1em;
  max-width: 66ch;
}

.inicio-intro p:last-child {
  margin-bottom: 0;
}

.inicio-cierre {
  background: #0d3b66;
  padding: clamp(34px, 4.2vw, 60px) 0 clamp(44px, 5.2vw, 82px);
  text-align: left;
}

.inicio-cierre .inicio-columna {
  max-width: 949px;
  margin: 0;
  padding-left: clamp(0px, 6.9vw, 99px);
}

.inicio-cierre h2 {
  font-size: clamp(1.7rem, 0.9rem + 2.8vw, 3.125rem);
  font-weight: 700;
  line-height: 1.15;
  color: #f8f9fa;
  margin: 0 0 clamp(20px, 2.6vw, 38px);
}

.inicio-cierre p {
  font-size: 1rem;
  line-height: 1.5;
  color: #f8f9fa;
  margin: 0 auto clamp(30px, 3.8vw, 58px);
  max-width: 74ch;
}

.inicio-botones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-inicio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(308px, 100%);
  min-height: 50px;
  padding: 3px 22px;
  border-radius: 50px;
  background: #ffb266;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn-inicio:hover {
  background: var(--orange);
  color: var(--navy);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 860px) {
  .inicio-rule {
    width: 100%;
    height: 7px;
  }

  .inicio-titulo .inicio-columna {
    margin-inline: -22px;
    padding-inline: 22px 22px;
  }

  .inicio-guion {
    margin-left: 0;
  }
}

/* ==========================================================================
   TEMA "SOMOS" — alineado con Somos Neurometría (misma empresa)
   ----------------------------------------------------------------------------
   Se agregó al final para no reescribir el archivo completo: redefine los
   tokens (colores, tipografías, radios) y después ajusta los componentes.
   Todo lo que no se toca hereda los tokens nuevos.

   Paleta tomada del sitio de Somos Neurometría:
     azul de marca   #03389a
     azul profundo   #031a4a
     azul claro      #0444ba
     verde WhatsApp  #25d366 / #20bd5a
     grises          #f8fafc · #f1f5f9 · #e2e8f0 · #64748b · #0f172a
   ========================================================================== */

/* ------------------------------ tipografías ------------------------------ */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------------------------------- tokens --------------------------------- */

:root {
  --brand: #03389a;
  --brand-900: #031a4a;
  --brand-700: #0444ba;
  --green: #25d366;
  --green-700: #20bd5a;
  --green-ink: #04321c;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --panel: #f1f5f9;

  /* Se remapean los tokens viejos para que todo el sitio cambie de piel. */
  --navy: var(--brand-900);
  --navy-700: #0a2b6b;
  --navy-500: #0a3d8a;
  --blue: var(--brand);
  --blue-400: #3b6fd4;
  --blue-200: #b9cdf0;
  --blue-100: #eff6ff;
  --orange: var(--green);
  --orange-600: var(--green-700);
  --paper: var(--soft);
  --white: #ffffff;
  --border: var(--line);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --wrap: 1180px;
  --header-h: 72px;

  --font: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 20px rgba(3, 26, 74, 0.12), 0 32px 64px rgba(3, 26, 74, 0.14);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--brand-900);
}

/* -------------------------------- botones -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease), color 0.16s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.btn-primary:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--green);
  color: var(--green-ink);
}

.btn-accent:hover {
  background: var(--green-700);
  color: #fff;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--brand);
  background: var(--blue-100);
}

/* Sobre fondos azules */
.section--navy .btn-ghost,
.section--navy .btn-outline,
.hero .btn-ghost,
.hero .btn-outline,
.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.section--navy .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

/* -------------------------------- header --------------------------------- */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand img {
  height: 42px;
  width: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.primary-nav a {
  font-family: var(--font);
  font-size: 0.815rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-2);
  padding: 0.45rem 0;
  border: 0;
}

.primary-nav a:hover,
.primary-nav a[aria-current='page'] {
  color: var(--brand);
}

.primary-nav a[aria-current='page']::after {
  background: var(--brand);
}

.primary-nav .submenu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  min-width: 260px;
}

.primary-nav .submenu a {
  color: var(--ink-2);
  font-size: 0.82rem;
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
}

.primary-nav .submenu a:hover {
  background: var(--panel);
  color: var(--brand);
}

/* Enlace externo a la otra marca del grupo */
.nav-ext a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
}

.nav-ext a:hover {
  color: var(--brand) !important;
}

.nav-ext svg {
  width: 13px;
  height: 13px;
}

/* Botón de WhatsApp del encabezado */
.header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green);
  color: var(--green-ink);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.header-cta:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-1px);
}

.header-cta svg {
  width: 15px;
  height: 15px;
}

/* ------------------------------- secciones ------------------------------- */

.section {
  padding: 84px 0;
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand) 100%);
  color: #fff;
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section--navy p,
.section--navy li {
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--blue-100);
  color: var(--brand);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.section--navy .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.section--navy .eyebrow::before {
  background: var(--green);
}

.section-head {
  margin-bottom: 2.6rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.85rem;
}

.lead {
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section--navy .lead {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------- hero ---------------------------------- */

.hero--showcase {
  background: linear-gradient(165deg, var(--brand-900) 0%, var(--brand) 78%, var(--brand-700) 100%);
  padding-top: 2.4rem;
  padding-bottom: 78px;
  overflow: hidden;
}

.hero--showcase .hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #061433;
}

.hero--showcase .hero-rule {
  background: rgba(255, 255, 255, 0.16);
  height: 1px;
  margin: 2.4rem 0 2.2rem;
}

.hero--showcase .hero-copy h1 {
  color: #fff;
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
}

.hero--showcase .hero-accent {
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  margin: 0 0 1.2rem;
}

.hero--showcase .hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.72;
  max-width: 70ch;
}

.hero--showcase .hero-actions {
  margin-top: 1.9rem;
  gap: 0.75rem;
}

.hero--overlay .hero-inner h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
}

.hero--overlay .hero-media::after {
  background: linear-gradient(
    180deg,
    rgba(3, 26, 74, 0.55) 0%,
    rgba(3, 26, 74, 0.82) 55%,
    rgba(3, 26, 74, 0.95) 100%
  );
}

/* -------------------------------- tarjetas ------------------------------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-num {
  background: var(--blue-100);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 10px;
}

/* Tarjeta destacada en azul (como el "Pilar 01" de Neurometría) */
.card--link.card-destacada,
.card.destacada {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-700) 100%);
  border-color: transparent;
  color: #fff;
}

/* --------------------------- bloque destacado ---------------------------- */

.highlight {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

.highlight strong {
  color: var(--brand-900);
}

.blockquote,
.quote {
  border-left: 3px solid var(--green);
  color: var(--ink-2);
}

/* --------------------------------- equipo -------------------------------- */

.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.member-photo {
  border-radius: 0;
}

/* ------------------------------ cta band --------------------------------- */

.cta-band {
  background: linear-gradient(155deg, var(--brand-900) 0%, var(--brand) 100%);
  color: #fff;
  padding: 68px 0;
}

.cta-band h2 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

/* -------------------------------- footer --------------------------------- */

.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 40px 0 34px;
}

.footer-inner {
  gap: 1.2rem;
}

.footer-isotipo {
  filter: none;
  opacity: 0.95;
}

.footer-datos {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.footer-datos a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

/* Fila inferior con el enlace a la otra marca del grupo */
.footer-grupo {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grupo p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grupo a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-grupo a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-grupo img {
  height: 26px;
  width: auto;
  border-radius: 6px;
  background: #fff;
  padding: 2px 4px;
}

/* ------------------------------- whatsapp -------------------------------- */

.wa-float {
  background: var(--green);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
}

.wa-float:hover {
  background: var(--green-700);
}

/* ============================ COMPONENTES NUEVOS ========================== */

/* -------------------------------- videos -------------------------------- */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #061433;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  overflow: hidden;
}

.video-card__media img,
.video-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__media img {
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.video-card__media:hover img {
  transform: scale(1.035);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(3, 26, 74, 0.1) 0%, rgba(3, 26, 74, 0.55) 100%);
  transition: background-color 0.2s var(--ease);
}

.video-card__play span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.video-card__media:hover .video-card__play span {
  transform: scale(1.08);
  background: var(--green);
  color: var(--green-ink);
}

.video-card__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.video-card__body h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.video-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.video-card__tag {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--blue-100);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.video-card__tag--neuro {
  color: var(--green-ink);
  background: #d9f7e5;
}

/* ----------------------------- testimonios ------------------------------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testi-card__stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
}

.testi-card__stars svg {
  width: 15px;
  height: 15px;
}

.testi-card__quote {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.72;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--panel);
}

.testi-card__iniciales {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

.testi-card__name {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--brand-900);
  line-height: 1.3;
}

.testi-card__role {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.testi-card__tag {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
}

.testi-card__tag--empresa {
  background: var(--blue-100);
  color: var(--brand);
}

/* --------------------------- banda de conexión --------------------------- */

.band-neuro {
  background: linear-gradient(155deg, var(--brand-900) 0%, var(--brand) 100%);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.2rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  justify-content: space-between;
}

.band-neuro__copy {
  max-width: 62ch;
}

.band-neuro__logo {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
}

.band-neuro h2 {
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 0.9rem 0 0.5rem;
  font-weight: 800;
}

.band-neuro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.65;
}

.band-neuro .btn {
  flex: 0 0 auto;
}

/* ------------------------------- responsive ------------------------------ */

@media (max-width: 1023px) {
  .header-cta {
    display: none;
  }

  .nav-ext {
    border-top: 1px solid var(--line);
    margin-top: 0.4rem;
    padding-top: 0.6rem;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 58px 0;
  }

  .hero--showcase {
    padding-top: 1.2rem;
    padding-bottom: 52px;
  }

  .hero--showcase .hero-media {
    border-radius: 16px;
  }

  .hero--showcase .hero-rule {
    margin: 1.5rem 0 1.4rem;
  }

  .testi-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .band-neuro {
    padding: 1.6rem 1.4rem;
    border-radius: 18px;
  }
}

/* ------------------- ajustes finales del encabezado nuevo ----------------- */

/* El diseño anterior fijaba el ancho del encabezado en 1440px con el logo a
   79px del borde. Con el encabezado nuevo se alinea con el resto del sitio. */
.header-inner {
  max-width: var(--wrap);
  padding-inline: 24px;
  justify-content: flex-start;
  gap: clamp(1rem, 3vw, 2.75rem);
}

.header-inner .primary-nav {
  margin-left: auto;
}

.header-inner .primary-nav ul {
  justify-content: flex-end;
}

.header-cta {
  margin-left: 0.5rem;
}

@media (max-width: 1023px) {
  .header-inner {
    padding-inline: 18px;
    justify-content: space-between;
  }

  .header-inner .primary-nav {
    margin-left: 0;
  }

  .header-inner .primary-nav ul {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   INICIO — bloque azul con video y titular (estilo Somos Neurometría)
   ========================================================================== */

.home-hero {
  background: linear-gradient(165deg, var(--brand-900) 0%, var(--brand) 78%, var(--brand-700) 100%);
  padding: 2.4rem 0 4.5rem;
  color: #fff;
  overflow: hidden;
}

.home-hero__media {
  position: relative;
  margin: 0 0 2.6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #061433;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.home-hero__media video,
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.home-hero__copy h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  max-width: 24ch;
}

.home-hero__rule {
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  margin: 0 0 1.4rem;
}

.home-hero__copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.72;
  margin: 0 0 0.85rem;
  max-width: 70ch;
}

.home-hero__copy p:last-child {
  margin-bottom: 0;
}

/* Cierre */
.home-cierre {
  background: #fff;
  padding: 4.6rem 0 5rem;
}

.home-cierre h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--brand-900);
  margin: 0 0 1.15rem;
  max-width: 26ch;
}

.home-cierre p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 0 0 2.1rem;
  max-width: 72ch;
}

.home-cierre .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

/* ------------------------- menú: prioridad alta --------------------------- */

/* Las reglas viejas del menú usaban padding 8px 50px por ítem, lo que estiraba
   el encabezado mucho más que el ancho de la página. */
.header-inner .primary-nav > ul {
  gap: 1.15rem;
}

.header-inner .primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
  font-family: var(--font);
  font-size: 0.815rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  border: 0;
  text-transform: none;
  white-space: nowrap;
}

.header-inner .primary-nav > ul > li > a:hover,
.header-inner .primary-nav > ul > li > a[aria-current='page'] {
  color: var(--brand);
}

.header-inner .primary-nav .submenu a {
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  white-space: normal;
}

@media (max-width: 1023px) {
  .home-hero {
    padding-top: 1.4rem;
    padding-bottom: 3rem;
  }

  .home-hero__media {
    border-radius: 16px;
    margin-bottom: 1.8rem;
  }

  .home-cierre {
    padding: 3rem 0 3.4rem;
  }

  .header-inner .primary-nav > ul {
    gap: 2px;
  }

  .header-inner .primary-nav > ul > li > a {
    padding: 14px 12px;
    font-size: 1rem;
    color: var(--ink);
  }
}

/* ==========================================================================
   AJUSTES DE CONTRASTE Y DETALLE
   ========================================================================== */

/* Palabras resaltadas dentro de titulares sobre fondo azul: el diseño anterior
   las pintaba de azul marino y quedaban invisibles. */
.hero strong,
.home-hero strong,
.section--navy strong,
.cta-band strong,
.band-neuro strong,
.clientes-band strong {
  color: #fff;
  font-weight: 800;
}

.home-cierre strong,
.section strong {
  color: inherit;
}

/* Degradado del hero en vertical y con más paradas: la versión anterior tenía
   un salto de luminosidad a mitad de bloque que se veía como una banda. */
.hero--showcase,
.home-hero {
  background-image: radial-gradient(
      120% 85% at 12% 0%,
      rgba(4, 68, 186, 0.55) 0%,
      rgba(4, 68, 186, 0) 58%
    ),
    linear-gradient(180deg, #031a4a 0%, #062f7e 52%, #03389a 100%);
  background-color: #031a4a;
}

/* La franja de clientes pasa del gris viejo al gris del sistema nuevo */
.clientes-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clientes-titulo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--brand-900);
}

/* Botón del hero con imagen de fondo */
.hero--overlay .hero-actions .btn,
.hero--overlay .hero-actions .btn-primary,
.hero--overlay .hero-actions .btn-accent {
  background: var(--green);
  border-color: transparent;
  color: var(--green-ink);
}

.hero--overlay .hero-actions .btn:hover {
  background: var(--green-700);
  color: #fff;
}

.hero--overlay .hero-lead {
  color: rgba(255, 255, 255, 0.86);
}

/* Imágenes redondeadas en los bloques de texto e imagen */
.split-media img {
  border-radius: var(--radius);
}

/* Formulario y datos de contacto con el nuevo sistema */
.form-card {
  border-radius: var(--radius);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.field input,
.field select,
.field textarea {
  border-radius: var(--radius-sm);
  border-color: var(--line);
  font-family: var(--font);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(3, 56, 154, 0.12);
}

.slider-puntos button.is-active {
  background: var(--brand);
}

.slider-flecha {
  border-color: var(--line);
  color: var(--brand);
}

.slider-flecha:hover {
  background: var(--blue-100);
  border-color: var(--brand);
}

/* Hero: fondo más uniforme (el resplandor anterior marcaba una banda) y sombra
   del video más contenida. */
.hero--showcase,
.home-hero {
  background-image: radial-gradient(
    85% 60% at 50% 0%,
    rgba(4, 68, 186, 0.4) 0%,
    rgba(4, 68, 186, 0) 70%
  );
  background-color: #031a4a;
}

.hero--showcase .hero-media,
.home-hero__media {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES
   ========================================================================== */

.faq-lista {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.faq-item[open] {
  border-color: #c7d6ee;
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brand-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--soft);
}

.faq-num {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--blue-100);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  line-height: 1;
}

.faq-q {
  flex: 1 1 auto;
}

.faq-icono {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--panel);
  transition: background-color 0.18s var(--ease);
}

.faq-icono::before,
.faq-icono::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease), background-color 0.18s var(--ease);
}

.faq-icono::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icono {
  background: var(--brand);
}

.faq-item[open] .faq-icono::before,
.faq-item[open] .faq-icono::after {
  background: #fff;
}

.faq-item[open] .faq-icono::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  padding: 0 1.35rem 1.35rem 3.4rem;
}

.faq-a p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: 1rem 1.05rem;
    font-size: 0.96rem;
    gap: 0.65rem;
  }

  .faq-a {
    padding: 0 1.05rem 1.1rem 1.05rem;
  }
}

/* Enlace secundario del pie (preguntas frecuentes) */
.footer-grupo p a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 2px;
}

.footer-grupo p a:hover {
  text-decoration-color: #fff;
}
