/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #111214;
  --bg-2: #17181b;
  --bg-3: #1d1f23;
  --cream: #f5f4f0;
  --muted: #9b9a94;
  --gold: #c9a227;
  --gold-bright: #e3c14b;
  --olive: #5a7a3a;
  --line: rgba(245, 244, 240, 0.09);
  --grad: linear-gradient(100deg, var(--gold-bright), var(--gold) 45%, var(--olive));
  --oswald: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 72px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
/* Grano sutil sobre toda la página */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
}
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; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--oswald);
  text-transform: uppercase;
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-weight: 600;
}
::selection { background: var(--gold); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
address { font-style: normal; }

main { position: relative; z-index: 2; }
section { scroll-margin-top: var(--nav-h); }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Franja dorado→oliva (guiño a la tarjeta de visita) */
.strip {
  display: inline-block;
  width: 34px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--olive));
  margin-right: 0.75rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* =============================================================
   4. Barra de progreso de scroll
   ============================================================= */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold) 60%, var(--olive));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* =============================================================
   5. Navegación
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(17, 18, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
  transition: height 0.4s var(--ease-out);
}
.nav.is-scrolled .nav-inner { height: 58px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
}
.brand-mark {
  width: 42px; height: 36px;
  transition: transform 0.4s var(--ease-out);
}
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); }
.brand-name {
  font-family: var(--oswald);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}

.nav-links {
  display: none;
  gap: 1.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 1px;
  transition: right 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }

/* Hamburguesa */
.nav-toggle {
  display: grid;
  gap: 5px;
  padding: 0.6rem;
  margin-right: -0.6rem;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panel móvil */
@media (max-width: 959px) {
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
    display: grid;
    gap: 0.4rem;
    background: rgba(17, 18, 20, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-105%);
    transition: transform 0.45s var(--ease-out);
    z-index: -1;
  }
  .nav-links a {
    font-family: var(--oswald);
    text-transform: uppercase;
    font-size: 1.5rem;
    color: var(--cream);
    padding-block: 0.55rem;
  }
  .nav.is-open .nav-links { transform: translateY(0); }
}

/* En móvil el CTA queda como icono compacto de llamada */
@media (max-width: 959px) {
  .nav-cta { padding: 0.65rem 0.95rem; border-radius: 999px; }
  .nav-cta span { display: none; }
  .nav-cta svg { width: 20px; height: 20px; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   6. Botones
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-family: var(--oswald);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-solid {
  background: linear-gradient(115deg, var(--gold-bright), var(--gold) 55%, #a3821f);
  color: #16130a;
}
.btn-solid::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(201, 162, 39, 0.55);
}
.btn-solid:hover::after { left: 125%; }

.btn-ghost {
  border: 1px solid rgba(245, 244, 240, 0.25);
  color: var(--cream);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 26px -10px rgba(201, 162, 39, 0.4);
  color: var(--gold-bright);
}

.btn-block { width: 100%; }

.nav-cta { padding: 0.6rem 1.15rem; font-size: 0.92rem; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* pista fija: nunca colapsa a min-content durante la carga de fuentes */
  align-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 5.5rem;
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(17, 18, 20, 0.78) 0%, rgba(17, 18, 20, 0.12) 22%, transparent 42%),
    linear-gradient(0deg, var(--bg) 2%, rgba(17, 18, 20, 0.35) 30%, transparent 62%),
    linear-gradient(95deg, rgba(17, 18, 20, 0.95) 0%, rgba(17, 18, 20, 0.7) 38%, rgba(17, 18, 20, 0.2) 70%, transparent 100%),
    url("assets/img/hero.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  width: min(1160px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.hero-kicker {
  font-family: var(--oswald);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.7rem, 9.5vw, 6.2rem);
  font-weight: 700;
  max-width: 13ch;
  margin-bottom: 1.3rem;
}
.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(245, 244, 240, 0.3);
  border-radius: 14px;
  display: grid;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 3px; height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-hint 1.8s var(--ease-soft) infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero: imagen vertical dedicada en móvil (velo más fuerte para legibilidad) */
@media (max-width: 640px) {
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(17, 18, 20, 0.82) 0%, rgba(17, 18, 20, 0.5) 34%, rgba(17, 18, 20, 0.66) 72%, var(--bg) 100%),
      url("assets/img/hero-mobile.webp");
    background-position: center bottom;
  }
}

/* =============================================================
   8. Secciones comunes
   ============================================================= */
.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }

.section-head { margin-bottom: clamp(2.2rem, 6vw, 3.5rem); }
.section-kicker {
  font-family: var(--oswald);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
}
.section-head h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 0.8rem;
}
.section-lead {
  color: var(--muted);
  max-width: 52ch;
}

/* =============================================================
   9. Servicios
   ============================================================= */
.services { background: var(--bg-2); }

.cards {
  display: grid;
  gap: 1rem;
}
.card {
  position: relative;
  padding: 1.7rem 1.5rem 1.6rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s var(--ease-out);
  overflow: clip;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 20% 0%, rgba(201, 162, 39, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7), 0 8px 30px -14px rgba(201, 162, 39, 0.35);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.1rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s, transform 0.4s var(--ease-out);
}
.card:hover .card-icon {
  stroke: var(--gold-bright);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.card p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* =============================================================
   9b. Nuestros trabajos (franja de fotos)
   ============================================================= */
.works { background: var(--bg-2); }
.works-grid {
  display: grid;
  gap: 1rem;
}
.work-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: clip;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  isolation: isolate;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 18, 20, 0.9) 0%, rgba(17, 18, 20, 0.25) 42%, transparent 70%);
  z-index: 1;
  transition: opacity 0.4s var(--ease-out);
}
.work-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.2rem;
  font-family: var(--oswald);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.work-tag {
  display: inline-grid;
  place-items: center;
  min-width: 2rem; height: 2rem;
  padding: 0 0.4rem;
  border-radius: 7px;
  font-size: 0.85rem;
  color: #16130a;
  background: linear-gradient(115deg, var(--gold-bright), var(--gold));
}
.work-card:hover img { transform: scale(1.06); }
.work-card:hover { border-color: rgba(201, 162, 39, 0.5); }

/* =============================================================
   10. Por qué
   ============================================================= */
.why-grid {
  display: grid;
  gap: 2.4rem;
}
.why-item {
  position: relative;
  padding-top: 0.4rem;
}
.why-num {
  font-family: var(--oswald);
  font-weight: 700;
  font-size: clamp(4.2rem, 11vw, 6.5rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}
.why-item p {
  color: var(--muted);
  max-width: 38ch;
}

/* =============================================================
   11. Zona de trabajo
   ============================================================= */
.zone { background: var(--bg-2); }
.zone-grid {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}
.zone-text > p { color: var(--muted); margin-bottom: 1.3rem; max-width: 52ch; }
.zone-text strong { color: var(--cream); font-weight: 600; }
.zone-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.55rem;
}
.zone-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--cream);
  font-size: 0.98rem;
}
.zone-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--olive));
}

.zone-map {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(0.8rem, 3vw, 1.6rem);
}
.map-land { fill: rgba(245, 244, 240, 0.045); }
.map-coast {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.85;
}
.map-river {
  fill: none;
  stroke: rgba(245, 244, 240, 0.22);
  stroke-width: 2;
  stroke-linecap: round;
}
.map-wave {
  fill: none;
  stroke: rgba(245, 244, 240, 0.18);
  stroke-width: 2;
  stroke-linecap: round;
}
.map-town circle { fill: rgba(245, 244, 240, 0.5); }
.map-town text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.map-pin path { fill: var(--gold); }
.map-pin-dot { fill: var(--bg); }
.map-pin-label {
  fill: var(--gold-bright);
  font-family: var(--oswald);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  transform-origin: 238px 222px;
  animation: map-pulse 2.6s var(--ease-soft) infinite;
}
@keyframes map-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* =============================================================
   12. Contacto
   ============================================================= */
.contact-grid {
  display: grid;
  gap: 2.4rem;
}
.contact-info {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.phone-card {
  display: grid;
  gap: 0.15rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s var(--ease-out);
}
.phone-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 14px 34px -16px rgba(201, 162, 39, 0.4);
}
.phone-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-family: var(--oswald);
}
.phone-num {
  font-family: var(--oswald);
  font-weight: 600;
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  letter-spacing: 0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.address {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  padding: 0.4rem 0.2rem;
  font-size: 0.96rem;
}
.address svg { width: 20px; height: 20px; flex: none; color: var(--gold); }

.contact-form {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--oswald);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cream);
  font: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(155, 154, 148, 0.6); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c25c4a; }

.form-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-ok {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.6rem;
  background: var(--bg-3);
  border-radius: 16px;
  animation: form-ok-in 0.5s var(--ease-out);
}
.form-ok[hidden] { display: none; }
@keyframes form-ok-in {
  from { opacity: 0; transform: translateY(12px); }
}
.form-ok svg { width: 52px; height: 52px; color: var(--olive); }
.form-ok h3 { font-size: 1.5rem; }
.form-ok p { color: var(--muted); max-width: 34ch; }
.form-again {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-again:hover { color: var(--cream); }

/* =============================================================
   13. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.6rem;
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}
.footer-data { color: var(--muted); font-size: 0.92rem; display: grid; gap: 0.2rem; }
.footer-data a { transition: color 0.3s; }
.footer-data a:hover { color: var(--gold-bright); }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(155, 154, 148, 0.7);
}

/* =============================================================
   14. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 250;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22a95c;
  box-shadow: 0 10px 28px -8px rgba(34, 169, 92, 0.65);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 36px -10px rgba(34, 169, 92, 0.8);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* =============================================================
   15. Reveals (solo con JS activo)
   ============================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--r, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-data { justify-self: center; text-align: center; }
  .wa-float { right: 1.6rem; bottom: 1.6rem; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .zone-grid { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   17. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .map-pulse { animation: none; opacity: 0; }
  .hero-scroll span { animation: none; }
  /* Los hovers, fades y contadores se mantienen: son microinteracciones */
}
