/* ============================================================================
   MOVENZA — styles.css
   Mobile-first · Montserrat + DM Sans · Paleta Azul Petróleo / Turquesa
   ============================================================================ */

/* ============================================================
   1. Tokens
   ============================================================ */
:root {
  /* Colores de marca */
  --color-primario: #0F4C5C;  /* Azul Petróleo — primario, fondos de marca, overlays */
  --color-acento:   #2EC4B6;  /* Turquesa — CTAs, detalles, acento de la "E" */
  --color-grafito:  #2F3941;  /* Gris Grafito — texto oscuro / estructural */
  --color-claro:    #F7F7F7;  /* Blanco Roto — fondos claros */

  /* Tokens derivados (fondo / texto) */
  --bg-base:        var(--color-claro);
  --bg-oscuro:      var(--color-primario);
  --texto-base:     var(--color-grafito);
  --texto-invert:   var(--color-claro);
  --texto-suave:    #5A646B;
  --linea:          rgba(47,57,65,0.12);
  --overlay-hero:   rgba(15,76,92,0.68);
  --verde-wa:       #25D366;

  /* Tipografía */
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --header-h: 68px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
}

/* ============================================================
   2. Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto-base);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul[class] { list-style: none; padding: 0; }
p { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

::selection { background: var(--color-acento); color: #fff; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--color-claro); color: var(--color-grafito);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   3. Utilidades
   ============================================================ */
.container {
  width: min(100% - 2 * var(--gutter), 1120px);
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); } /* ≥48px siempre */

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.65rem, 4.4vw, 2.5rem); font-weight: 700; }
.section-head p  { margin-top: .75rem; color: var(--texto-suave); max-width: 60ch; }

.section--dark { background: var(--bg-oscuro); color: var(--texto-invert); }
.section--dark .section-head p { color: rgba(247,247,247,0.78); }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: .9rem;
}

/* Revelado en scroll — el estado oculto SOLO aplica si JS está activo (html.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Defensa: un elemento con split de texto nunca queda oculto por .reveal */
html.js .reveal[data-split] { opacity: 1; transform: none; }

/* Stagger suave dentro de grids */
html.js .reveal-group > .reveal:nth-child(2) { transition-delay: .1s; }
html.js .reveal-group > .reveal:nth-child(3) { transition-delay: .2s; }
html.js .reveal-group > .reveal:nth-child(4) { transition-delay: .3s; }
html.js .reveal-group > .reveal:nth-child(5) { transition-delay: .4s; }

/* ============================================================
   4. Botones
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--acento {
  background: var(--color-acento);
  color: #073B4C;
  box-shadow: 0 8px 22px rgba(46,196,182,0.32);
}
.btn--acento:hover { box-shadow: 0 12px 28px rgba(46,196,182,0.42); }

.btn--fantasma {
  background: transparent;
  color: var(--color-claro);
  border: 2px solid rgba(247,247,247,0.85);
}
.btn--fantasma:hover { background: rgba(247,247,247,0.12); }

.btn--wa {
  background: var(--verde-wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,0.32);
}
.btn--wa:hover { box-shadow: 0 12px 28px rgba(37,211,102,0.42); }

.btn--linea {
  background: transparent;
  color: var(--color-primario);
  border: 2px solid var(--color-primario);
}
.btn--linea:hover { background: var(--color-primario); color: var(--color-claro); }

.btn--block { width: 100%; }

/* Botón de llamada del header — CTA secundario (outline) frente al de WhatsApp.
   Móvil: icono táctil ≥44px. Desktop: muestra el número visible. */
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;              /* móvil: se pega a la derecha, junto a la hamburguesa */
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(247,247,247,0.75);
  color: var(--color-claro);
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.header-call:hover { background: rgba(247,247,247,0.12); border-color: #fff; transform: translateY(-1px); }
.header-call .call-num { display: none; }

@media (min-width: 960px) {
  .header-call { margin-left: 0; padding: .5rem 1.15rem; }
  .header-call .call-num {
    display: inline;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
  }
}

/* Contenedor de acciones del CTA final (WhatsApp primario + Llamar secundario) */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  margin-top: 1.9rem;
}
.cta-final .cta-actions .btn { margin-top: 0; }

/* ============================================================
   5. Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-primario);
  color: var(--color-claro);
  transition: background-color .35s var(--ease-soft), box-shadow .3s var(--ease-soft);
}
.header.scrolled { box-shadow: 0 10px 30px rgba(15,76,92,0.35); }

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Wordmark de respaldo — al subir "Logo 11" se reemplaza SOLO este bloque
   por: <img src="assets/photos/logo-11.webp" alt="MOVENZA" height="40"> */
.wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--color-claro);
  white-space: nowrap;
}
.wordmark .e-mark { position: relative; display: inline-block; }
.wordmark .e-mark::after {
  content: "";
  position: absolute;
  left: 0.08em;
  top: 50%;
  transform: translateY(-58%);
  width: 0.52em;
  height: 0.14em;
  /* Tipografía del wordmark completamente blanca (header y footer), sin acento turquesa */
  background: var(--color-claro);
  border-radius: 1px;
}

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--color-primario);
  padding: 1rem var(--gutter) 1.75rem;
  display: none;
  flex-direction: column;
  gap: .25rem;
  box-shadow: 0 24px 40px rgba(15,76,92,0.4);
  z-index: 890;
}
.nav.open { display: flex; }

.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .75rem .5rem;
  border-radius: 8px;
  color: rgba(247,247,247,0.85);
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.nav a:hover { color: #fff; background: rgba(247,247,247,0.08); }
.nav a.is-active { color: var(--color-acento); }

.header-cta { display: none; }

.hamburger {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-claro);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
  position: relative;
}
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after  { position: absolute; top: 7px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translateY(7px) rotate(45deg); }
.hamburger.open span::after  { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(47,57,65,0.5);
  z-index: 880;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-soft);
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   6. Botón flotante de WhatsApp
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde-wa);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

/* Entrada slide-up ~2s tras la carga.
   GSAP la anima a los 2s; esta animación CSS es la red de seguridad
   (2.6s) por si el JS falla — ambas terminan en el mismo estado. */
html.js .wa-float {
  transform: translateY(120px);
  opacity: 0;
  animation: waIn .6s var(--ease-out) 2.6s forwards;
}
html.js .wa-float.is-in { animation: none; }
@keyframes waIn { to { transform: translateY(0); opacity: 1; } }

/* Botón flotante de llamada — justo encima del de WhatsApp */
.call-float {
  position: fixed;
  right: 20px;
  bottom: 90px;            /* 20 (wa bottom) + 60 (wa alto) + 10 de separación */
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-acento);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.call-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

html.js .call-float {
  transform: translateY(120px);
  opacity: 0;
  animation: waIn .6s var(--ease-out) 2.7s forwards;
}
html.js .call-float.is-in { animation: none; }

/* ============================================================
   7. Heros
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 88vh;
  min-height: 88svh;
  overflow: hidden;
  color: var(--color-claro);
  background: var(--color-primario);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 118%;            /* margen extra para el parallax */
  object-fit: cover;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,76,92,0.55) 0%, var(--overlay-hero) 55%, rgba(15,76,92,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 14vh, 8rem);
}

.hero h1 {
  font-size: clamp(2.3rem, 7.5vw, 4.4rem);
  font-weight: 800;
  max-width: 16ch;
  color: #fff;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1.02rem, 2.4vw, 1.25rem);
  max-width: 60ch;
  color: rgba(247,247,247,0.92);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}

.split-word { display: inline-block; }

/* Hero de sección (interiores) */
.hero--section {
  min-height: 0;
  padding-block: clamp(4.5rem, 10vw, 7rem);
}
.hero--section h1 { font-size: clamp(2rem, 6vw, 3.4rem); }

/* ============================================================
   8. HOME — Cómo funciona (preview)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(47,57,65,0.1); }

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-acento);
  line-height: 1;
}
.step-card .icon { margin-block: .9rem .6rem; color: var(--color-primario); }
.step-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.step-card p  { font-size: .92rem; color: var(--texto-suave); }

.steps-cta { margin-top: 2.25rem; }

.link-arrow {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-primario);
  border-bottom: 2px solid var(--color-acento);
  padding-bottom: 2px;
  transition: color .25s var(--ease-out);
}
.link-arrow:hover { color: var(--color-acento); }

/* ============================================================
   9. HOME — Por qué MOVENZA
   ============================================================ */
.pillars {
  display: grid;
  gap: 1.25rem;
}

.pillar {
  border: 1px solid rgba(247,247,247,0.16);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: rgba(247,247,247,0.04);
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.pillar:hover { border-color: var(--color-acento); background: rgba(46,196,182,0.07); transform: translateY(-4px); }
.pillar .icon { color: var(--color-acento); margin-bottom: 1rem; }
.pillar h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .55rem; color: #fff; }
.pillar p  { color: rgba(247,247,247,0.82); font-size: .96rem; }

/* ============================================================
   10. HOME — Precios orientativos
   ============================================================ */
.price-grid { display: grid; gap: 1rem; }

.price-card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(47,57,65,0.1); border-color: var(--color-acento); }
.price-card h3 { font-size: 1rem; font-weight: 700; color: var(--texto-suave); }
.price-card .precio {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  color: var(--color-primario);
  margin-top: .5rem;
}
.price-card .precio small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .85rem;
  color: var(--texto-suave);
  margin-bottom: .2rem;
}

.price-note {
  margin-top: 1.5rem;
  font-size: .88rem;
  color: var(--texto-suave);
  max-width: 62ch;
}
.price-cta { margin-top: 1.75rem; }

/* ============================================================
   11. HOME — Testimonios
   ============================================================ */
.section--white { background: #fff; }

.testimonials { display: grid; gap: 1.25rem; }

.testimonial {
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 2.4rem 1.5rem 1.6rem;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: .4rem;
  left: 1.1rem;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-acento);
  opacity: .85;
}
.testimonial p { font-size: .96rem; color: var(--texto-base); }
.testimonial footer {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-primario);
}

/* ============================================================
   12. CTA final (gradiente)
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--color-acento) 0%, var(--color-primario) 78%);
  color: #fff;
  text-align: center;
}
.cta-final h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); color: #fff; }
.cta-final p { margin-top: .8rem; color: rgba(255,255,255,0.92); max-width: 48ch; margin-inline: auto; }
.cta-final .btn { margin-top: 1.9rem; }

/* ============================================================
   13. SERVICIOS — catálogo
   ============================================================ */
.services-grid { display: grid; gap: 1.4rem; }

.service-card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(47,57,65,0.12); }

.service-card figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.service-card:hover figure img { transform: scale(1.05); }
.service-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,76,92,0) 45%, rgba(15,76,92,0.45) 100%);
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .7rem;
  padding: 1.4rem 1.3rem 1.5rem;
}
.service-body .icon { color: var(--color-acento); margin-top: -2.7rem; position: relative; z-index: 1;
  background: #fff; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 14px; box-shadow: 0 8px 20px rgba(47,57,65,0.14); }
.service-body h3 { font-size: 1.15rem; font-weight: 700; }
.service-body p  { font-size: .94rem; color: var(--texto-suave); flex: 1; }
.service-body .btn { align-self: flex-start; min-height: 48px; padding: .65rem 1.3rem; font-size: .9rem; }

/* ============================================================
   14. SERVICIOS — modalidades
   ============================================================ */
.modalidades { display: grid; gap: 1.5rem; }

.modalidad {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.modalidad--premium {
  border: 2px solid var(--color-acento);
  box-shadow: 0 18px 40px rgba(46,196,182,0.16);
  position: relative;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-acento);
  color: #073B4C;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}

.modalidad h3 { font-size: 1.3rem; font-weight: 800; color: var(--color-primario); }
.modalidad > p { color: var(--texto-suave); font-size: .96rem; }

.modalidad h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primario);
}

.check-list { display: grid; gap: .5rem; }
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .94rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-acento);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}

.modalidad .ideal {
  font-size: .9rem;
  background: var(--bg-base);
  border-radius: 10px;
  padding: .9rem 1rem;
  color: var(--texto-base);
}
.modalidad .btn { align-self: flex-start; }

/* Siempre incluido */
.incluido {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
}
.incluido h3 { font-size: 1.2rem; font-weight: 700; color: var(--color-primario); margin-bottom: 1.2rem; }
.incluido .check-list { gap: .75rem; }
.incluido .check-list strong { color: var(--color-primario); }

/* ============================================================
   15. CÓMO FUNCIONA — timeline
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 1.6rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-acento), var(--color-primario));
  border-radius: 2px;
}

.tl-step { position: relative; }
.tl-step::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-acento);
  box-shadow: 0 0 0 4px rgba(46,196,182,0.25);
}

.tl-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--color-acento);
  line-height: 1;
}
.tl-step .icon { color: var(--color-primario); margin-block: .7rem .5rem; }
.tl-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .45rem; }
.tl-step p  { font-size: .95rem; color: var(--texto-suave); max-width: 52ch; }

.micro-cta {
  margin-top: 2.75rem;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 1rem;
}
.micro-cta p { font-weight: 500; max-width: 46ch; }

/* ============================================================
   16. CÓMO FUNCIONA — política de daños
   ============================================================ */
.danios {
  background: var(--color-primario);
  color: var(--color-claro);
  border-radius: var(--radius);
  border-left: 6px solid var(--color-acento);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  display: grid;
  gap: 1.2rem;
}
.danios .icon { color: var(--color-acento); }
.danios h2 { font-size: clamp(1.45rem, 4vw, 2rem); color: #fff; }
.danios blockquote {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(247,247,247,0.94);
  max-width: 62ch;
}
.danios .danios-claims {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-acento);
}

/* ============================================================
   17. CÓMO FUNCIONA — FAQ (details/summary, sin JS)
   ============================================================ */
.faq { display: grid; gap: .75rem; max-width: 50rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s var(--ease-out);
}
.faq details[open] { border-color: var(--color-acento); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-acento);
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-body {
  padding: 0 1.2rem 1.2rem;
  color: var(--texto-suave);
  font-size: .94rem;
  max-width: 65ch;
}

.faq-cta { margin-top: 2.25rem; }

/* ============================================================
   18. COBERTURA
   ============================================================ */
.frentes { display: grid; gap: 1.1rem; }

.frente {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.frente:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(47,57,65,0.1); }
.frente .icon { color: var(--color-acento); margin-bottom: .9rem; }
.frente h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .4rem; }
.frente p  { font-size: .93rem; color: var(--texto-suave); }

/* Mapa estilizado */
.mapa-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.mapa {
  background: var(--color-primario);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.mapa svg { width: 100%; height: auto; max-width: 420px; margin-inline: auto; }
.mapa-leyenda {
  margin-top: 1rem;
  font-size: .78rem;
  color: rgba(247,247,247,0.55);
  text-align: center;
}

.map-dot { fill: var(--color-acento); }
.map-label {
  fill: rgba(247,247,247,0.9);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}
.map-pulse {
  fill: none;
  stroke: var(--color-acento);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulse 2.4s var(--ease-soft) infinite;
}
@keyframes mapPulse {
  0%   { transform: scale(0.45); opacity: .9; }
  100% { transform: scale(2.1);  opacity: 0; }
}

.ciudades h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-primario); }
.ciudades-lista {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.ciudades-lista li {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .9rem;
  font-weight: 500;
}
.ciudades-lista li.base {
  background: var(--color-primario);
  color: var(--color-claro);
  border-color: var(--color-primario);
}
.ciudades p.mas { margin-top: 1.1rem; color: var(--texto-suave); font-size: .93rem; max-width: 56ch; }

/* ============================================================
   19. CONTACTO — formulario
   ============================================================ */
.form-wrap { display: grid; gap: 2.25rem; }

.form-card {
  background: var(--color-claro);
  border: 1px solid var(--linea);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(47,57,65,0.12);
  padding: clamp(1.6rem, 5vw, 2.4rem);
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  display: grid;
  gap: 1.1rem;
}

.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-primario);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--texto-base);
  background: #fff;
  border: 1.5px solid var(--linea);
  border-radius: 10px;
  padding: .7rem .9rem;
  min-height: 48px;
  width: 100%;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-acento);
  box-shadow: 0 0 0 3px rgba(46,196,182,0.25);
}
.field .hint { font-size: .8rem; color: var(--texto-suave); }

.form-card .apoyo {
  font-size: .85rem;
  color: var(--texto-suave);
  text-align: center;
}

/* Campo-trampa anti-spam: fuera de la vista y del foco, pero no display:none
   (algunos bots evitan los ocultos con display:none). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Mensaje de estado del formulario (éxito / error / info) */
.form-status {
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  padding: .7rem .9rem;
  border-radius: 10px;
  margin: 0;
}
.form-status--info { color: var(--color-primario); background: rgba(47,57,65,0.06); }
.form-status--ok   { color: #0f7a4b; background: rgba(37,211,102,0.12); }
.form-status--error{ color: #b3261e; background: rgba(179,38,30,0.10); }

/* Canales secundarios bajo el botón principal */
.form-alt {
  display: grid;
  gap: .8rem;
  margin-top: .2rem;
}
.form-alt__sep {
  position: relative;
  text-align: center;
  font-size: .82rem;
  color: var(--texto-suave);
}
.form-alt__sep::before,
.form-alt__sep::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 4.5rem);
  height: 1px;
  background: var(--linea);
}
.form-alt__sep::before { left: 0; }
.form-alt__sep::after  { right: 0; }
.form-alt__btns {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}
.form-alt__btns .btn { flex: 1 1 0; min-width: 140px; }

.contact-extra {
  text-align: center;
  display: grid;
  gap: .4rem;
  justify-items: center;
}
/* Solo enlaces de texto que son hijos DIRECTOS del bloque de contacto.
   Con `>` evitamos afectar los iconos sociales anidados en el <ul>, que
   tienen su propio centrado (.social a { display:grid }). */
.contact-extra > a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primario);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .25s var(--ease-out);
}
.contact-extra > a:not(.btn):hover { color: var(--verde-wa); }
/* El botón de WhatsApp del bloque de contacto conserva el estilo verde de .btn--wa */
.contact-extra .btn--wa { font-size: 1rem; }
.contact-extra p { color: var(--texto-suave); font-size: .92rem; }

/* ============================================================
   20. Footer
   ============================================================ */
.footer {
  background: var(--color-grafito);
  color: rgba(247,247,247,0.82);
  padding-block: 3.25rem 2rem;
  font-size: .92rem;
}
.footer-grid { display: grid; gap: 2rem; }

.footer .wordmark { font-size: 1.2rem; }
.footer .tagline { margin-top: .5rem; color: rgba(247,247,247,0.65); font-style: italic; }

.footer h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: .8rem;
}
.footer-links { display: grid; gap: .45rem; }
.footer-links a { transition: color .25s var(--ease-out); }
.footer-links a:hover { color: #fff; }

.footer .wa-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--verde-wa);
  font-weight: 600;
}
.footer .wa-link:hover { color: #fff; }

.footer .tel-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  color: var(--color-acento);
  font-weight: 600;
}
.footer .tel-link:hover { color: #fff; }

/* Redes sociales */
.social {
  display: flex;
  gap: .6rem;
  margin-top: .9rem;
}
.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(247,247,247,0.1);
  color: var(--color-claro);
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.social a:hover {
  background: var(--color-acento);
  color: #073B4C;
  transform: translateY(-3px);
}
/* Íconos sociales pendientes (href="#"): ocultos hasta tener URL real.
   Al reemplazar el href="#" por la URL, el ícono aparece automáticamente. */
.social a[href="#"] { display: none; }

/* Variante clara (sobre fondos claros, p. ej. bloque de contacto) */
.social--claro a {
  background: rgba(15,76,92,0.08);
  color: var(--color-primario);
}
.social--claro a:hover {
  background: var(--color-acento);
  color: #073B4C;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247,247,247,0.12);
  font-size: .82rem;
  color: rgba(247,247,247,0.5);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

/* ============================================================
   21. Responsive (mobile-first)
   ============================================================ */
@media (min-width: 540px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .frentes { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .frentes { grid-template-columns: repeat(3, 1fr); }
  .modalidades { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .micro-cta { grid-template-columns: 1fr auto; align-items: center; }
  .mapa-wrap { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .incluido .check-list { grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }

  .hero { min-height: 100vh; min-height: 100svh; }
  .hero--section { min-height: 0; }

  /* Header desktop: nav centrado + CTA visible */
  .hamburger, .nav-overlay { display: none; }
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .25rem;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .nav a { font-size: .92rem; padding: .55rem .85rem; }
  .header-cta { display: inline-flex; min-height: 44px; padding: .55rem 1.4rem; font-size: .9rem; }

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

  /* Timeline horizontal en desktop */
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-left: 0;
    padding-top: 1.9rem;
  }
  .timeline::before {
    left: 8px;
    right: 8px;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--color-acento), var(--color-primario));
  }
  .tl-step::before { left: 0; top: -1.9rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }
}

@media (min-width: 1280px) {
  .hero h1 { max-width: 15ch; }
}

/* ============================================================
   22. Reduced motion — SOLO efectos intrusivos
   (no se desactivan micro-interacciones: hover, fades, reveals)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .map-pulse { animation: none; opacity: 0; }
}
