/* =========================================================================
   SOLISEL — hoja de estilos principal
   Móvil primero. Párrafos de 17 px en móvil (requisito), 18 px desde 1024 px.
   Elemento distintivo: el hexágono del lente del logo (foto principal e íconos).
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --navy: #000C24;        /* azul oscuro */
  --navy-2: #0A1B3D;      /* superficie elevada sobre azul oscuro */
  --navy-3: #13284F;      /* bordes sobre azul oscuro */
  --cyan: #42B9DC;        /* azul claro: botones, íconos, texto sobre oscuro */
  --cyan-ink: #11708F;    /* azul claro para texto sobre blanco (contraste 5.6:1) */
  --lila: #C2AED2;        /* morado */
  --lila-ink: #6B5785;

  /* Neutros */
  --paper: #FFFFFF;
  --mist: #F2F6FA;
  --line: #DCE4EE;
  --text: #36425A;
  --text-soft: #5A6680;
  --on-dark: #E8EEF7;
  --on-dark-soft: #A9B6CC;

  --wa: #25D366;
  --danger: #B42318;

  /* Tipografía */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-h1: clamp(2.05rem, 1.35rem + 3vw, 3.45rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.45rem);
  --fs-h3: 1.15rem;

  /* Espaciado y forma */
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1240px;
  --sec-y: clamp(64px, 6vw + 24px, 112px);
  --r: 14px;
  --r-sm: 10px;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --header-h: 68px;
}

@media (min-width: 1024px) {
  :root { --fs-body: 18px; --fs-small: 15.5px; --header-h: 80px; }
}

/* ---------- 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: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 64px; /* espacio para la barra de contacto en móvil */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 650; }
.skip:focus { top: 12px; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em;
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--lg { min-height: 54px; padding: .8em 1.5em; }
.btn--sm { min-height: 42px; padding: .5em .95em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: var(--navy); }
.btn--wa:hover { background: #1FBE5B; color: var(--navy); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-3); color: #fff; }
.btn--light { background: var(--cyan); color: var(--navy); }
.btn--light:hover { background: #6BCBE7; color: var(--navy); }
.btn--ghost-light { border-color: rgba(232, 238, 247, .35); color: var(--on-dark); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cyan); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-3);
}
.site-header__bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 30px; }
@media (min-width: 1024px) { .brand img { height: 38px; } }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header__phone { display: none; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.site-header__phone:hover { color: var(--cyan); }
.site-header__phone .icon { color: var(--cyan); }
.site-header__actions .btn--wa span { display: none; }
@media (min-width: 420px) { .site-header__actions .btn--wa span { display: inline; } }

.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--navy-3); border-radius: var(--r-sm);
  color: var(--on-dark); cursor: pointer;
}
.menu-btn .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.menu-btn__close { display: none; }
.menu-open .menu-btn__open { display: none; }
.menu-open .menu-btn__close { display: block; }

/* Menú móvil (panel) */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--navy); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 32px;
  display: none;
}
.menu-open .nav { display: block; }
.menu-open { overflow: hidden; }
.nav__list { display: flex; flex-direction: column; }
.nav__item { border-bottom: 1px solid var(--navy-3); }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; background: none; border: 0;
  color: var(--on-dark); font: inherit; font-size: 1.1rem; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--cyan); }
.nav__chev { transition: transform .2s; color: var(--on-dark-soft); }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub { display: none; padding: 0 0 12px; }
.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
.nav__grid { display: grid; gap: 4px; }
.nav__card {
  display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--on-dark);
}
.nav__card:hover, .nav__card.is-current { background: var(--navy-2); color: #fff; }
.nav__txt { display: flex; flex-direction: column; line-height: 1.3; }
.nav__txt strong { font-weight: 600; font-size: 1rem; }
.nav__txt small { color: var(--on-dark-soft); font-size: .85rem; }
.nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }

@media (min-width: 1024px) {
  .site-header__phone { display: inline-flex; }
  .menu-btn, .nav__item--mobile, .nav__mobile-cta { display: none; }
  .nav { position: static; display: block; background: none; padding: 0; overflow: visible; margin-left: 28px; }
  .menu-open { overflow: auto; }
  .nav__list { flex-direction: row; gap: 4px; }
  .nav__item { border: 0; position: relative; }
  .nav__link { padding: 10px 12px; font-size: .95rem; gap: 6px; border-radius: 8px; }
  .nav__link:hover { background: var(--navy-2); }
  .nav__chev { width: 16px; height: 16px; }
  .nav__sub {
    position: absolute; top: calc(100% + 14px); left: -12px; width: 380px;
    background: var(--navy); border: 1px solid var(--navy-3); border-radius: var(--r);
    padding: 10px; box-shadow: 0 24px 48px rgba(0, 6, 20, .45);
  }
  .nav__sub::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { display: block; }
}
@media (min-width: 1180px) { .nav { margin-left: 40px; } .nav__link { padding: 10px 14px; } }

/* ---------- Hexágono (firma visual) ---------- */
.hex-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 58px;
  clip-path: var(--hex);
  background: color-mix(in srgb, var(--cyan) 16%, #fff);
  color: var(--cyan-ink);
}
.hex-badge .icon { width: 24px; height: 24px; }
.hex-badge--sm { width: 40px; height: 44px; background: var(--navy-2); color: var(--cyan); }
.hex-badge--sm .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--on-dark);
  padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 6vw, 96px);
}
.hero__glow {
  position: absolute; z-index: -1; inset: auto -20% -40% auto; width: 80vmax; height: 80vmax;
  background:
    radial-gradient(closest-side, rgba(66, 185, 220, .16), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(194, 174, 210, .14), transparent 70%);
  pointer-events: none;
}
.hero h1 { color: #fff; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__lead { font-size: 1.08em; color: var(--on-dark); max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero__ctas .btn { flex: 1 1 240px; }
@media (min-width: 640px) { .hero__ctas .btn { flex: 0 0 auto; } }
.hero__ctas--center { justify-content: center; }
.hero__points { display: grid; gap: 10px; margin-top: 28px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-soft); line-height: 1.5; }
.hero__points .icon { color: var(--cyan); margin-top: .1em; }
.hero--center { text-align: center; }
.hero--center .hero__lead, .hero--center p { margin-inline: auto; }

/* La foto principal dentro del hexágono del lente: anillo azul claro → morado. */
.hero__media {
  position: relative; width: min(100%, 340px); margin-inline: auto;
  aspect-ratio: 0.88; padding: 7px;
  clip-path: var(--hex);
  background: linear-gradient(150deg, var(--cyan) 0%, var(--lila) 55%, var(--navy-3) 100%);
}
.hero__media::before {
  content: ""; position: absolute; inset: 7px; clip-path: var(--hex); background: var(--navy);
}
.hero__media > * {
  position: absolute; inset: 13px; width: calc(100% - 26px); height: calc(100% - 26px);
  clip-path: var(--hex); object-fit: cover; aspect-ratio: auto !important;
}
.hero--inner .hero__media { width: min(100%, 320px); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; }
  .hero__media { width: 100%; max-width: 480px; margin-right: 0; }
  .hero--inner .hero__media { max-width: 420px; }
}

/* Migas de pan */
.crumbs { margin-bottom: clamp(16px, 2vw, 28px); font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { color: var(--on-dark-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--navy-3); }
.crumbs a { color: var(--on-dark-soft); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); text-decoration: underline; }

/* ---------- Secciones ---------- */
.section { padding: var(--sec-y) 0; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.theme-light { background: var(--paper); }
.theme-soft { background: var(--mist); }
.theme-dark { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.theme-dark h2, .theme-dark h3 { color: #fff; }
.theme-dark a:not(.btn) { color: var(--cyan); }

.eyebrow { margin: 0 0 12px; font-size: var(--fs-body); font-weight: 650; color: var(--cyan-ink); letter-spacing: 0; }
.eyebrow--light, .theme-dark .eyebrow { color: var(--cyan); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head__body { color: var(--text-soft); }
.section-head__body p:last-child { margin-bottom: 0; }
.section__cta { margin: clamp(32px, 4vw, 48px) 0 0; text-align: center; max-width: none; }
.section__cta--left { text-align: left; }

/* ---------- Cifras ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats__item {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.stats__item:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.stats__item:nth-child(even) { padding-left: 14px; }
.stats__item:nth-last-child(-n + 2) { border-bottom: 0; }
.stats__icon { width: 26px; height: 26px; color: var(--cyan-ink); margin-bottom: 6px; }
.stats__item { grid-template-columns: 1fr; }
@media (min-width: 900px) { .stats__item { grid-template-columns: auto 1fr; } .stats__icon { grid-row: span 2; margin: 0; } }
.stats__value { font-weight: 750; color: var(--navy); line-height: 1.25; font-size: 1rem; }
.stats__label { font-size: .88rem; line-height: 1.35; color: var(--text-soft); }
@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats__item, .stats__item:nth-child(odd), .stats__item:nth-child(even) { padding: 28px 24px; border-bottom: 0; border-right: 1px solid var(--line); }
  .stats__item:first-child { padding-left: 0; }
  .stats__item:last-child { border-right: 0; }
  .stats__value { font-size: 1.1rem; }
}

/* ---------- Tarjetas (servicios, soluciones, tipos) ----------
   Rejilla con líneas divisorias, sin sombras: se lee como un catálogo técnico. */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.card__title { margin: 6px 0 0; font-size: 1.2rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.card__text { margin: 0; color: var(--text-soft); }
.card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; font-weight: 650; font-size: var(--fs-small); color: var(--cyan-ink); }
.card__chev { width: 1em; height: 1em; transform: rotate(-90deg); }
.card--link:hover .card__title { color: var(--cyan-ink); }
.card--link:hover .hex-badge { background: var(--cyan); color: var(--navy); }
.card--link:focus-within { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: var(--r-sm); }
.card--link .card__title a:focus-visible { outline: none; }

@media (min-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; }
  .card { padding: 32px 0 36px; }
}
/* En fondo gris, las soluciones se presentan como fichas blancas. */
.theme-soft .cards { border-top: 0; gap: 16px; }
.theme-soft .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.theme-soft .card--link:hover { border-color: var(--cyan); }
@media (min-width: 640px) { .theme-soft .cards { column-gap: 16px; } }
@media (min-width: 1024px) { .theme-soft .cards { gap: 20px; } .theme-soft .card { padding: 30px 28px; } }

/* ---------- Pasos (secuencia real) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 28px 64px; }
.step::before { /* línea que une los pasos */
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 4px; width: 2px; background: var(--line);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute; left: 0; top: 0; width: 44px; height: 50px; display: grid; place-items: center;
  clip-path: var(--hex); background: var(--navy); color: var(--cyan); font-weight: 750; font-size: .95rem; font-variant-numeric: tabular-nums;
}
.step__title { margin: 10px 0 6px; font-size: 1.15rem; }
.step__text { margin: 0; color: var(--text-soft); }
@media (min-width: 900px) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; }
  .step { padding: 70px 0 0; }
  .step::before { left: 52px; right: -28px; top: 24px; bottom: auto; width: auto; height: 2px; }
  .step__num { top: 0; }
  .steps--6 .step__title { font-size: 1.05rem; }
}

/* ---------- Texto + imagen ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__copy > p:not(.eyebrow) { color: var(--text-soft); }
.theme-dark .split__copy > p:not(.eyebrow) { color: var(--on-dark-soft); }
.split__media .media, .split__media .img-slot { border-radius: var(--r); width: 100%; object-fit: cover; }
.feature-list { display: grid; gap: 16px; margin-top: 24px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.feature-list__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 40px; clip-path: var(--hex);
  background: color-mix(in srgb, var(--cyan) 16%, #fff); color: var(--cyan-ink);
}
.feature-list__icon .icon { width: 19px; height: 19px; }
.feature-list strong { color: var(--navy); }
.theme-dark .feature-list li { color: var(--on-dark-soft); }
.theme-dark .feature-list strong { color: #fff; }
.theme-dark .feature-list__icon { background: var(--navy-2); color: var(--cyan); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); }
  .split--reverse .split__media { order: -1; }
}

/* ---------- Texto largo (precio, guías) ---------- */
.prose-wrap { display: grid; gap: 32px; }
.prose p:not(.eyebrow) { color: var(--text-soft); }
.factor-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.factor-list li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.factor-list__icon { color: var(--cyan-ink); display: grid; }
.factor-list__icon .icon { width: 24px; height: 24px; }
.factor-list strong { color: var(--navy); }
@media (min-width: 900px) {
  .prose-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 88px); align-items: start; }
  .prose-wrap .section__cta { grid-column: 1; margin-top: 0; }
  .factor-list { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Clientes y marcas ---------- */
/* Carrusel continuo de logos: gris por defecto, color original al pasar el mouse. */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee calc(var(--count, 20) * 3.2s) linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  flex: none; display: grid; place-items: center;
  width: 150px; height: 96px; padding: 0 18px;
}
.marquee__item img {
  max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .65;
  transition: filter .25s ease, opacity .25s ease;
}
.marquee__item:hover img { filter: none; opacity: 1; }
.logos__name { font-weight: 650; color: var(--text-soft); text-align: center; font-size: .95rem; line-height: 1.3; }
.marquee__controls { display: flex; justify-content: center; margin-top: 16px; }
.marquee__pause {
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--cyan-ink);
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer;
}
.marquee__pause:hover { border-color: var(--cyan); }
@media (min-width: 768px) { .marquee__item { width: 190px; height: 112px; padding: 0 26px; } .marquee__item img { max-height: 68px; } }
@media (min-width: 1440px) { .marquee__item { width: 220px; } }

/* En celulares o tabletas no hay "pasar el mouse": al tocar un logo se ve a color. */
@media (hover: none) { .marquee__item:active img { filter: none; opacity: 1; } }

/* Si el visitante pidió reducir el movimiento: logos quietos, en rejilla. */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; padding: 0 var(--gutter); }
  .marquee__item[aria-hidden="true"], .marquee__controls { display: none; }
}

.brands .section-head { margin-bottom: 24px; }
.brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.brands__list li {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 700; color: var(--navy); letter-spacing: -0.01em;
}

/* ---------- Preguntas frecuentes ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 650; color: var(--navy); font-size: 1.04em; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: 1; }
.faq__chev { width: 22px; height: 22px; color: var(--cyan-ink); transition: transform .2s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 0 22px; color: var(--text-soft); }
.faq__a p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

.checklist { display: grid; gap: 10px; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 22px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 9px; clip-path: var(--hex); background: var(--cyan); }

/* ---------- Banda de cotización ---------- */
.cta-band__grid { display: grid; gap: 40px; align-items: start; }
.cta-band__copy > p:not(.eyebrow) { color: var(--on-dark-soft); }
.cta-band__contact { display: grid; gap: 4px; margin-top: 28px; }
.cta-band__contact a, .cta-band__static {
  display: flex; gap: 14px; align-items: center; padding: 12px 0; text-decoration: none;
  color: var(--on-dark-soft); border-bottom: 1px solid var(--navy-3); font-size: var(--fs-small); line-height: 1.4;
}
.cta-band__contact a:hover strong { color: var(--cyan); }
.cta-band__contact strong { display: block; color: #fff; font-size: 1rem; }
.cta-band__contact .icon { width: 24px; height: 24px; color: var(--cyan); }
.theme-dark .cta-band__contact a { color: var(--on-dark-soft); }
@media (min-width: 1024px) { .cta-band__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; } }

/* ---------- Formulario ---------- */
.lead-form { background: var(--paper); color: var(--text); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.lead-form__title { font-size: 1.35rem; color: var(--navy) !important; margin-bottom: 4px; }
.lead-form__sub { color: var(--text-soft); margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.optional { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--navy);
  background: var(--paper); border: 1.5px solid #C6D1DF; border-radius: var(--r-sm);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 35%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; color: var(--danger); font-size: .9rem; font-weight: 600; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--navy); }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--text-soft); line-height: 1.5; }
.field--check .field__error { grid-column: 1 / -1; }
.form-alert { padding: 12px 14px; border-radius: var(--r-sm); background: #FEF3F2; color: var(--danger); font-weight: 600; font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__alt { margin: 14px 0 0; text-align: center; color: var(--text-soft); }
.theme-dark .lead-form a:not(.btn) { color: var(--cyan-ink); }
.lead-form .lead-form__alt a { font-weight: 650; }

/* ---------- Espacio de imagen pendiente ---------- */
.media { width: 100%; height: auto; }
.media--empty { background: var(--mist); border-radius: var(--r); }
.img-slot {
  display: grid; place-items: center; width: 100%; padding: 20px;
  background: repeating-linear-gradient(135deg, #EEF3F8 0 12px, #E6EDF5 12px 24px);
  border: 2px dashed #9FB3CB; border-radius: var(--r); color: var(--navy); text-align: center;
}
.img-slot__in { display: grid; gap: 6px; max-width: 34ch; font-size: .9rem; line-height: 1.4; }
.img-slot__in strong { font-size: 1rem; }
.img-slot__in code { font-size: .8rem; background: #fff; padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.img-slot__in small { color: var(--text-soft); }
.hero .img-slot { border: 0; border-radius: 0; background: repeating-linear-gradient(135deg, #10244A 0 12px, #0C1E40 12px 24px); color: var(--on-dark); padding: 18% 14%; }
.hero .img-slot code { background: var(--navy); color: var(--cyan); }
.hero .img-slot small { color: var(--on-dark-soft); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-soft); padding: clamp(56px, 6vw, 88px) 0 24px; border-top: 1px solid var(--navy-3); }
.site-footer__grid { display: grid; gap: 40px; }
.site-footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 42ch; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.site-footer__contact .icon { color: var(--cyan); margin-top: .15em; }
.site-footer__contact small { color: #7F8DA8; }
.social { display: flex !important; gap: 10px !important; margin-top: 18px; }
.social a { display: inline-block; padding: 6px 14px; border: 1px solid var(--navy-3); border-radius: 999px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--navy-3); }
.site-footer__legal p { margin: 0; max-width: none; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; } }

/* ---------- Contacto rápido ---------- */
.contact-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr;
  background: var(--navy); border-top: 1px solid var(--navy-3);
  padding-bottom: env(safe-area-inset-bottom);
}
.contact-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; text-decoration: none; }
.contact-bar__wa { background: var(--wa); color: var(--navy); }
.contact-bar__call { color: #fff; }
.contact-bar .icon { width: 22px; height: 22px; }
.wa-float { display: none; }
@media (min-width: 1024px) {
  .contact-bar { display: none; }
  .wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 40;
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px;
    background: var(--wa); color: var(--navy); border-radius: 999px; font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 12, 36, .25);
  }
  .wa-float .icon { width: 26px; height: 26px; }
  .wa-float:hover { color: var(--navy); background: #1FBE5B; }
}

/* ---------- 404 ---------- */
.link-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.link-list a { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; color: var(--navy); }
.link-list a:hover { border-color: var(--cyan); }
.link-list .icon { color: var(--cyan-ink); }

/* Pantallas muy grandes */
@media (min-width: 1600px) { :root { --maxw: 1320px; } }

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

@media print {
  .site-header, .contact-bar, .wa-float, .cta-band__form { display: none !important; }
  body { padding: 0; }
}
