/* ==========================================================================
   SAL ARAYAMAR — Hoja de estilos v1
   Concepto de layout: "La salina" — un campo blanco amplio estilo Apple, con
   las franjas horizontales del logo (piscinas de evaporación) como motivo
   estructural: separadores, revelado de imágenes y la animación de la marca.
   Texto alineado a la izquierda en bloques de contenido; encabezados de
   sección centrados. Encabezados en dos tonos (azul / tinta) como el dossier.
   ========================================================================== */

/* Rotulado "Sal" del logo: glifos S, a, l vectorizados desde el logotipo
   oficial (solo cubre esas letras; se usa únicamente para la palabra "Sal"). */
@font-face {
  font-family: "Sal Arayamar Script";
  src: url("../fonts/sal-arayamar-script.woff2") format("woff2");
  font-weight: 100 900; /* un solo peso: evita negrita sintética */
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color — marca */
  --paper: #ffffff;          /* fondo predominante */
  --mist: #f2f7fc;           /* secciones alternas, gris frío con sesgo azul */
  --ice: #e8f3fd;            /* tintes, chips */
  --line: #dce6f0;           /* bordes finos */
  --ink: #142334;            /* texto principal */
  --slate: #566779;          /* texto secundario */
  --sal: #45a2f2;            /* azul de las publicaciones (decorativo / textos grandes) */
  --sal-logo: #0ea1f5;       /* azul del isotipo */
  --sal-deep: #1670c4;       /* botones y enlaces (AA sobre blanco) */
  --sal-band: #1a73c9;       /* fondo de secciones azules */
  --mountain: #45484d;       /* montañas del logo */
  --whatsapp: #25d366;

  /* Color — líneas de producto (tomados de los empaques) */
  --linea-humano: #2d95ea;
  --linea-humano-tint: #e6f2fd;
  --linea-animal: #2f8a55;
  --linea-animal-tint: #fdeee8;
  --linea-molida: #d3262f;
  --linea-molida-tint: #fdecec;
  --linea-gruesa: #1d3fa3;
  --linea-gruesa-tint: #e9eefa;

  /* Tipografía */
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Sal Arayamar Script", "Brush Script MT", "Segoe Script", cursive;

  --fs-hero: clamp(3.25rem, 7vw + 1rem, 7.5rem);
  --fs-h1: clamp(2.5rem, 4.4vw + 1rem, 4.75rem);
  --fs-h2: clamp(2rem, 3vw + .9rem, 3.5rem);
  --fs-h3: clamp(1.375rem, 1vw + 1rem, 1.75rem);
  --fs-lead: clamp(1.125rem, .55vw + 1rem, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  /* Espaciado y forma (escala de 4/8 px, Material) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --max: 1180px;
  --max-text: 40rem;
  --r-media: 28px;
  --r-card: 22px;
  --r-field: 14px;
  --r-pill: 999px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  /* Elevación (Material 3: tonal + sombra suave con tinte azul) */
  --e1: 0 1px 2px rgba(20, 35, 52, .06), 0 1px 3px rgba(22, 112, 196, .06);
  --e2: 0 6px 18px rgba(20, 35, 52, .08), 0 2px 6px rgba(22, 112, 196, .06);
  --e3: 0 22px 48px rgba(20, 35, 52, .12), 0 8px 18px rgba(22, 112, 196, .08);

  /* Movimiento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-std: cubic-bezier(.2, 0, 0, 1);
  --dur-1: .18s; --dur-2: .32s; --dur-3: .6s; --dur-4: 1s;

  color-scheme: light;
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { /* franja del notch en móviles */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; flex: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sal-deep); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ice); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); border-radius: var(--r-field);
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + var(--s-3)); }

/* Transición entre páginas (navegadores compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-std) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.band-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band-mist { background: var(--mist); }
.band-blue {
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(69, 162, 242, .55), transparent 60%),
    var(--sal-band);
  color: #ffffff;
  overflow: hidden;
}
.band-blue::after { /* franjas del logo como textura */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.band-blue > * { position: relative; z-index: 1; }

.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.split > * { min-width: 0; }
.split-wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 899px) {
  .split, .split-wide-media { grid-template-columns: minmax(0, 1fr); }
  .split-reverse-mobile > :first-child { order: 2; }
}

/* ---------- Tipografía ---------- */
.display { font-family: var(--font-display); letter-spacing: -.01em; line-height: 1.02; text-wrap: balance; }
.heading {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: balance;
  display: flex; flex-direction: column;
}
/* Encabezado en dos tonos, sistema del dossier: categoría en azul, título en tinta */
.heading .h-kicker { color: var(--sal); font-weight: 700; }
.heading .h-title { color: var(--ink); font-weight: 500; }
.band-blue .heading .h-kicker { color: #bfe1ff; }
.band-blue .heading .h-title { color: #ffffff; }
.heading-center { text-align: center; align-items: center; }
.section-head { display: grid; gap: var(--s-5); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 52rem; }
.section-head.is-center { margin-inline: auto; text-align: center; justify-items: center; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--slate); max-width: var(--max-text); text-wrap: pretty; }
.band-blue .lead { color: rgba(255,255,255,.88); }
.prose { display: grid; gap: var(--s-4); max-width: var(--max-text); color: var(--slate); text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; color: var(--sal); }
.slogan { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); line-height: 1.2; }
.slogan .script { font-size: 1.35em; line-height: 0; vertical-align: -0.04em; margin-left: .03em; margin-right: 0; }

/* ---------- Botones (Material: área táctil ≥ 48px) ---------- */
.btn {
  --btn-bg: var(--sal-deep); --btn-fg: #ffffff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.5rem;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
.btn::before { /* capa de estado (hover/press) Material */
  content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0;
  transition: opacity var(--dur-1);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.btn:hover::before { opacity: .08; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:active::before { opacity: .14; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--sal-deep); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sal); }
.btn-light { --btn-bg: #ffffff; --btn-fg: var(--sal-band); }
.btn-wa { --btn-bg: #128c4b; --btn-fg: #ffffff; }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: .9375rem; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  background: currentColor; opacity: .22; transform: scale(0);
  animation: ripple .6s var(--ease-std) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; }
.btn-row.is-center { justify-content: center; }

/* Enlace estilo Apple con chevron */
.link-more {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 48px;
  font-weight: 600; color: var(--sal-deep);
}
.link-more svg { width: .9em; height: .9em; transition: transform var(--dur-2) var(--ease-out); }
.link-more:hover svg { transform: translateX(4px); }
.link-more span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--dur-2) var(--ease-out); }
.link-more:hover span { background-size: 100% 1.5px; }
.band-blue .link-more { color: #ffffff; }

/* ---------- Isotipo ---------- */
.mark { width: 100%; height: auto; overflow: visible; }
.mark-stripe { transform-box: fill-box; }

/* Animación de entrada de la marca (hero): franjas que se tienden como
   piscinas de evaporación y montañas que emergen del horizonte */
.mark-anim .mark-stripe {
  transform-origin: left center;
  animation: mk-stripe .9s var(--ease-out) both;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}
.mark-anim .mark-stripe:nth-child(even) { transform-origin: right center; }
.mark-anim .mark-base { animation: mk-fade .6s var(--ease-out) .75s both; }
.mark-anim .mark-mtn { transform-box: fill-box; animation: mk-rise 1.1s var(--ease-out) both; }
.mark-anim .mark-mtn-2 { animation-delay: .75s; }
.mark-anim .mark-mtn-1 { animation-delay: .88s; }
.mark-anim .mark-mtn-3 { animation-delay: 1s; }
@keyframes mk-stripe { from { transform: scaleX(0); } }
@keyframes mk-rise { from { transform: translateY(105%); } }
@keyframes mk-fade { from { opacity: 0; } }

/* ---------- Encabezado / navegación ---------- */
.progress-bar {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; z-index: 70;
  background: var(--sal); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), border-color var(--dur-2), background-color var(--dur-2);
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-110%); }
.nav-wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex: none; min-height: 48px; }
.brand .mark { width: 44px; }
.brand-word { display: inline-flex; align-items: baseline; gap: .3rem; line-height: 1; }
.brand-sal { font-family: var(--font-script); font-size: 1.45rem; color: var(--ink); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--sal-logo); letter-spacing: .01em; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: var(--s-2); }
.nav-list a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  color: var(--ink); font-size: .9375rem; font-weight: 500; border-radius: var(--r-pill);
  transition: color var(--dur-1), background-color var(--dur-1);
}
.nav-list a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--sal); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out);
}
.nav-list a:hover { color: var(--sal-deep); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--sal-deep); }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; place-items: center; color: var(--ink);
}
.nav-toggle-lines { position: relative; width: 22px; height: 14px; }
.nav-toggle-lines span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.nav-toggle-lines span:nth-child(1) { top: 0; }
.nav-toggle-lines span:nth-child(2) { top: 6px; }
.nav-toggle-lines span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  padding: calc(env(safe-area-inset-top, 0px) + 88px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 32px) var(--gutter-l);
  display: flex; flex-direction: column; gap: var(--s-6); overflow-y: auto;
}
.mobile-menu ul { list-style: none; display: grid; gap: var(--s-1); }
.mobile-menu a.mm-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  animation: mm-in .5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 60ms + 60ms);
}
.mobile-menu a.mm-link[aria-current="page"] { color: var(--sal-deep); }
.mobile-menu a.mm-link svg { width: 22px; height: 22px; color: var(--slate); }
@keyframes mm-in { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

@media (max-width: 899px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
}

/* ---------- Revelado al hacer scroll ---------- */
/* Solo se ocultan los elementos que empiezan fuera de la pantalla (JS añade .is-pending) */
[data-reveal].is-pending { opacity: 0; transform: translateY(28px); filter: blur(6px); }
[data-reveal] {
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal="scale"].is-pending { transform: scale(.94); }

/* Revelado en franjas (motivo del logo) para imágenes */
.stripes-host { position: relative; }
.stripe-veil { position: absolute; inset: 0; z-index: 2; display: grid; pointer-events: none; border-radius: inherit; overflow: hidden; }
.stripe-veil i { display: block; background: var(--veil, var(--paper)); transform-origin: right center; transition: transform .85s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.stripe-veil i:nth-child(even) { transform-origin: left center; }
.stripes-host.is-in .stripe-veil i { transform: scaleX(0); }
.stripes-host:not(.is-pending):not(.is-in) .stripe-veil { display: none; }

/* ---------- Medios ---------- */
.media { position: relative; border-radius: var(--r-media); overflow: hidden; background: var(--mist); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.media-zoom:hover img { transform: scale(1.045); }
.media-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: var(--s-7) var(--s-5) var(--s-5);
  background: linear-gradient(transparent, rgba(10, 25, 42, .72));
  color: #ffffff; font-size: var(--fs-small); font-weight: 500;
  transform: translateY(12px); opacity: .92; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-3);
}
.media-zoom:hover .media-caption { transform: none; opacity: 1; }

/* Orbes difuminados (eco de las piezas 3D azules de las publicaciones) */
.orbs {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 62%, transparent 100%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: .5;
  background: radial-gradient(circle at 35% 35%, #8fcbff, var(--sal) 60%, transparent 72%);
  animation: orb-float 14s ease-in-out infinite alternate;
}
.orb-1 { width: 340px; height: 340px; left: -120px; top: 18%; }
.orb-2 { width: 260px; height: 260px; right: -80px; top: 4%; animation-delay: -5s; opacity: .38; }
.orb-3 { width: 200px; height: 200px; right: 12%; bottom: -60px; animation-delay: -9s; opacity: .3; }
@keyframes orb-float { to { transform: translate3d(30px, -40px, 0) scale(1.08); } }

/* ==========================================================================
   INICIO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; }
.hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--s-5); }
.hero-mark { width: clamp(150px, 18vw, 220px); }
.lockup { display: flex; flex-direction: column; align-items: center; line-height: .86; margin-top: calc(var(--s-3) * -1); }
.lockup-sal { font-family: var(--font-script); font-weight: 400; color: var(--ink); font-size: calc(var(--fs-hero) * .82); align-self: flex-start; margin-left: .2em; animation: hero-up 1s var(--ease-out) 1.05s both; }
.lockup-name { font-family: var(--font-display); font-weight: 700; color: var(--sal-logo); font-size: var(--fs-hero); letter-spacing: .005em; animation: hero-up 1s var(--ease-out) 1.15s both; }
.hero .slogan { animation: hero-up 1s var(--ease-out) 1.3s both; }
.hero .lead { margin-inline: auto; animation: hero-up 1s var(--ease-out) 1.4s both; }
.hero .btn-row { animation: hero-up 1s var(--ease-out) 1.5s both; margin-top: var(--s-2); }
@keyframes hero-up { from { opacity: 0; transform: translateY(18px); } }

/* Producto en primer plano: escena fija con rotación 3D al hacer scroll */
.spotlight { position: relative; }
.spotlight-track { position: relative; }
.spotlight-stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7);
  align-items: center;
}
.spotlight-visual { position: relative; perspective: 1400px; display: grid; place-items: center; min-height: 460px; }
.spotlight-visual::before { /* halo */
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--ice), transparent 68%);
}
.spot-bag {
  position: relative; width: min(340px, 72%);
  transform: rotateY(calc((var(--p, .5) - .5) * -64deg)) rotateX(calc((var(--p, .5) - .5) * 8deg)) translateZ(0);
  transform-style: preserve-3d; filter: drop-shadow(0 34px 34px rgba(20, 50, 90, .2));
  transition: transform .1s linear;
}
.spot-bag-small {
  position: absolute; width: min(190px, 40%); right: 6%; bottom: 6%;
  opacity: 0; transform: translateX(40px) rotate(6deg) scale(.9);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
  filter: drop-shadow(0 24px 24px rgba(20, 50, 90, .2));
}
.spotlight[data-step="2"] .spot-bag-small { opacity: 1; transform: rotate(4deg); }
.spotlight .heading { margin-bottom: var(--s-4); font-size: var(--fs-h3); }
.spot-steps { display: grid; gap: var(--s-6); }
.spot-step { display: grid; gap: var(--s-3); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.spot-step h3 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 600; line-height: 1.04; text-wrap: balance; }
.spot-step p { color: var(--slate); font-size: var(--fs-lead); line-height: 1.5; max-width: 30rem; }
.spot-dots { display: flex; gap: 8px; margin-top: var(--s-2); }
.spot-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width var(--dur-2) var(--ease-out), background-color var(--dur-2); }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .spotlight.is-live .spotlight-track { height: 300vh; }
  .spotlight.is-live .spotlight-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); height: calc(100vh - 72px); min-height: 560px; }
  .spotlight.is-live .spot-steps { position: relative; min-height: 18rem; }
  .spotlight.is-live .spot-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(26px); pointer-events: none; }
  .spotlight.is-live[data-step="0"] .spot-step:nth-child(1),
  .spotlight.is-live[data-step="1"] .spot-step:nth-child(2),
  .spotlight.is-live[data-step="2"] .spot-step:nth-child(3) { opacity: 1; transform: none; pointer-events: auto; }
  .spotlight.is-live[data-step="0"] .spot-dots i:nth-child(1),
  .spotlight.is-live[data-step="1"] .spot-dots i:nth-child(2),
  .spotlight.is-live[data-step="2"] .spot-dots i:nth-child(3) { width: 28px; border-radius: 8px; background: var(--sal); }
}
@media (max-width: 899px) {
  .spotlight { padding-block: clamp(3rem, 10vw, 4.5rem) clamp(1rem, 4vw, 2rem); }
  .spotlight-stage { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .spotlight-visual { min-height: 0; }
  .spot-bag { width: min(260px, 58%); }
  .spot-bag-small { opacity: 1; transform: rotate(4deg); width: min(140px, 30%); right: 4%; }
  .spot-dots { display: none; }
}

/* Carrusel automático (cross-fade + zoom tipo Ken Burns, sin controles) */
.kenburns { position: relative; aspect-ratio: 16 / 9; max-height: 680px; width: 100%; border-radius: var(--r-media); overflow: hidden; background: var(--ink); isolation: isolate; }
.kb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-std); }
.kb-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transform-origin: var(--origin, 50% 50%); }
.kb-slide.is-active { opacity: 1; z-index: 1; }
.kb-slide.is-active img { animation: kb-zoom 7s linear both; }
.kb-slide.is-leaving { opacity: 0; z-index: 0; }
.kb-slide.is-leaving img { transform: scale(1.14); }
@keyframes kb-zoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.kb-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 45%, rgba(8, 24, 42, .66)); pointer-events: none; }
.kb-captions { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(1.25rem, 3.5vw, 3rem); display: grid; }
.kb-caption { grid-area: 1 / 1; color: #ffffff; display: grid; gap: var(--s-2); opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); align-self: end; }
.kb-caption.is-active { opacity: 1; transform: none; transition-delay: .35s; }
.kb-caption strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw + .8rem, 3rem); line-height: 1.04; text-wrap: balance; max-width: 22ch; }
.kb-caption span { font-size: var(--fs-small); color: rgba(255,255,255,.86); max-width: 44ch; }
.kb-progress { position: absolute; z-index: 3; right: clamp(1.25rem, 3.5vw, 3rem); top: clamp(1.25rem, 3vw, 2rem); display: flex; gap: 6px; }
.kb-progress i { width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.kb-progress i::after { content: ""; position: absolute; inset: 0; background: #ffffff; transform: scaleX(0); transform-origin: left; }
.kb-progress i.is-done::after { transform: scaleX(1); }
.kb-progress i.is-active::after { animation: kb-bar var(--kb-dur, 5.5s) linear forwards; }
@keyframes kb-bar { to { transform: scaleX(1); } }
@media (max-width: 699px) { .kenburns { aspect-ratio: 4 / 5; } }

/* Tarjetas que giran (flip) */
.flip-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) { .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .flip-grid { grid-template-columns: minmax(0, 1fr); } }
.flip { perspective: 1600px; min-height: 500px; }
.flip-inner {
  position: relative; height: 100%; min-height: inherit; display: grid;
  transform-style: preserve-3d; transition: transform .9s var(--ease-out);
}
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  grid-area: 1 / 1; border-radius: var(--r-card); overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.flip-front { background: var(--tint, var(--mist)); padding: var(--s-6) var(--s-6) var(--s-5); align-items: stretch; transition: box-shadow var(--dur-2); }
.flip:hover .flip-front { box-shadow: var(--e2); }
.flip-back { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--e2); transform: rotateY(180deg); }
.flip-front .flip-img { flex: 1; display: grid; place-items: center; padding-block: var(--s-4); min-height: 260px; }
.flip-front .flip-img img { max-height: 290px; width: auto; filter: drop-shadow(0 22px 22px rgba(20, 50, 90, .18)); transition: transform .8s var(--ease-out); }
.flip:hover .flip-front .flip-img img { transform: translateY(-8px) rotate(-2deg); }
.flip-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); }
.flip-meta h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.1; }
.flip-meta p { color: var(--slate); font-size: var(--fs-small); margin-top: 2px; }
.flip-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #ffffff; display: grid; place-items: center;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
.flip-btn:hover { transform: rotate(90deg); background: var(--sal-deep); }
.flip-btn svg { width: 18px; height: 18px; }
.flip-back-media { height: 112px; flex: none; position: relative; }
.flip-back-media img { width: 100%; height: 100%; object-fit: cover; }
.flip-back-body { padding: var(--s-5) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.flip-back-body h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.1; padding-right: 48px; }
.flip-back-body > p { color: var(--slate); font-size: var(--fs-small); line-height: 1.55; }
.flip-close { position: absolute; right: var(--s-3); top: calc(112px + var(--s-4)); }
.flip-close.flip-btn { background: var(--mist); color: var(--ink); }
.flip-back-body .link-more { margin-top: auto; }

.chip-line {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  padding: .3rem .75rem; border-radius: var(--r-pill); background: rgba(255,255,255,.75);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink); letter-spacing: .01em;
}
.chip-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--sal)); }

.specs { display: grid; gap: 0; font-size: var(--fs-small); border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: var(--s-3); padding-block: .5rem; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--slate); }
.specs dd { color: var(--ink); font-weight: 500; }

/* Antes / después */
.compare { position: relative; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 841 / 470; background: var(--mist); --pos: 50%; touch-action: pan-y; user-select: none; box-shadow: var(--e3); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #ffffff; z-index: 2; pointer-events: none; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }
.compare-knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: #ffffff; color: var(--sal-deep); display: grid; place-items: center; box-shadow: var(--e3);
  transition: transform var(--dur-2) var(--ease-out);
}
.compare-knob svg { width: 26px; height: 26px; }
.compare:hover .compare-knob { transform: scale(1.08); }
.compare-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-range:focus-visible ~ .compare-line .compare-knob { outline: 3px solid var(--sal); outline-offset: 4px; }
.compare-tag {
  position: absolute; top: var(--s-4); z-index: 2; pointer-events: none;
  padding: .35rem .85rem; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600;
  background: rgba(255,255,255,.88); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.compare-tag-a { left: var(--s-4); }
.compare-tag-b { right: var(--s-4); }
@media (max-width: 599px) { .compare { aspect-ratio: 4 / 3.4; } }

/* Cifras (sección azul) */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.28); }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 4vw + 1rem, 4.75rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat-label { color: rgba(255,255,255,.86); font-size: var(--fs-small); max-width: 22ch; }
@media (max-width: 899px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Marquesina de frases de marca */
.marquee { overflow: hidden; padding-block: var(--s-6); border-block: 1px solid var(--line); background: var(--paper); }
.marquee-track { display: flex; width: max-content; gap: var(--s-7); animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: var(--s-7); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.75rem); color: var(--ink); white-space: nowrap; }
.marquee-item.is-outline { color: transparent; -webkit-text-stroke: 1.2px var(--sal); }
.marquee-item .script { font-size: 1.2em; font-weight: 400; -webkit-text-stroke: 0; color: var(--sal); }
.marquee-sep { width: 10px; height: 10px; border-radius: 50%; background: var(--sal); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Mapa */
.map-figure { position: relative; }
.map-tilt { position: relative; }
.map-zoom { position: relative; transform: scale(var(--map-scale, 1)); transition: transform .2s linear; }
.map-figure img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}
.pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 4px rgba(69,162,242,.55); }
.pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #ffffff; animation: pin-pulse 2.4s var(--ease-out) infinite; }
@keyframes pin-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.pin-label { position: absolute; transform: translate(calc(-100% - 14px), -50%); padding: .25rem .6rem; border-radius: var(--r-pill); background: var(--ink); color: #ffffff; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }

/* Llamado final */
.cta-panel { text-align: center; display: grid; gap: var(--s-5); justify-items: center; }

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
.page-hero .heading { font-size: var(--fs-h1); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-media { aspect-ratio: 524 / 324; }

/* Párrafo que se ilumina palabra por palabra */
.words { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 2.6vw + .9rem, 3.1rem); line-height: 1.2; letter-spacing: -.005em; max-width: 30ch; margin-inline: auto; text-wrap: pretty; }
.words .w { color: #c3cfdb; transition: color .35s var(--ease-std); }
.words .w.is-lit { color: var(--ink); }
.words .w.is-accent.is-lit { color: var(--sal-deep); }
.words-wrap { text-align: center; }

/* Línea de tiempo */
.timeline { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); max-width: 56rem; margin-inline: auto; padding-left: 64px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--sal); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.tl-item { position: relative; display: grid; gap: var(--s-2); }
.tl-item::before {
  content: ""; position: absolute; left: -53px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .4s var(--ease-out), background-color .4s;
}
.tl-item.is-active::before { background: var(--sal); box-shadow: inset 0 0 0 5px var(--paper), 0 0 0 2px var(--sal); }
.tl-when { font-family: var(--font-display); font-weight: 700; color: var(--sal); font-size: 1.125rem; letter-spacing: .02em; }
.tl-item h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; }
.tl-item p { color: var(--slate); max-width: 44rem; }

/* Misión / visión */
.identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.identity-card {
  position: relative; display: grid; gap: var(--s-4); align-content: start;
  padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: var(--r-card);
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  transition: transform .6s var(--ease-out), background-color .4s;
}
.identity-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.16); }
.identity-card h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1; }
.identity-card p { color: rgba(255,255,255,.9); font-size: 1.0625rem; line-height: 1.65; }
.identity-card::after { /* franjas del logo que crecen al pasar el cursor */
  content: ""; position: absolute; right: 24px; top: 28px; width: 56px; height: 34px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.55) 0 3px, transparent 3px 8px);
  transform-origin: right; transform: scaleX(.45); transition: transform .6s var(--ease-out);
}
.identity-card:hover::after { transform: scaleX(1); }
@media (max-width: 799px) { .identity-grid { grid-template-columns: minmax(0, 1fr); } }

/* Objetivos (columna fija + lista que se enfoca) */
.goals { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.goals-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: var(--s-6); }
.goals-aside .media { aspect-ratio: 574 / 250; }
.goal-list { list-style: none; display: grid; }
.goal {
  display: grid; gap: var(--s-2); padding-block: var(--s-6); border-top: 1px solid var(--line);
  opacity: .38; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.goal:last-child { border-bottom: 1px solid var(--line); }
.goal.is-current { opacity: 1; }
.goal h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; }
.goal p { color: var(--slate); }
@media (max-width: 899px) {
  .goals { grid-template-columns: minmax(0, 1fr); }
  .goals-aside { position: static; }
  .goal { opacity: 1; }
}

/* Galería de equipo */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); }
.team-grid .media { aspect-ratio: 406 / 321; }
@media (max-width: 699px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Catálogo ---------- */
.lineup { position: relative; height: clamp(260px, 32vw, 400px); margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; justify-content: center; align-items: flex-end; }
.lineup-item { position: relative; margin-inline: -1.2%; transition: transform .7s var(--ease-out), filter .7s; filter: drop-shadow(0 24px 22px rgba(20, 50, 90, .16)); }
.lineup-item img { height: auto; }
.lineup-item:nth-child(1) { width: 11%; z-index: 1; }
.lineup-item:nth-child(2) { width: 17%; z-index: 3; }
.lineup-item:nth-child(3) { width: 19%; z-index: 4; }
.lineup-item:nth-child(4) { width: 19%; z-index: 3; }
.lineup-item:nth-child(5) { width: 19%; z-index: 2; }
.lineup:hover .lineup-item { filter: drop-shadow(0 24px 22px rgba(20, 50, 90, .1)) saturate(.7) opacity(.75); }
.lineup .lineup-item:hover { transform: translateY(-18px) scale(1.04); filter: drop-shadow(0 34px 28px rgba(20, 50, 90, .22)); z-index: 6; }
.lineup-tip {
  position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); padding: .3rem .7rem; border-radius: var(--r-pill);
  background: var(--ink); color: #ffffff; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out); pointer-events: none;
}
.lineup-item:hover .lineup-tip { opacity: 1; transform: translate(-50%, calc(-100% - 6px)); }
@media (max-width: 639px) { .lineup-tip { display: none; } .lineup { height: 210px; } }

.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 1rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 500; font-size: .9375rem; cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--ice); border-color: transparent; color: var(--sal-deep); }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip-check { display: none; }
.chip[aria-pressed="true"] .chip-check { display: block; }
.chip-count { font-variant-numeric: tabular-nums; color: var(--slate); font-size: var(--fs-xs); }
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); }
.product-grid .flip { flex: 0 1 calc((100% - 2 * var(--s-5)) / 3); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
@media (max-width: 999px) { .product-grid .flip { flex-basis: calc((100% - var(--s-5)) / 2); } }
@media (max-width: 639px) { .product-grid .flip { flex-basis: 100%; } }
.product-grid .flip.is-leaving { opacity: 0; transform: scale(.96); }
.product-grid .flip.is-entering { opacity: 0; transform: translateY(16px); }

.table-scroll { overflow-x: auto; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--fs-small); }
.compare-table caption { text-align: left; padding: var(--s-5) var(--s-5) 0; color: var(--slate); }
.compare-table th, .compare-table td { text-align: left; padding: 1rem var(--s-5); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-weight: 600; color: var(--slate); font-size: var(--fs-xs); letter-spacing: .03em; }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table tbody tr { transition: background-color var(--dur-1); }
.compare-table tbody tr:hover { background: var(--mist); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); margin-right: .45rem; vertical-align: .05em; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; display: grid; gap: var(--s-3); }
.contact-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-4); align-items: start;
  padding: var(--s-5); border-radius: var(--r-card); background: var(--mist);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s;
}
.contact-item:hover { transform: translateY(-3px); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--e2); }
.contact-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--sal-deep); box-shadow: var(--e1); transition: transform .5s var(--ease-out); }
.contact-item:hover .contact-icon { transform: rotate(-8deg) scale(1.06); }
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: var(--fs-small); font-weight: 600; color: var(--slate); }
.contact-item .value { font-size: 1.0625rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-item .value a { color: inherit; }
.contact-item .value a:hover { color: var(--sal-deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.mini-btn {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .8rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--paper); color: var(--sal-deep); font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1);
}
.mini-btn:hover { border-color: var(--sal); background: var(--ice); }
.mini-btn svg { width: 14px; height: 14px; }
.mini-btn.is-done { color: #127a43; border-color: #9fdcb9; background: #ecf9f1; }

.form-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--r-card); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--e3); }
.form-card h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); }
.form-card > p { color: var(--slate); font-size: var(--fs-small); margin-top: var(--s-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
/* Campo con borde y etiqueta flotante (Material 3, outlined) */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 1.45rem 1rem .5rem; border-radius: var(--r-field);
  border: 1px solid #b9c7d6; background: var(--paper); color: var(--ink); font-size: 1rem;
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 2.75rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field label {
  position: absolute; left: 1rem; top: 1.05rem; color: var(--slate); font-size: 1rem; pointer-events: none;
  transform-origin: left top; transition: transform var(--dur-2) var(--ease-std), color var(--dur-1);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sal-deep); box-shadow: 0 0 0 1px var(--sal-deep); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-.62rem) scale(.78); }
.field input:focus + label, .field textarea:focus + label, .field select:focus + label { color: var(--sal-deep); }
.field .help { display: block; font-size: var(--fs-xs); color: var(--slate); margin: .35rem 0 0 1rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.field.has-error label, .field.has-error .help { color: #b3261e; }
.form-foot { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; margin-top: var(--s-5); }
.form-foot small { color: var(--slate); font-size: var(--fs-xs); max-width: 32ch; }
.form-result { margin-top: var(--s-5); padding: var(--s-5); border-radius: var(--r-field); background: var(--mist); display: grid; gap: var(--s-3); animation: hero-up .5s var(--ease-out) both; }
.form-result pre { margin: 0; white-space: pre-wrap; font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink); background: var(--paper); padding: var(--s-4); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }

.location-card { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--ice); padding: clamp(2rem, 5vw, 4rem); display: grid; gap: var(--s-4); align-content: center; min-height: 320px; }
.location-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(69,162,242,.16) 0 9px, transparent 9px 22px); -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 85%); mask-image: linear-gradient(115deg, transparent 35%, #000 85%); }
.location-card > * { position: relative; }
.location-card address { font-style: normal; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); max-width: 30ch; }

.faq { display: grid; max-width: 52rem; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 72px; padding-block: var(--s-4); font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; transition: transform .4s var(--ease-out), background-color .3s; }
.faq summary .faq-icon svg { width: 16px; height: 16px; }
.faq summary:hover .faq-icon { background: var(--ice); }
.faq details[open] summary .faq-icon { transform: rotate(45deg); background: var(--ice); color: var(--sal-deep); }
.faq .faq-body { padding-bottom: var(--s-5); color: var(--slate); max-width: 44rem; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

.jobs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-7); align-items: center; }
.jobs ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.jobs li { padding: .45rem 1rem; border-radius: var(--r-pill); background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); font-weight: 600; }
.jobs-box { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-card); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.jobs-box h3 { font-size: var(--fs-small); font-weight: 600; color: rgba(255,255,255,.8); }
.jobs-box .value { font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
@media (max-width: 899px) { .jobs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--mist); padding-block: clamp(3.5rem, 6vw, 5rem) calc(var(--s-6) + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); color: var(--slate); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-7); }
.footer-brand { display: grid; gap: var(--s-4); align-content: start; }
.footer-brand .brand .mark { width: 56px; }
.footer-brand .slogan { font-size: 1.375rem; color: var(--ink); }
.footer-col h2 { font-size: var(--fs-small); font-weight: 600; color: var(--ink); margin-bottom: var(--s-3); }
.footer-col ul { list-style: none; display: grid; gap: var(--s-1); }
.footer-col a { color: var(--slate); display: inline-flex; min-height: 32px; align-items: center; transition: color var(--dur-1); }
.footer-col a:hover { color: var(--sal-deep); }
.footer-col address { font-style: normal; line-height: 1.6; }
.social { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); box-shadow: var(--e1);
  transition: transform .4s var(--ease-out), background-color .3s, color .3s;
}
.social a:hover { transform: translateY(-4px); background: var(--sal-deep); color: #ffffff; }
.social a.is-wa:hover { background: #128c4b; }
.social svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: var(--fs-xs); }
@media (max-width: 899px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 519px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-fab {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0; border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); box-shadow: var(--e3);
  transition: gap .45s var(--ease-out), padding .45s var(--ease-out), transform .3s var(--ease-out);
  animation: fab-in .8s var(--ease-out) 1.8s both;
}
.wa-fab-icon { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #ffffff; display: grid; place-items: center; flex: none; }
.wa-fab-icon svg { width: 30px; height: 30px; }
.wa-fab-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-pulse 2.6s var(--ease-out) 3s infinite; }
.wa-fab-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .9375rem; transition: max-width .45s var(--ease-out); }
.wa-fab:hover, .wa-fab:focus-visible { gap: .75rem; padding-right: 1.25rem; }
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label { max-width: 14rem; }
.wa-fab:active { transform: scale(.97); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
@keyframes fab-in { from { opacity: 0; transform: translateY(24px) scale(.8); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; filter: none; }
  .stripe-veil { display: none; }
  .marquee-track { animation: none; }
  .words .w { color: var(--ink); }
  .kb-slide.is-active img { animation: none; }
}
