/* ============================================================================
   OCACENTRO — styles.css
   Hoja de estilos principal: sistema de diseño (tokens), layout y componentes.
   Autoría: equipo UI/UX + Front-End Senior. Sin frameworks. CSS3 puro.
   Organización:
     1.  Design Tokens (Custom Properties)
     2.  Reset y base
     3.  Utilidades
     4.  Tipografía y estructura de sección
     5.  Botones
     6.  Navbar
     7.  Hero
     8.  Marquesina de marcas
     9.  Tarjetas de servicios
     10. Split (Por qué elegirnos / Cobertura)
     11. Proceso (steps)
     12. Estadísticas
     13. Chips / Mapa
     14. Grid de marcas
     15. Testimonios (carrusel)
     16. Galería
     17. FAQ (acordeón)
     18. Contacto y formulario
     19. Footer
     20. Botones flotantes / Scroll progress
   ========================================================================== */

/* ============================= 1. DESIGN TOKENS ============================ */
:root {
  /* Paleta AZUL MONOCROMÁTICA — marca azul + azul fuerte para acción.
     El verde queda reservado EXCLUSIVAMENTE a WhatsApp (reconocimiento de marca). */
  --c-navy:      #0E1726;   /* tinta / texto principal y secciones oscuras */
  --c-navy-800:  #0A111F;   /* fondos oscuros profundos */
  --c-blue:      #2D6BFF;   /* azul de marca */
  --c-blue-600:  #1B54E8;   /* azul fuerte (acción / hover) */
  --c-blue-050:  #EAF1FF;   /* tinte azul para fondos suaves */
  --c-green:     #22C15E;   /* WhatsApp (único uso del verde) */
  --c-green-600: #12A34C;
  --c-white:     #FFFFFF;
  --c-mist:      #F5F8FC;   /* fondo sección alterna */
  --c-line:      #E5EAF1;   /* bordes sutiles */
  --c-muted:     #5A6A80;   /* texto secundario */
  --c-text:      #0E1726;

  /* Tipografía */
  --font-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala tipográfica fluida */
  --fs-h1: clamp(2.3rem, 6vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 4vw, 3rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-lead: clamp(1.02rem, 1.4vw, 1.2rem);

  /* Espaciado */
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --gap: clamp(1rem, 2.4vw, 2rem);

  /* Radios */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Sombras suaves multicapa (estilo Stripe) */
  --shadow-xs: 0 1px 2px rgba(10,37,64,.06);
  --shadow-sm: 0 4px 12px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04);
  --shadow:    0 10px 30px rgba(10,37,64,.08), 0 3px 8px rgba(10,37,64,.05);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.14), 0 8px 20px rgba(10,37,64,.08);
  --shadow-blue:  0 12px 28px rgba(45,107,255,.34);
  --shadow-green: 0 12px 28px rgba(34,193,94,.32);

  /* Gradientes */
  --grad-blue: linear-gradient(135deg, #2D6BFF 0%, #1B54E8 100%);
  --grad-wa:   linear-gradient(135deg, #22C15E 0%, #12A34C 100%);
  --grad-hero: radial-gradient(120% 120% at 80% -10%, #17253F 0%, #0E1726 48%, #0A111F 100%);

  /* Layout */
  --nav-h: 74px;
  --maxw: 1240px;

  /* Movimiento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ============================= 2. RESET Y BASE ============================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Foco visible y accesible en toda la interfaz */
:focus-visible {
  outline: 3px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Selección de texto */
::selection { background: rgba(37,99,235,.18); color: var(--c-navy); }

/* ============================= 3. UTILIDADES ============================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.25rem); }
.container--narrow { max-width: 820px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Enlace de salto (accesibilidad) */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 2000;
  background: var(--c-navy); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius-sm); transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

.grad-text {
  background: linear-gradient(100deg, #58c1ff 0%, #10B981 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ================== 4. TIPOGRAFÍA Y ESTRUCTURA DE SECCIÓN ================== */
.section { padding-block: var(--space-section); position: relative; }
.section--mist { background: var(--c-mist); }

.section__head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 4rem); text-align: center; }
.section__title {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h2);
  line-height: 1.08; letter-spacing: -.02em; color: var(--c-navy);
}
.section__title--light { color: #fff; }
.section__lead { margin-top: 1rem; font-size: var(--fs-lead); color: var(--c-muted); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: .9rem;
}
.eyebrow--light { color: #7fb4ff; }

/* ============================= 5. BOTONES ================================== */
.btn {
  --btn-bg: var(--c-blue); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; padding: .85rem 1.5rem; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform; overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn--xl svg, .btn--lg svg { width: 24px; height: 24px; }

/* CTA principal — azul (paleta monocromática) */
.btn--primary { --btn-bg: var(--grad-blue); box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(45,107,255,.44); }
/* Alias por compatibilidad: cualquier .btn--green heredado se ve azul */
.btn--green   { --btn-bg: var(--grad-blue); box-shadow: var(--shadow-blue); }
.btn--green:hover { box-shadow: 0 16px 34px rgba(45,107,255,.44); }
/* WhatsApp — único uso del verde (reconocimiento de marca) */
.btn--wa      { --btn-bg: var(--grad-wa); box-shadow: var(--shadow-green); }
.btn--wa:hover { box-shadow: 0 16px 34px rgba(34,193,94,.44); }
/* Secundario translúcido (sobre fondos oscuros) */
.btn--light   { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.btn--light:hover { background: rgba(255,255,255,.2); }
/* Contorno AZUL — visible en cualquier fondo (usado en "Llamar" del navbar) */
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--c-blue); box-shadow: none; border: 1.5px solid var(--c-blue); }
.btn--ghost:hover { background: rgba(45,107,255,.12); border-color: var(--c-blue-600); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--xl { padding: 1.15rem 2.1rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* Efecto ripple (JS agrega la onda) */
.btn > .ripple__wave {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.5); pointer-events: none;
  animation: ripple .6s var(--ease-out); z-index: 0;
}
.btn > * { position: relative; z-index: 1; }

/* Estado de carga del botón de envío */
.btn__spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  display: none; animation: spin .7s linear infinite;
}
.btn.is-loading .btn__label { opacity: .55; }
.btn.is-loading .btn__spinner { display: inline-block; }

/* ============================= 6. NAVBAR ================================== */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000; display: flex; align-items: center; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%;
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.25rem); gap: 1rem; }
.nav__scrim { display: none; }
/* El "vidrio" del navbar vive en un pseudo-elemento, no en .nav directamente:
   backdrop-filter/filter en .nav crearía un containing block nuevo y rompería
   el position:fixed del panel móvil (.nav__links) y del scrim, que son hijos.
   z-index negativo evita que .nav__inner necesite volverse un contexto de
   apilamiento propio (eso atraparía al panel móvil detrás del scrim). */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .35s var(--ease);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--c-line), var(--shadow-xs);
}
.nav.is-scrolled::before { opacity: 1; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-sm); flex: none; padding: 5px;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
/* Marca OCACENTRO: nombre grande arriba + lema pequeño en mayúsculas debajo */
.brand__text { display: flex; flex-direction: column; line-height: 1.02; font-size: .58rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.brand__text strong { font-family: var(--font-head); font-size: 1.08rem; font-weight: 800; letter-spacing: .04em;
  text-transform: none; color: var(--c-navy); }

/* Color del navbar según estado (transparente sobre hero → blanco glass al hacer scroll).
   El botón "Llamar" (.btn--ghost) mantiene su contorno AZUL en ambos estados,
   por lo que NO se sobreescribe aquí (antes quedaba blanco y se perdía). */
.nav:not(.is-scrolled) .brand__text { color: rgba(255,255,255,.72); }
.nav:not(.is-scrolled) .brand__text strong,
.nav:not(.is-scrolled) .nav__links a { color: #fff; }
.nav:not(.is-scrolled) .nav__toggle span { background: #fff; }

.nav__links { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.6rem); }
.nav__links a { position: relative; font-weight: 500; font-size: .95rem; color: var(--c-navy); padding: .4rem 0; transition: color .25s var(--ease); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--c-blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--c-blue); }
/* En navbar transparente sobre el page-hero, el enlace activo se resalta en claro */
.nav:not(.is-scrolled) .nav__links a[aria-current="page"] { color: #fff; }

.nav__cta { display: flex; align-items: center; gap: .6rem; }

/* Botón hamburguesa */
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s 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); }

/* ============================= 7. HERO =================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h);
  background: var(--grad-hero); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }

/* Halo decorativo */
.hero::after {
  content: ""; position: absolute; z-index: 1; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -12%; top: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.5) 0%, rgba(37,99,235,0) 70%); filter: blur(10px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 8vh, 6rem); max-width: 900px; }

.hero__eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; font-size: .9rem;
  color: #cfe0ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .5rem 1rem; border-radius: var(--radius-pill); backdrop-filter: blur(6px); margin-bottom: 1.6rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; }

.hero h1 { font-family: var(--font-head); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; font-size: var(--fs-h1); max-width: 16ch; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #cbd7e6; max-width: 54ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 2.6rem; color: #cbd7e6; font-size: .96rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__badge-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.hero__badges .check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(45,107,255,.22); color: #9ec2ff; font-size: .8rem; font-weight: 700; }

/* Indicador de scroll */
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }

/* ======================= 8. MARQUESINA DE MARCAS ========================= */
.brands-strip { border-block: 1px solid var(--c-line); background: var(--c-white); padding-block: 1.8rem; overflow: hidden; }
.brands-strip__track { display: flex; gap: clamp(2rem, 5vw, 4rem); width: max-content; animation: marquee 32s linear infinite; }
.brands-strip__track span { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: #97a6b8; white-space: nowrap; transition: color .3s var(--ease); }
.brands-strip:hover .brands-strip__track { animation-play-state: paused; }

/* ======================= 9. TARJETAS DE SERVICIOS ======================== */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.card {
  position: relative; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(37,99,235,.5), rgba(16,185,129,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--c-blue); background: var(--c-blue-050); margin-bottom: 1.3rem; transition: transform .4s var(--ease); }
.card__icon svg { width: 28px; height: 28px; }
/* El hover con transform en un contenedor que tiene un <a> adentro (Ver detalle)
   hace que en iOS/Android el primer toque solo "active" el hover y haga falta
   un segundo toque para navegar. Se limita a dispositivos con mouse real. */
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .card:hover::before { opacity: 1; }
  .card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
}
.card__title { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); color: var(--c-navy); margin-bottom: .5rem; }
.card__text { color: var(--c-muted); font-size: .96rem; }

.card--cta { background: var(--grad-hero); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .8rem; border: 0; }
.card--cta::before { display: none; }
.card--cta .card__title, .card--cta .card__text { color: #fff; }
.card--cta .card__text { color: #cbd7e6; margin-bottom: .4rem; }

/* Grilla de 3 áreas */
.grid-cards--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* Tarjeta destacada (Refrigeración — "más solicitado") */
.card--feature { border-color: transparent; box-shadow: var(--shadow); }
.card--feature::before { opacity: 1; }
.card__tag { position: absolute; top: 1.1rem; right: 1.1rem; font-family: var(--font-head); font-weight: 600;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-blue-600);
  background: var(--c-blue-050); padding: .3rem .7rem; border-radius: var(--radius-pill); }

/* Lista de puntos dentro de la tarjeta de área */
.card__list { display: grid; gap: .5rem; margin: 1.1rem 0 1.3rem; }
.card__list li { position: relative; padding-left: 1.4rem; color: var(--c-muted); font-size: .93rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 0 4px rgba(45,107,255,.12); }

/* Enlace "Ver detalle →" */
.card__link { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head);
  font-weight: 600; font-size: .95rem; color: var(--c-blue-600); margin-top: auto; }
.card__link svg { transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__link svg { transform: translateX(4px); }
}
.card--feature, .grid-cards--3 .card { display: flex; flex-direction: column; }

/* ================= 10. SPLIT (Por qué / Cobertura) ====================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 9/10; object-fit: cover; object-position: top center; }

.floating-card {
  position: absolute; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.2;
  animation: floaty 5s ease-in-out infinite;
}
.floating-card strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--c-navy); }
.floating-card span { font-size: .82rem; color: var(--c-muted); }
.floating-card--tl { top: 8%; left: -6%; }
.floating-card--br { bottom: 8%; right: -6%; animation-delay: 1s; }

.feature-list { display: grid; gap: 1.2rem; margin-block: 1.8rem; }
.feature-list li { display: flex; gap: 1rem; }
.feature-list__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(45,107,255,.12); color: var(--c-blue-600); font-weight: 700; margin-top: 2px; }
.feature-list strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--c-navy); }
.feature-list p { color: var(--c-muted); font-size: .94rem; }
/* Variante compacta (dentro de tarjetas de servicio) */
.feature-list--compact { gap: .6rem; margin-block: 1.1rem 0; }
.feature-list--compact li { align-items: center; }
.feature-list--compact .feature-list__ic { width: 24px; height: 24px; font-size: .72rem; margin-top: 0; }
.feature-list--compact div { color: var(--c-muted); font-size: .92rem; }

/* ======================= 11. PROCESO (STEPS) ============================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px){ .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .steps--4 { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.8rem 1.4rem; border-radius: var(--radius-lg); background: var(--c-mist); border: 1px solid var(--c-line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--c-navy); margin: .5rem 0 .4rem; }
.step__text { color: var(--c-muted); font-size: .92rem; }

/* ======================= 12. ESTADÍSTICAS =============================== */
.stats { background: var(--grad-hero); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap); text-align: center; }
.stat { padding: 1.4rem; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; background: linear-gradient(120deg, #fff, #7fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: .6rem; color: #cbd7e6; font-size: .96rem; }

/* ======================= 13. CHIPS / MAPA ============================== */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1.6rem 2rem; }
.chip { padding: .55rem 1.1rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--c-line); font-size: .92rem; font-weight: 500; color: var(--c-navy); box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.chip:hover { transform: translateY(-2px); border-color: var(--c-blue); }

/* Contenedor de mapa moderado — no ocupa todo el ancho */
.map-wrap { max-width: 620px; margin-inline: auto; }
.map-embed { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__link { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .9rem; font-size: .9rem; font-weight: 600; color: var(--c-blue); }
.map-embed__link:hover { text-decoration: underline; }

/* Sección compacta (menos padding vertical que .section) */
.section--tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.section--tight .section__head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }

/* ======================= 14. GRID DE MARCAS ============================ */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.brand-grid__item { display: grid; place-items: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: var(--c-mist); border: 1px solid var(--c-line); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #6b7c8f; transition: transform .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease); }
.brand-grid__item:hover { transform: translateY(-4px); color: var(--c-blue); background: #fff; box-shadow: var(--shadow); }

/* ======================= 15. TESTIMONIOS (CARRUSEL) ==================== */
.carousel { max-width: 760px; margin-inline: auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel__track { display: flex; transition: transform .55s var(--ease); }
.testimonial { flex: 0 0 100%; padding: clamp(1.8rem, 4vw, 3rem); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.testimonial__stars { color: #F5A623; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial__text { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--c-navy); line-height: 1.55; }
.testimonial__author { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.testimonial__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.testimonial__author strong { display: block; font-family: var(--font-head); color: var(--c-navy); }
.testimonial__author span { font-size: .88rem; color: var(--c-muted); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.8rem; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--c-line); color: var(--c-navy); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.carousel__btn:hover { transform: translateY(-2px); color: var(--c-blue); border-color: var(--c-blue); }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-line); transition: width .3s var(--ease), background .3s var(--ease); }
.carousel__dot.is-active { width: 26px; border-radius: 6px; background: var(--c-blue); }

/* ======================= 16. GALERÍA =================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery__item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; margin: 0; aspect-ratio: 1/1; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 3/2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,37,64,.25)); opacity: 0; transition: opacity .4s var(--ease); }
.gallery__item:hover::after { opacity: 1; }

/* ======================= 17. FAQ (ACORDEÓN) ============================ */
.faq { display: grid; gap: .9rem; }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.faq__item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--c-navy); }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--c-blue); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 1.5rem 1.4rem; color: var(--c-muted); }

/* ======================= 18. CONTACTO Y FORMULARIO ===================== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.contact__aside { background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.contact__aside::after { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.5), transparent 70%); }
.contact__lead { color: #cbd7e6; margin-bottom: 1.8rem; position: relative; }
.contact__list { display: grid; gap: 1.3rem; position: relative; }
.contact__list li { display: flex; align-items: flex-start; gap: .9rem; }
.contact__list li > div { min-width: 0; flex: 1; padding-top: .1rem; }
.contact__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); color: #7fb4ff; border: 1px solid rgba(255,255,255,.14); }
.contact__list span { display: block; font-size: .78rem; color: #93a6bd; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem; }
.contact__list a, .contact__list div > a { display: block; color: #fff; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; transition: color .25s var(--ease); }
.contact__list a:hover { color: #7fb4ff; }
.contact__social { display: flex; gap: .7rem; margin-top: auto; padding-top: 2rem; position: relative; }
.contact__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; transition: transform .3s var(--ease), background .3s var(--ease); }
.contact__social a:hover { transform: translateY(-3px); background: rgba(255,255,255,.2); }

.contact__form-wrap { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.form__title { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--c-navy); margin-bottom: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--c-navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  background: var(--c-mist); transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #E5484D; background: #fff5f5; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--c-green); }
.field__error { color: #E5484D; font-size: .8rem; min-height: 1em; }

/* Honeypot: oculto visualmente pero presente en el DOM */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin-top: 1rem; font-size: .92rem; font-weight: 500; text-align: center; min-height: 1.4em; }
.form__status.is-success { color: var(--c-green-600); }
.form__status.is-error { color: #E5484D; }

.form__consent { font-size: .84rem; color: var(--c-muted); margin: -.2rem 0 1.1rem; }
.form__consent a { color: var(--c-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form__consent a:hover { color: var(--c-blue-600); }

/* ======================= 19. FOOTER ==================================== */
.footer { background: var(--c-navy-800); color: #b9c6d6; padding-top: clamp(3rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand--footer .brand__text, .brand--footer .brand__text strong { color: #fff; }
.footer__desc { margin-top: 1rem; font-size: .92rem; max-width: 40ch; color: #93a6bd; }
.footer__col h4 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a, .footer__col li { font-size: .92rem; color: #93a6bd; transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.contact__social--footer { margin-top: 1.3rem; }
.contact__social--footer a { width: 38px; height: 38px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.6rem; padding-block: 1.4rem; font-size: .84rem; color: #7d90a6; }
.footer__disclaimer { width: 100%; font-size: .8rem; line-height: 1.5; color: #7fb4ff; font-weight: 600; margin-top: .2rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.footer__legal a { color: #7fb4ff; font-size: 1rem; font-weight: 600; transition: color .25s var(--ease); }
.footer__legal a:hover { color: #fff; }

/* Bloque de contacto (tarjeta + formulario + mapa) que solo se muestra en la
   versión de celular del inicio — en escritorio se usa la página /contacto/. */
.mobile-only-contact { display: none; }

/* ======================= 19b. PÁGINAS LEGALES / 404 ===================== */
.legal-content { max-width: 760px; margin-inline: auto; }
.legal-content h2 { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--c-navy); margin: 2.2rem 0 .8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--c-muted); margin-bottom: .9rem; }
.legal-content ul { margin: 0 0 .9rem 1.2rem; color: var(--c-muted); display: grid; gap: .4rem; }
.legal-content li { list-style: disc; }
.legal-content a { color: var(--c-blue); font-weight: 600; }
.legal-content a:hover { color: var(--c-blue-600); }
.legal-content strong { color: var(--c-navy); }
.legal-updated { display: inline-block; font-size: .84rem; color: var(--c-muted); background: var(--c-mist); padding: .4rem .9rem; border-radius: var(--radius-pill); margin-bottom: 2rem; }

.error-404 { text-align: center; padding-block: clamp(2rem, 6vw, 3.5rem); }
.error-404__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); line-height: 1; background: linear-gradient(120deg, var(--c-blue), var(--c-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ================ 20. BOTONES FLOTANTES / SCROLL PROGRESS =============== */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100; background: transparent; pointer-events: none; }
.scroll-progress__bar { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--c-blue), var(--c-green)); transition: width .1s linear; }

.floating-actions { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 900; display: flex; flex-direction: column; gap: .8rem; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab--wa { background: linear-gradient(135deg, #25D366, #128C7E); animation: floaty 4s ease-in-out infinite; }
.fab--call { background: var(--grad-blue); }
.fab--top { background: rgba(10,37,64,.9); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top:hover { background: var(--c-navy); }

/* ================ 21. PAGE-HERO (encabezado de páginas interiores) ======= */
.page-hero {
  position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--grad-hero); color: #fff; overflow: hidden; text-align: center;
}
.page-hero::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 640px; max-height: 640px;
  right: -10%; top: -30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.45) 0%, rgba(37,99,235,0) 70%); pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.page-hero h1 {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.06;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.page-hero p { margin-top: 1rem; color: #cbd7e6; font-size: var(--fs-lead); }

/* Migas de pan (breadcrumbs) accesibles */
.breadcrumbs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.1rem; font-size: .86rem; color: #93a6bd; }
.breadcrumbs a { color: #cbd7e6; transition: color .25s var(--ease); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #7fb4ff; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumbs li + li::before { content: "›"; color: #5b7089; }

/* ================ 22. CTA BAND (llamado a la acción de cierre) ===========
   Fondo OSCURO, en el mismo tono que la parte inferior de la página (footer). */
.cta-band { background: var(--grad-hero); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 50% -20%, rgba(45,107,255,.20), transparent 60%); pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-band h2 { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h2); letter-spacing: -.02em; }
.cta-band p { margin-top: .9rem; color: #cbd7e6; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* Enlace "ver todos" bajo grillas de resumen */
.section__more { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ================ 23. DETALLE DE SERVICIO POR MÁQUINA (svc-block) ======== */
/* Cada tipo de máquina (nevecones, lavadoras, split…) es un bloque con su
   ícono, título y una grilla de tareas; cada tarea lleva una breve descripción. */
.svc-block { margin-top: clamp(2.4rem, 5vw, 4rem); scroll-margin-top: calc(var(--nav-h) + 16px); }
.svc-block:first-of-type { margin-top: 0; }
.svc-block__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.svc-block__icon { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  color: #fff; background: var(--grad-blue); box-shadow: var(--shadow-sm); }
.svc-block__icon svg { width: 30px; height: 30px; }
.svc-block__titles h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -.01em; color: var(--c-navy); }
.svc-block__titles p { color: var(--c-muted); font-size: .96rem; margin-top: .15rem; }

/* Foto del equipo (una por bloque) — reemplazable por foto real .webp */
.svc-block__media { margin-bottom: 1.5rem; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 21/9; }
.svc-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-block__media:hover img { transform: scale(1.03); }

.svc-tasks { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; }
.svc-task { position: relative; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.svc-task:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-task strong { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600;
  font-size: 1.02rem; color: var(--c-navy); margin-bottom: .35rem; }
.svc-task strong::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--c-blue); box-shadow: 0 0 0 4px rgba(45,107,255,.14); }
.svc-task p { color: var(--c-muted); font-size: .92rem; }

/* Chips de salto rápido a cada tipo de máquina (reutiliza .chips) */
.svc-jump { justify-content: center; margin-block: 0 clamp(2rem, 4vw, 3rem); }
.svc-jump .chip { cursor: pointer; }
.svc-jump .chip:hover { color: var(--c-blue); }
