/* =============================================================
   DOKINO — Transportes y Mudanzas
   Design System v4.0 — Final & Unified
   ============================================================= */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Foundation - DESIGN.md */
  --color-paper-white: #ffffff;
  --color-cloud-card: #ebf0f8;
  --color-ink: #222326;
  --color-charcoal: #1f2025;
  --color-body-gray: #747679;

  /* Brand Accents - Blending Dokino with Bevel */
  --color-signal-gold: #ffca00;
  --color-metric-blue: #415eee;
  --color-hero-sky: linear-gradient(#d2e5ff, #fff9ee);
  --color-glass-bg: rgba(255, 255, 255, 0.7);
  --color-glass-border: rgba(255, 255, 255, 0.4);
  --shadow-premium: 0 12px 40px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  --shadow-bevel: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);


  /* Semantic Roles */
  --bg-main: var(--color-paper-white);
  --bg-surface: var(--color-cloud-card);
  --text-primary: var(--color-ink);
  --text-secondary: var(--color-body-gray);
  --accent-primary: var(--color-charcoal);
  --accent-highlight: var(--color-signal-gold);

  /* Typography Scale - DESIGN.md */
  --t-caption: 12px;
  --t-nav: 16px;
  --t-brand-nav: 18px;
  --t-body: 24px;
  --t-section-label: 24px;
  --t-card-heading: 40px;
  --t-display: 64px;
  --t-hero: 80px;

  /* Spacing & Radii - DESIGN.md */
  --space-unit: 8px;
  --section-gap: 80px;
  --card-padding: 32px;
  --element-gap: 16px;
  --r-card: 24px;
  --r-pill: 9999px;
  --r-image: 16px;
  --r-button: 128px;
  --r-nav: 32px;

  /* Spacing Scale (S-system) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s7: 56px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --s14: 112px;
  --s16: 128px;
  --s24: 192px;
  --s28: 224px;

  /* Typography Scale (T-system) */
  --t-xs: 12px;
  --t-sm: 14px;
  --t-base: 16px;
  --t-lg: 18px;
  --t-xl: 20px;
  --t-2xl: 24px;
  --t-3xl: 32px;
  --t-4xl: 40px;
  --t-5xl: 48px;
  --t-6xl: 64px;
  --t-7xl: 80px;
  --t-8xl: 96px;

  /* Color Aliases (Fixing missing variables) */
  --white: var(--color-paper-white);
  --yellow: var(--color-signal-gold);
  --yellow-d: #d4af00;
  --yellow-bg: rgba(255, 202, 0, 0.1);
  --blue: #1a3a8f;
  --blue-deep: #0f2460;
  --blue-mid: #2a4abf;
  --ink: var(--color-ink);
  --n100: #f8f9fa;
  --n200: #e9ecef;
  --n300: #dee2e6;
  --n400: #ced4da;
  --n500: #adb5bd;
  --n600: var(--color-body-gray);
  --n800: var(--color-charcoal);
  --red: #e8001d;
  --green: #28a745;

  /* Other Radii */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

/* Motion */
  --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-base: 300ms;
  --dur-slow: 420ms;
  --dur-fast: 160ms;
  --dur-feedback: 160ms;
  --dur-hover: 200ms;
  --dur-transition: 300ms;
  --ease: var(--ease-premium);
  --dur-xl: 420ms;

  /* Efecto Typing */
  --typing-speed: 0.02s;
  --header-h: 72px;
}

/* ─── BRAND INTRO LOADER ────────────────────────────────── */
.intro-skipped .brand-intro {
  display: none !important;
}

body.intro-active {
  overflow: hidden !important;
}

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B101D;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.5s ease 0.12s;
  will-change: transform, opacity;
}

.brand-intro--dismiss {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.brand-intro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.brand-intro-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 217, 0, 0.12) 0%, rgba(26, 58, 143, 0.3) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.brand-intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
}

.brand-intro-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', var(--font-fallback, sans-serif);
  font-size: clamp(3.2rem, 9.5vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1;
}

.brand-intro-accent {
  color: var(--yellow, #FFD900);
}

.brand-intro-cursor {
  display: inline-block;
  width: 4px;
  height: 0.88em;
  background: var(--yellow, #FFD900);
  margin-left: 6px;
  border-radius: 2px;
  vertical-align: -0.05em;
  animation: introCursorPulse 0.55s infinite alternate ease-in-out;
}
@keyframes introCursorPulse {
  0%   { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.85); }
}

.brand-intro-tagline {
  font-family: 'Plus Jakarta Sans', var(--font-fallback, sans-serif);
  font-size: clamp(0.78rem, 2.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-intro-tagline.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BREADCRUMBS ────────────────────────────────────────────── */
.breadcrumb {
  padding: 0 var(--s8) 0;
  margin-top: -20px;
  max-width: 1320px;
  margin-inline: auto;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--s2);
  list-style: none;
}
.breadcrumb-item {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--n400);
}
.breadcrumb-item a {
  color: var(--n600);
  transition: color var(--dur-fast);
}
.breadcrumb-item a:hover {
  color: var(--blue);
}
.breadcrumb-item.active {
  color: var(--ink);
  font-weight: 700;
}
.breadcrumb-sep {
  font-size: var(--t-xs);
  color: var(--n300);
}

/* ─── RESET & GLOBAL ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.3;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── PAGE TRANSITIONS (Standard & Native View Transitions) ─── */
@keyframes pageFadeIn {
  from {
    opacity: 0.88;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.page-exit {
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  pointer-events: none !important;
  transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), transform 180ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 160ms cubic-bezier(0.4, 0, 1, 1) both vtFadeOut;
}
::view-transition-new(root) {
  animation: 220ms cubic-bezier(0, 0, 0.2, 1) both vtFadeIn;
}
@keyframes vtFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-4px); }
}
@keyframes vtFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

section {
  padding-block: var(--s12); /* Reducido de s24 a s12 para compactar la página */
}
section[id], [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--s8);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible {
  outline: 2px solid var(--accent-highlight);
  outline-offset: 3px;
}

/* ─── TYPOGRAPHY SCALE ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}

.hero-display { font-size: var(--t-hero); line-height: 1; }
.display-lg { font-size: var(--t-display); line-height: 1; }
.display-md { font-size: var(--t-card-heading); line-height: 1; }
.section-label { font-size: var(--t-section-label); font-weight: 600; line-height: 0.9; letter-spacing: -0.24px; }
.body-text { font-size: var(--t-body); font-weight: 400; line-height: 1.3; color: var(--text-secondary); }
.nav-text { font-size: var(--t-nav); font-weight: 500; line-height: 1.4; }
.caption { font-size: var(--t-caption); font-weight: 400; line-height: 1.1; }


/* ─── ANIMACIONES DE ENTRADA (SCROLL REVEAL) ─────────────── */

/* Base: fade-up con easing premium */
.dk-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
/* Horizontal variants */
.dk-reveal--right { transform: translateX(24px); }
.dk-reveal--left  { transform: translateX(-24px); }

/* Blur reveal — texto que recupera nitidez al entrar */
.dk-blur-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter  0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, filter, transform;
}
.dk-blur-reveal.in-view {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
  will-change: auto;
}

/* Scale-up reveal — para números, métricas y elementos compactos */
.dk-scale-reveal {
  opacity: 0;
  transform: scale(0.88) translateY(10px);
  transition:
    opacity 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.dk-scale-reveal.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
  will-change: auto;
}

.dk-reveal.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
  will-change: auto;
}

/* Image & Media Reveal Depth */
img.dk-reveal,
.dk-reveal-media,
.empresa-visual.dk-reveal,
.gal-slide.dk-reveal {
  transform: translateY(16px) scale(0.975);
}
img.dk-reveal.in-view,
.dk-reveal-media.in-view,
.empresa-visual.dk-reveal.in-view,
.gal-slide.dk-reveal.in-view {
  transform: translate(0) scale(1);
}

/* Card Reveals with refined tactile elevation */
.svc-card.dk-reveal,
.why-pillar.dk-reveal,
.success-card.dk-reveal,
.proceso-step.dk-reveal {
  transform: translateY(18px) scale(0.985);
}
.svc-card.dk-reveal.in-view,
.why-pillar.dk-reveal.in-view,
.success-card.dk-reveal.in-view,
.proceso-step.dk-reveal.in-view {
  transform: translate(0) scale(1);
}

/* Section headers: eyebrows + titles get blur-reveal treatment */
.section-eyebrow.dk-reveal {
  transform: translateY(10px);
  letter-spacing: 0.25em;
}
.section-eyebrow.dk-reveal.in-view {
  letter-spacing: 0.2em;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BOTONES & MICROINTERACCIONES ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--t-base);
  line-height: 1.2;
  padding: 13px 26px;
  border-radius: var(--r);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  z-index: 1;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
  transition: transform 60ms ease, box-shadow 60ms ease !important;
}
.btn-arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(100%); }

/* ── Nav link micro-interaction ───────────────────────── */
.nav-link {
  position: relative;
  transition: color var(--dur-fast) ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  border-radius: 1px;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ── Card focus-visible ring ───────────────────────────── */
.review-card:focus-within,
.svc-card:focus-within,
.why-pillar:focus-within,
.success-card:focus-within {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ── Spotlight Card Microinteraction (React Bits / Linear Style) ── */
[data-spotlight] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

[data-spotlight]::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at calc(var(--mouse-x, -500) * 1px) calc(var(--mouse-y, -500) * 1px),
    rgba(255, 202, 0, 0.14),
    rgba(26, 58, 143, 0.05) 45%,
    transparent 70%
  );
  opacity: var(--spotlight-opacity, 0);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

[data-spotlight] > * {
  position: relative;
  z-index: 2;
}

/* ── Shimmer Badge Specular Effect ────────────────────────── */
.shimmer-badge,
.hero-eyebrow-badge,
.badge-google,
.badge-verified-wrap {
  position: relative;
  overflow: hidden;
}

.shimmer-badge::after,
.hero-eyebrow-badge::after,
.badge-google::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: badgeShimmer 5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes badgeShimmer {
  0%, 75% {
    transform: translateX(0) skewX(-20deg);
  }
  100% {
    transform: translateX(380%) skewX(-20deg);
  }
}

/* ─── REACT BITS: TILTED CARD (3D PERSPECTIVE) ────────────── */
[data-tilted] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

/* ─── REACT BITS: BLUR TEXT ENGINE ────────────────────────── */
.blur-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--word-delay, 0s);
  will-change: opacity, filter, transform;
}

.in-view .blur-word,
.blur-word.in-view {
  opacity: 1;
  filter: blur(0px);
  transform: translate3d(0, 0, 0);
}

/* ─── REACT BITS: SHINY TEXT SWEEP ────────────────────────── */
.shiny-text {
  display: inline-block;
  background: linear-gradient(
    120deg,
    rgba(255, 202, 0, 0.75) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 202, 0, 0.75) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinyTextSweep 4s ease-in-out infinite;
}

@keyframes shinyTextSweep {
  0%, 25% { background-position: 200% 0; }
  75%, 100% { background-position: -200% 0; }
}

/* ── Trust badge hover ─────────────────────────────────── */
.hero-badge-pill {
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), background 0.22s ease, box-shadow 0.22s ease;
}
.hero-badge-pill:hover {
  transform: translateY(-2px);
  background: #e2e8f5;
  box-shadow: 0 4px 12px rgba(26,58,143,0.10);
}

/* ── Reviews header reveal ─────────────────────────────── */
.reviews-header .section-title {
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1) 0.08s,
              transform 0.7s cubic-bezier(0.16,1,0.3,1) 0.08s;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-deep);
  border-color: var(--yellow);
  box-shadow: 0 4px 14px rgba(255, 202, 0, 0.35), 0 2px 0 var(--yellow-d);
}
.btn-primary:hover {
  background: #ffcf10;
  border-color: #ffcf10;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 24px rgba(255, 202, 0, 0.45), 0 3px 0 var(--yellow-d);
}
.btn-primary:active {
  box-shadow: 0 1px 0 var(--yellow-d) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 58, 143, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--n600);
  border-color: var(--n300);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.btn-dark {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-dark:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 36, 96, 0.25);
}

.btn-wa-alt { background: var(--n100); color: var(--n800); border-color: var(--n200); }
.btn-wa-alt:hover { background: var(--n200); transform: translateY(-1px); }

.btn-cta-white { background: var(--white); color: var(--blue-deep); font-size: var(--t-lg); padding: 16px 38px; font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.btn-cta-white:hover { background: var(--n100); transform: translateY(-2px) scale(1.015); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }

.btn-cta-dark { background: var(--blue); color: var(--white); border-color: var(--blue); font-size: var(--t-lg); padding: 16px 38px; }
.btn-cta-dark:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 36, 96, 0.25); }

.btn-lg  { padding: 15px 32px; font-size: var(--t-lg); }
.btn-xl  { padding: 17px 40px; font-size: var(--t-lg); font-weight: 700; }

.header-cta  { font-size: var(--t-sm); padding: 10px 20px; }
.icon-wa     { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── SITE HEADER ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  background: transparent;
}
.site-header > * {
  pointer-events: auto;
}
.site-header.scrolled {
  top: 10px;
}
.header-inner {
  width: 90%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--s6);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 32px rgba(15, 36, 96, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.75);
  transition:
    height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled .header-inner {
  height: 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 12px 36px rgba(15, 36, 96, 0.09), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  border-color: rgba(220, 226, 238, 0.85);
  padding-inline: var(--s6);
}
.header-logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-img {
  height: 40px; width: auto;
  object-fit: contain; object-position: left center;
  transition: height var(--dur-base) var(--ease);
}
.site-header.scrolled .logo-img { height: 34px; }
.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: var(--s5); }
.nav-link {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--n600);
  position: relative;
  padding-block: var(--s1);
  transition: color var(--dur-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  border-radius: 1px;
  transition: width var(--dur-base) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { font-weight: 700; }
.header-actions { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--s2);
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
  cursor: pointer;
}
.hamburger:hover { background: var(--n100); }
.hamburger-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base);
  transform-origin: center;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--color-hero-sky);
  overflow: hidden;
  padding-top: clamp(8px, 2vh, 24px);
  padding-bottom: clamp(12px, 2.5vh, 28px);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-bg-shape {
  position: absolute;
  top: 0; right: 0;
  width: 52%; height: 100%;
  background: var(--n50);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-bg-line {
  position: absolute;
  background: var(--yellow);
  border-radius: 2px;
  z-index: 0;
}
.hero-bg-line--1 { width: 3px; height: 72px; top: 12%; right: 48.5%; opacity: 0.45; animation: floatV 7s ease-in-out infinite; }
.hero-bg-line--2 { width: 44px; height: 3px; bottom: 32%; right: 22%; opacity: 0.35; animation: floatH 9s ease-in-out infinite; }
.hero-bg-line--3 { width: 2px; height: 40px; bottom: 18%; left: 10%; opacity: 0.18; animation: floatV 5s ease-in-out 1s infinite; }
@keyframes floatV { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatH { 0%, 100% { transform: rotate(-28deg) translateX(0); } 50% { transform: rotate(-28deg) translateX(8px); } }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3.2vw, var(--s8));
  display: grid;
  /* Balanced 1:1.12 ratio gives the 3D stage breathing room while keeping CTAs above the fold */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: center;
  min-height: clamp(440px, calc(100vh - var(--header-h) - 36px), 740px);
  padding-block: clamp(6px, 1.5vh, 20px);
}
.hero-content { max-width: 580px; }

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s2);
  opacity: 0;
  animation: fadeUp 0.75s var(--ease-out-expo) 0.1s forwards;
}
.eyebrow-dash {
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
  border-radius: 2px;
}

/* ── Hero Eyebrow Badge ───────────────────────────────────── */
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 14px;
  background: rgba(26, 58, 143, 0.05);
  border: 1px solid rgba(26, 58, 143, 0.12);
  border-radius: var(--r-pill);
  margin-bottom: var(--s5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 0.1s forwards;
}
.hero-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc40;
  box-shadow: 0 0 0 0 rgba(46, 204, 64, 0.6);
  animation: statusPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes statusPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 64, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(46, 204, 64, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 64, 0); }
}
.hero-eyebrow-tag {
  display: inline-block;
  padding: 2px 7px;
  background: var(--yellow);
  color: var(--blue-deep);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-left: 4px;
}

/* ── Hero Title & Typewriter Effect ──────────────────────── */
.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: var(--s4);
}
.hero-typewriter-container {
  display: inline-block;
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.hero-typewriter-container::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.55;
  border-radius: 3px;
}
.hero-typewriter-text {
  font-weight: 800;
  color: var(--blue);
}
.hero-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.88em;
  background: var(--yellow);
  vertical-align: -0.06em;
  margin-left: 3px;
  border-radius: 1.5px;
  animation: cursorBlink 0.9s steps(1) infinite;
}
@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.hero-title-sub {
  color: var(--ink);
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--n600);
  line-height: 1.55;
  margin-bottom: var(--s5);
  max-width: 480px;
  animation: fadeUp 0.5s var(--ease-out-expo) 0.08s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
  animation: fadeUp 0.5s var(--ease-out-expo) 0.14s both;
}

/* ── Hero Trust Badges ───────────────────────────────────── */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s6);
  animation: fadeUp 0.5s var(--ease-out-expo) 0.20s both;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--color-cloud-card);
  border: 1px solid rgba(26, 58, 143, 0.08);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--n600);
  transition: transform var(--dur-fast), background var(--dur-fast);
}
.hero-badge-pill:hover {
  transform: translateY(-2px);
  background: #e2e8f5;
}
.hero-badge-icon {
  font-size: 0.85rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroGrandEntrance {
  0%   { opacity: 0; transform: translateX(28px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes springPop {
  0%   { opacity: 0; transform: scale(0.88) translateY(16px); }
  65%  { transform: scale(1.03) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   3D STUDIO STAGE & KINEMATIC MOVING TRUCK
   ═══════════════════════════════════════════════════════════ */
.hero-visual {
  position: relative;
  width: 100%;
  /* Fills remaining grid cell without forcing excess height */
  min-height: clamp(300px, 44vh, 520px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  animation: heroGrandEntrance 0.85s var(--ease-premium) 0.28s forwards;
}

.hero-stage-viewport {
  position: relative;
  width: 100%;
  /* Wider cap so the road perspective has room to breathe on large screens */
  max-width: min(720px, 100%);
  /* No CSS perspective — Three.js owns the 3D projection entirely */
}

.hero-truck-canvas-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  background: transparent;
  /* Canvas oculto por defecto — solo aparece si WebGL carga OK */
  display: none;
}

.hero-truck-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  outline: none;
  transition: opacity 0.6s ease;
}

.hero-truck-canvas.is-ready {
  opacity: 1;
}

/* Fallback 2D — siempre visible por defecto */
.hero-truck-fallback {
  position: relative;
  width: 100%;
  min-height: 320px;
}

/* Cuando WebGL carga bien: mostrar canvas, ocultar fallback */
.hero-stage-viewport.is-webgl .hero-truck-canvas-wrap {
  display: block;
}
.hero-stage-viewport.is-webgl .hero-truck-fallback {
  display: none;
}
/* Cuando WebGL falla: ocultar canvas, mostrar fallback */
.hero-stage-viewport.is-fallback .hero-truck-canvas-wrap {
  display: none;
}

/* Road Plane with continuous forward motion */
.hero-road-plane {
  position: absolute;
  bottom: 8px;
  left: -5%;
  width: 110%;
  height: 95px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(235, 240, 248, 0.5) 0%, rgba(215, 224, 240, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 45px rgba(15, 36, 96, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transform: perspective(600px) rotateX(46deg);
  transform-origin: center bottom;
  overflow: hidden;
  z-index: 1;
}
.hero-road-lines {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0px,
    var(--yellow) 36px,
    transparent 36px,
    transparent 72px
  );
  opacity: 0.8;
  animation: roadMotion 1.1s linear infinite;
}
@keyframes roadMotion {
  from { background-position-x: 0px; }
  to   { background-position-x: -72px; }
}
.hero-road-light-sweep {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.8) 0%, transparent 65%);
  pointer-events: none;
}

/* Truck Rig & Kinematics */
.hero-truck-rig {
  position: relative;
  z-index: 3;
  width: 100%;
  transform-style: preserve-3d;
  animation: truckDriveCruise 4.2s ease-in-out infinite;
  will-change: transform;
}
@keyframes truckDriveCruise {
  0%, 100% { transform: translateX(0px); }
  50%      { transform: translateX(10px); }
}

/* Dynamic contact shadow beneath wheels and chassis */
.hero-truck-shadow {
  position: absolute;
  bottom: 12px;
  left: 12%;
  width: 82%;
  height: 40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(15, 36, 96, 0.45) 0%, rgba(15, 36, 96, 0.18) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 2;
  transform-origin: center;
  animation: shadowPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1) scaleY(1); opacity: 0.85; }
  25%      { transform: scaleX(0.97) scaleY(1.04); opacity: 0.95; }
  75%      { transform: scaleX(1.02) scaleY(0.96); opacity: 0.8; }
}

/* Realistic Truck Chassis with suspension dynamics */
.hero-truck-chassis {
  position: relative;
  z-index: 4;
  width: 100%;
  transform-origin: 30% 90%;
  animation: chassisSuspension 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform;
}
@keyframes chassisSuspension {
  0%, 100% { transform: translateY(var(--scroll-shift-y, 0px)) rotate(0deg); }
  25%      { transform: translateY(calc(var(--scroll-shift-y, 0px) - 3px)) rotate(-0.35deg); }
  75%      { transform: translateY(calc(var(--scroll-shift-y, 0px) + 1.5px)) rotate(0.28deg); }
}

.hero-truck-cutout {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  filter: drop-shadow(0 15px 30px rgba(15, 36, 96, 0.1));
  transition: filter var(--dur-base);
}

/* Specular sunlight sheen glint across body */
.hero-truck-glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 45%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 55%,
    transparent 100%
  );
  opacity: 0;
  animation: specularGlint 5.5s ease-in-out infinite;
  border-radius: 20px;
}
@keyframes specularGlint {
  0%, 70%, 100% { opacity: 0; transform: translateX(-60%); }
  85%           { opacity: 1; transform: translateX(60%); }
}

/* Rotating Wheel Rims */
.hero-wheel-hub {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.hero-wheel-hub--front {
  left: 28.5%;
  bottom: 8.5%;
  width: 7.2%;
  aspect-ratio: 1;
}
.hero-wheel-hub--rear {
  left: 75.0%;
  bottom: 14.5%;
  width: 9.8%;
  aspect-ratio: 1;
}
.hero-wheel-spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(255, 255, 255, 0.65) 45deg,
    rgba(255, 255, 255, 0) 90deg,
    rgba(15, 36, 96, 0.45) 180deg,
    rgba(255, 255, 255, 0.6) 270deg,
    rgba(255, 255, 255, 0) 360deg
  );
  mix-blend-mode: overlay;
  opacity: 0.85;
  animation: wheelSpinSpeed 0.45s linear infinite;
}
@keyframes wheelSpinSpeed {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Floating Studio Card */
.hero-stage-card {
  position: absolute;
  top: 4%;
  bottom: auto;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 25px rgba(15, 36, 96, 0.08), inset 0 1px 1px #fff;
  backdrop-filter: blur(12px);
  animation: springPop 0.7s var(--ease-premium) 0.8s forwards;
  opacity: 0;
}
.hero-stage-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-stage-card-info {
  display: flex;
  flex-direction: column;
}
.hero-stage-card-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-stage-card-sub {
  font-size: 0.62rem;
  color: var(--n600);
  font-weight: 500;
}

.hero-trust {
  position: relative; z-index: 1;
  background: var(--white);
  border-top: 1px solid var(--n200);
  opacity: 0;
  animation: springPop 0.6s var(--ease-premium) 0.9s forwards;
  width: 100%;
}
.trust-inner {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--s8);
  padding-block: var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-inner::-webkit-scrollbar { display: none; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex-shrink: 0; }
.trust-num { font-size: var(--t-2xl); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.trust-label { font-size: 0.65rem; font-weight: 600; color: var(--n400); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.trust-sep { width: 1px; height: 36px; background: var(--n200); flex-shrink: 0; }

/* ─── SERVICIOS ───────────────────────────────────────────── */
.section-services { padding-block: var(--s28); background: var(--white); }
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  align-items: end;
  margin-bottom: var(--s14);
}
.services-intro { font-size: var(--t-base); color: var(--n600); line-height: 1.68; align-self: end; }

.services-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--element-gap);
}
.services-featured { display: flex; flex-direction: column; gap: var(--element-gap); }

.svc-card {
  position: relative;
  padding: var(--card-padding);
  border-radius: var(--r-card);
  flex: 1;
  overflow: hidden;
  min-height: 220px;
  background: var(--bg-surface);
  border: 1px solid var(--n200);
  box-shadow: var(--shadow-bevel);
  transition: transform var(--dur-base) var(--ease-premium), box-shadow var(--dur-base) var(--ease-premium), border-color var(--dur-base) var(--ease-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 36, 96, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border-color: var(--yellow);
}
.svc-card--yellow { background: var(--color-signal-gold); border-color: var(--color-signal-gold); color: var(--color-charcoal); }
.svc-card--dark   { background: var(--color-charcoal); color: var(--color-paper-white); border-color: var(--color-charcoal); }
.svc-card--yellow .svc-n { color: var(--color-charcoal); opacity: 0.2; }
.svc-card--dark   .svc-n { color: var(--color-paper-white); opacity: 0.2; }
.svc-card--yellow .svc-title { color: var(--color-charcoal); }
.svc-card--yellow .svc-desc { color: var(--color-charcoal); opacity: 0.8; }
.svc-card-arrow {
  position: absolute;
  bottom: var(--s5); right: var(--s7);
  font-size: var(--t-2xl); font-weight: 300;
  opacity: 0.18;
  transition: opacity var(--dur-fast), transform var(--dur-base) var(--ease);
}
.svc-card--yellow .svc-card-arrow { color: var(--blue-deep); }
.svc-card:hover .svc-card-arrow { opacity: 0.5; transform: translateX(4px); }

.services-list {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}
.svc-row {
  display: flex;
  align-items: center;
  gap: var(--element-gap);
  padding: var(--card-padding);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--dur-fast) var(--ease-premium), background-color var(--dur-fast) var(--ease-premium), opacity var(--dur-fast);
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover {
  background: var(--color-paper-white);
  transform: translateX(8px);
}
.services-list:has(.svc-row:hover) .svc-row:not(:hover) { opacity: 0.42; }
.svc-row-n { font-size: var(--t-sm); font-weight: 800; color: var(--yellow-d); flex-shrink: 0; min-width: 26px; }
.svc-row-body { flex: 1; }
.svc-row-title { font-size: var(--t-sm); font-weight: 600; color: var(--ink); margin-bottom: 2px; line-height: 1.3; }
.svc-row-desc { font-size: var(--t-xs); color: var(--n600); line-height: 1.5; }
.svc-row-arrow { font-size: var(--t-xl); color: var(--n300); flex-shrink: 0; transition: color var(--dur-fast), transform var(--dur-base) var(--ease); }
.svc-row:hover .svc-row-arrow { color: var(--yellow-d); transform: translateX(4px); }

.services-cta {
  display: flex;
  align-items: center;
  gap: var(--s6);
  margin-top: var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid var(--n200);
  flex-wrap: wrap;
}
.services-cta-note { font-size: var(--t-sm); color: var(--n400); font-weight: 500; }

/* ─── GRÚA ────────────────────────────────────────────────── */
.section-grua { position: relative; background: var(--yellow); overflow: hidden; }
.grua-img-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.grua-bg-img {
  position: absolute;
  top: -5%; right: -2%;
  width: 58%; height: 110%;
  object-fit: cover; object-position: left center;
  opacity: 0.18;
  /* filter eliminado — no compositor-friendly en elementos con transform scroll */
}
.grua-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--yellow) 0%, rgba(255,217,0,0.9) 30%, rgba(255,217,0,0.35) 75%);
}
.grua-content-wrap {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s8);
}
.grua-grid {
  padding-block: var(--s24);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s16);
  align-items: center;
}
.grua-title { font-size: clamp(var(--t-3xl), 3.8vw, var(--t-5xl)); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; color: var(--blue-deep); margin-bottom: var(--s5); }
.grua-body { font-size: var(--t-base); color: var(--blue); opacity: 0.75; line-height: 1.72; margin-bottom: var(--s8); max-width: 500px; }
.grua-checklist { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s8); }
.grua-check-item { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-base); font-weight: 600; color: var(--blue-deep); }
.grua-chk { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-deep); flex-shrink: 0; position: relative; }
.grua-chk::after { content: ''; position: absolute; top: 5px; left: 7px; width: 6px; height: 9px; border: 2px solid var(--yellow); border-top: none; border-left: none; transform: rotate(45deg); }
.grua-stat-side { display: flex; align-items: center; justify-content: center; }
.grua-big-stat {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  background: var(--blue-deep);
  padding: var(--s12) var(--s14);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(15,36,96,0.3);
}
.grua-stat-n { font-size: var(--t-8xl); font-weight: 800; color: var(--yellow); line-height: 1; letter-spacing: -0.07em; display: block; }
.grua-stat-unit { display: block; font-size: var(--t-2xl); font-weight: 700; color: var(--white); margin-top: var(--s2); }
.grua-stat-sub { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.12em; margin-top: var(--s2); line-height: 1.6; }

/* ─── POR QUÉ DOKINO ──────────────────────────────────────── */
.section-why { padding-block: var(--s24); background: var(--n50); position: relative; }
.section-why::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--yellow), var(--yellow-d) 50%, transparent); }

.why-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: end;
  margin-bottom: var(--s12);
  padding-bottom: var(--s12);
  border-bottom: 1px solid var(--n200);
}
.why-head-inner { display: flex; flex-direction: column; gap: var(--s4); }
.why-lead { font-size: var(--t-base); color: var(--n600); line-height: 1.72; max-width: 400px; }

.why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--section-gap);
  gap: var(--element-gap);
  background: transparent;
  border: none;
}
.why-pillar {
  padding: var(--card-padding);
  background: var(--bg-surface);
  border-radius: var(--r-card);
  position: relative;
  transition: transform var(--dur-base) var(--ease-premium), box-shadow var(--dur-base) var(--ease-premium), background-color var(--dur-base) var(--ease-premium);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255,255,255,0.5);
}
.why-pillar:hover {
  background: var(--color-paper-white);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 36, 96, 0.08);
}
.why-pillar::after { content: none; }
.why-pillar:hover::after { transform: scaleX(1); }
.why-pillar-n { display: block; font-size: clamp(var(--t-4xl), 4.5vw, var(--t-7xl)); font-weight: 800; color: var(--yellow-d); letter-spacing: -0.06em; line-height: 1; margin-bottom: var(--s3); }
.why-pillar-title { font-size: var(--t-lg); font-weight: 700; color: var(--ink); margin-bottom: var(--s2); line-height: 1.25; }
.why-pillar-desc { font-size: var(--t-sm); color: var(--n600); line-height: 1.65; }

.why-strip { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s10); }
.why-strip-item {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4);
  border: 1px solid var(--n200); border-radius: 100px;
  font-size: var(--t-sm); font-weight: 500; color: var(--n800);
  background: var(--white);
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast), transform var(--dur-base) var(--ease);
}
.why-strip-item:hover { border-color: var(--yellow); background: var(--yellow-bg); color: var(--blue-deep); transform: translateY(-2px); }
.why-strip-icon { width: 15px; height: 15px; color: var(--yellow-d); flex-shrink: 0; }

.why-cta { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }

/* ─── EMPRESA ─────────────────────────────────────────────── */
.section-empresa { padding-block: var(--s28); background: var(--n50); }
.empresa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: center; }
.empresa-img-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.empresa-img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 24px 64px rgba(0,0,0,0.1); transition: transform var(--dur-xl) var(--ease); }
.empresa-img-wrap:hover .empresa-img { transform: scale(1.02); }
.empresa-stat-badge { position: absolute; bottom: -18px; left: -18px; z-index: 2; background: var(--yellow); padding: var(--s4) var(--s5); border-radius: var(--r-lg); box-shadow: 0 10px 32px rgba(255,217,0,0.35); }
.empresa-stat-n { display: block; font-size: var(--t-3xl); font-weight: 800; color: var(--blue-deep); line-height: 1; letter-spacing: -0.04em; }
.empresa-stat-t { display: block; font-size: 0.65rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-top: 3px; }
.empresa-body { font-size: var(--t-base); color: var(--n600); line-height: 1.78; margin-bottom: var(--s4); max-width: 52ch; }
.empresa-stats-row { display: flex; gap: var(--s8); padding-top: var(--s8); border-top: 1px solid var(--n300); margin-top: var(--s6); }
.empresa-stat-item { display: flex; flex-direction: column; }
.empresa-stat-num { font-size: var(--t-3xl); font-weight: 800; color: var(--yellow-d); letter-spacing: -0.04em; line-height: 1; }
.empresa-stat-label { font-size: 0.65rem; font-weight: 700; color: var(--n400); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ─── PROCESO ─────────────────────────────────────────────── */
.section-proceso { padding-block: var(--s28); background: var(--white); border-top: 1px solid var(--n200); }
.proceso-head { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: var(--s14); }
.proceso-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proceso-line-bg { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: var(--n300); z-index: 0; overflow: hidden; border-radius: 1px; }
.proceso-line-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--yellow), var(--yellow-d)); border-radius: 1px; transform: scaleX(0); transform-origin: left center; transition: transform 1.2s var(--ease); }
.proceso-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--s3); position: relative; z-index: 1; }
.proceso-dot { width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: 2px solid var(--n300); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s5); flex-shrink: 0; transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 260ms var(--ease-spring); }
.proceso-dot span { font-size: var(--t-sm); font-weight: 800; color: var(--n400); transition: color var(--dur-base); }
.proceso-step.active-step .proceso-dot { background: var(--yellow); border-color: var(--yellow); transform: scale(1.1); box-shadow: 0 6px 22px rgba(255,217,0,0.45); }
.proceso-step.active-step .proceso-dot span { color: var(--blue-deep); }
.proceso-step-title { font-size: var(--t-base); font-weight: 700; color: var(--ink); margin-bottom: var(--s2); line-height: 1.3; transition: color var(--dur-base); }
.proceso-step.active-step .proceso-step-title { color: var(--blue); }
.proceso-step-desc { font-size: var(--t-sm); color: var(--n600); line-height: 1.6; }

/* ─── REDUCCIÓN DE MOVIMIENTO ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .dk-reveal { opacity: 1 !important; transform: none !important; }
  .hero-eyebrow, .hero-eyebrow-badge, .hero-title, .hero-subtitle, .hero-actions,
  .hero-visual, .hero-trust, .hero-trust-badges, .hero-stage-card,
  .hero-road-lines, .hero-truck-rig, .hero-truck-shadow, .hero-truck-chassis,
  .hero-truck-glint, .hero-wheel-spinner, .hero-typewriter-cursor {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-truck-canvas.is-ready { opacity: 1 !important; }
  .hero-typewriter-container::after { transform: none !important; }
  .hero-bg-line--1, .hero-bg-line--2, .hero-bg-line--3 { animation: none !important; }
}

/* ─── HIGH CONTRAST ───────────────────────────────────────── */
@media (forced-colors: active) {
  .btn-primary { background: ButtonText; color: ButtonFace; }
  .scroll-progress { background: Highlight; }
}

/* ─── PRINT ───────────────────────────────────────────────── */
@media print {
  .site-header, .scroll-progress, .wa-fab, .hero-bg { display: none !important; }
  .dk-reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 12pt; }
}

/* ═══════════════════════════════════════════════════════════
   SECCIONES ADICIONALES (reviews, faq, cobertura, etc.)
   Estilos base que complementan el CSS principal
   ═══════════════════════════════════════════════════════════ */

/* ─── PRUEBA SOCIAL / RESEÑAS — DISEÑO EDITORIAL PREMIUM ─── */
.section-reviews {
  padding-block: clamp(48px, 6vh, 76px);
  background: var(--n50);
  overflow: hidden;
  position: relative;
}

.reviews-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 42px);
  max-width: 680px;
  margin-inline: auto;
  padding-inline: 16px;
}

.reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(0.68rem, 0.85vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.reviews-eyebrow::before,
.reviews-eyebrow::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.reviews-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 0;
}

.reviews-title .title-break {
  display: block;
}

/* Línea divisoria de acento */
.reviews-divider {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-d));
  border-radius: 2px;
  margin: 16px auto 14px;
}

.reviews-lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--n600);
  line-height: 1.62;
  max-width: 540px;
  margin-inline: auto;
  margin-top: 0;
}
.reviews-carousel-container { position: relative; width: 100%; overflow: hidden; padding-block: var(--s6); }
.carousel-mask-left, .carousel-mask-right {
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.carousel-mask-left  { left: 0;  background: linear-gradient(to right,  var(--n50), transparent); }
.carousel-mask-right { right: 0; background: linear-gradient(to left, var(--n50), transparent); }
.reviews-track  { display: flex; width: max-content; animation: scrollInfinite 40s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
.reviews-group  { display: flex; gap: var(--s6); padding-right: var(--s6); }
@keyframes scrollInfinite { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.review-card {
  width: 340px; background: var(--white); border: 1px solid var(--n200);
  border-radius: var(--r-xl); padding: var(--s8); flex-shrink: 0;
  display: flex; flex-direction: column; gap: var(--s6);
  box-shadow: var(--shadow-bevel);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.review-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-hover); }
.card-top    { display: flex; justify-content: space-between; align-items: center; }
.card-rating { display: flex; align-items: center; gap: var(--s2); }
.stars       { color: #F59E0B; font-size: var(--t-sm); letter-spacing: 1px; }
.badge-verified { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; color: var(--n400); }
.badge-google   { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; color: var(--n600); background: var(--n100); padding: 2px 8px; border-radius: 100px; border: 1px solid var(--n200); }
.card-quote     { font-size: var(--t-base); font-style: italic; color: var(--n600); line-height: 1.6; font-weight: 500; margin: 0; }
.card-user      { display: flex; align-items: center; gap: var(--s4); }
.user-avatar    { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.1); flex-shrink: 0; }
/* SVG avatars (initials) */
.user-avatar[viewBox] { display: block; }
.user-info      { display: flex; flex-direction: column; }
.user-name      { font-size: var(--t-sm); font-weight: 700; color: var(--ink); }
.user-business  { font-size: 0.7rem; color: var(--n400); }
.reviews-metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s6); margin-top: var(--s14);
}
.metric-item {
  background: var(--white); border: 1px solid var(--n200); border-radius: var(--r-xl);
  padding: var(--s8); text-align: center; box-shadow: var(--shadow-bevel);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.metric-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.metric-value { display: block; font-size: var(--t-3xl); font-weight: 800; color: var(--yellow-d); margin-bottom: var(--s1); }
.metric-label { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--n400); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.section-faq  { padding-block: var(--s28); background: var(--white); }
.faq-layout   { display: grid; grid-template-columns: 260px 1fr; gap: var(--s16); align-items: start; }
.faq-col-head { position: sticky; top: calc(var(--header-h) + var(--s8)); display: flex; flex-direction: column; gap: var(--s5); }
.faq-sub      { font-size: var(--t-sm); color: var(--n600); line-height: 1.65; }
.faq-col-list { border-top: 1px solid var(--n200); }
.faq-item     { border-bottom: 1px solid var(--n200); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: var(--s4); padding: var(--s6) 0;
  font-size: var(--t-base); font-weight: 600; color: var(--ink); text-align: left; cursor: pointer;
  transition: color var(--dur-fast); background: none; border: none; font-family: inherit;
}
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--n100);
  flex-shrink: 0; position: relative;
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-spring);
}
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--n400); border-radius: 1px; transition: transform var(--dur-base) var(--ease), opacity var(--dur-base), background var(--dur-base); }
.faq-icon::before { width: 10px; height: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 2px; height: 10px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--yellow); transform: rotate(45deg); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: var(--blue-deep); }
.faq-a       { overflow: hidden; padding-bottom: var(--s6); font-size: var(--t-sm); color: var(--n600); line-height: 1.75; }
.faq-a[hidden] { display: none; }
.faq-a-inner { animation: faqIn 0.28s var(--ease) forwards; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ─── COBERTURA ───────────────────────────────────────────── */
.section-cobertura  { padding-block: var(--s28); background: var(--n50); }
.cobertura-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s14); align-items: center; }
.cobertura-body     { font-size: var(--t-base); color: var(--n600); line-height: 1.72; margin-block: var(--s5); }
.cobertura-areas    { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s7); }
.cobertura-area     { display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s4) var(--s5); border-radius: var(--r); border: 1px solid var(--n200); transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease); }
.cobertura-area:hover { transform: translateX(4px); }
.cobertura-area--primary { border-color: var(--yellow); background: var(--yellow-bg); }
.cob-dot        { width: 11px; height: 11px; border-radius: 50%; background: var(--n300); flex-shrink: 0; margin-top: 5px; }
.cob-dot--yellow { background: var(--yellow-d); }
.cob-area-name  { display: block; font-size: var(--t-base); font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.cob-area-desc  { font-size: var(--t-sm); color: var(--n600); line-height: 1.55; }
.cobertura-map  { display: flex; flex-direction: column; align-items: center; padding: var(--s6); background: var(--white); border-radius: var(--r-xl); border: 1px solid var(--n200); box-shadow: 0 4px 16px rgba(0,0,0,0.04); position: relative; overflow: hidden; }
#map-cobertura  { width: 100%; height: 450px; border-radius: var(--r-lg); z-index: 1; }
.spain-svg      { display: none; }
.map-legend     { display: flex; gap: var(--s5); margin-top: var(--s4); position: relative; z-index: 2; }
.map-leg-item   { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-xs); color: var(--n600); }
.map-leg-dot    { width: 9px; height: 9px; border-radius: 50%; }
.map-leg-dot--y { background: var(--yellow-d); }
.map-leg-dot--b { background: var(--blue); opacity: 0.4; }

/* ─── PRESUPUESTO ─────────────────────────────────────────── */
.section-presupuesto { padding-block: var(--s28); background: var(--white); }
.presupuesto-grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--s14); align-items: start; }
.presupuesto-sidebar { position: sticky; top: calc(var(--header-h) + var(--s8)); }
.presupuesto-title { font-size: clamp(var(--t-2xl), 3vw, var(--t-4xl)); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); margin-bottom: var(--s4); }
.presupuesto-sub { font-size: var(--t-sm); color: var(--n600); line-height: 1.72; margin-bottom: var(--s6); }
.presupuesto-trust { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4) var(--s5); background: var(--n50); border-radius: var(--r-lg); border-left: 3px solid var(--yellow); margin-bottom: var(--s6); }
.ptrust-item  { display: flex; align-items: center; gap: var(--s3); }
.ptrust-num   { font-size: var(--t-xl); font-weight: 800; color: var(--yellow-d); letter-spacing: -0.04em; line-height: 1; }
.ptrust-label { font-size: var(--t-xs); font-weight: 500; color: var(--n600); line-height: 1.35; }
.presupuesto-form {
  background: var(--white); border: 1px solid var(--n200); border-radius: var(--r-xl);
  padding: var(--s8); display: flex; flex-direction: column; gap: var(--s6);
  box-shadow: var(--shadow-premium); width: 100%; max-width: 100%; box-sizing: border-box;
  transition: box-shadow var(--dur-base) var(--ease);
}
.presupuesto-form:focus-within { box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: var(--yellow); }
.form-block       { border: none; padding: 0; margin: 0; }
.form-block-title { display: flex; align-items: center; gap: var(--s3); font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); margin-bottom: var(--s4); padding-bottom: var(--s2); border-bottom: 2px solid var(--yellow); width: 100%; }
.form-radios      { display: flex; gap: var(--s4); flex-wrap: wrap; }
.form-radio-opt   { display: flex; align-items: center; gap: var(--s2); cursor: pointer; font-size: var(--t-sm); font-weight: 500; color: var(--n800); user-select: none; padding: var(--s2) var(--s3); border-radius: var(--r); border: 1.5px solid transparent; transition: border-color var(--dur-fast), background var(--dur-fast); }
.form-radio-opt:has(input:checked) { border-color: var(--yellow); background: var(--yellow-bg); }
.form-radio-opt input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.form-radio-opt input[type="radio"]:focus-visible + .radio-ui { box-shadow: 0 0 0 3px rgba(255,217,0,0.3); }
.form-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
.form-cols-2:first-child { margin-top: 0; }
.form-field  { display: flex; flex-direction: column; gap: var(--s1); }
.form-label  { font-size: var(--t-xs); font-weight: 600; color: var(--n800); transition: color var(--dur-fast); }
.form-field:focus-within .form-label { color: var(--blue); }
.req { color: var(--blue); margin-left: 1px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 13px; background: var(--white); border: 1.5px solid var(--n300);
  border-radius: var(--r); font-size: var(--t-sm); color: var(--ink); font-family: var(--font);
  line-height: 1.5; -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--n300); }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--n400); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--yellow-d); box-shadow: 0 0 0 4px rgba(255,217,0,0.2);
  transform: translateY(-1px);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.form-input.err, .form-select.err, .form-textarea.err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,0,29,0.1); }
.form-input.ok,  .form-select.ok,  .form-textarea.ok  { border-color: var(--green); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238E97B2'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 88px; }
.form-check-label { display: flex; align-items: flex-start; gap: var(--s3); cursor: pointer; font-size: var(--t-xs); color: var(--n600); line-height: 1.55; user-select: none; }
.form-checkbox    { position: absolute; opacity: 0; width: 0; height: 0; }
.check-ui { width: 18px; height: 18px; border-radius: var(--r-sm); border: 2px solid var(--n300); background: var(--white); flex-shrink: 0; margin-top: 1px; position: relative; transition: border-color var(--dur-fast), background var(--dur-fast); }
.check-ui::after { content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 8px; border: 2px solid var(--blue-deep); border-top: none; border-left: none; transform: rotate(45deg) scale(0); transition: transform var(--dur-fast) var(--ease-spring); }
.form-checkbox:checked + .check-ui { border-color: var(--yellow-d); background: var(--yellow); }
.form-checkbox:checked + .check-ui::after { transform: rotate(45deg) scale(1); }
.form-link { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-submit-wrap { position: relative; padding-top: var(--s2); }
.btn-submit { width: 100%; position: relative; overflow: hidden; }
.btn-submit.loading .btn-text, .btn-submit.loading .btn-arrow { opacity: 0; }
.btn-submit.loading .btn-spinner { opacity: 1; }
.btn-spinner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--dur-fast); }
.btn-spinner::after { content: ''; width: 20px; height: 20px; border: 2.5px solid rgba(26,58,143,0.25); border-top-color: var(--blue-deep); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { background: var(--yellow); border-radius: var(--r-xl); padding: var(--s10); text-align: center; animation: popIn 0.55s var(--ease-spring) forwards; }
.form-success[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: scale(0.95) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.form-success-inner { display: flex; flex-direction: column; align-items: center; }
.form-success-icon  { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-deep); color: var(--yellow); font-size: var(--t-xl); font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--s5); }
.form-success-title { font-size: var(--t-2xl); font-weight: 800; color: var(--blue-deep); letter-spacing: -0.02em; margin-bottom: var(--s3); }
.form-success-msg   { font-size: var(--t-sm); color: var(--blue); opacity: 0.75; line-height: 1.65; max-width: 360px; }

/* ─── CTA FINAL ───────────────────────────────────────────── */
.section-cta-final { background: var(--yellow); overflow: hidden; }
.cta-final-wrap    { max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.cta-final-content { padding: var(--s24) var(--s14) var(--s24) var(--s8); display: flex; flex-direction: column; justify-content: center; }
.cta-final-title   { font-size: clamp(var(--t-3xl), 4vw, var(--t-6xl)); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; color: var(--blue-deep); margin-bottom: var(--s4); }
.cta-final-sub     { font-size: var(--t-base); color: var(--blue); opacity: 0.72; line-height: 1.65; margin-bottom: var(--s8); max-width: 400px; }
.cta-final-btns    { display: flex; gap: var(--s4); flex-wrap: wrap; }
.cta-final-truck   { position: relative; overflow: hidden; }
.cta-truck-img     { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.cta-truck-fade    { position: absolute; inset: 0; background: linear-gradient(to right, var(--yellow) 0%, rgba(255,217,0,0.1) 100%); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--blue-deep); color: var(--white); }
.site-footer::before { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--yellow), var(--yellow-d) 60%, transparent); }
.footer-top      { max-width: 1320px; margin-inline: auto; padding: var(--s14) var(--s8) var(--s10); display: grid; grid-template-columns: 240px 1fr; gap: var(--s14); }
.footer-brand    { display: flex; flex-direction: column; gap: var(--s5); }
.footer-logo-img { height: 40px; width: auto; object-fit: contain; }
.footer-tagline  { font-size: var(--t-sm); color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 24ch; }
.footer-nav      { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s8); }
.footer-col-h    { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,217,0,0.55); margin-bottom: var(--s5); }
.footer-col ul   { display: flex; flex-direction: column; gap: var(--s3); }
.footer-link     { font-size: var(--t-sm); color: rgba(255,255,255,0.55); transition: color var(--dur-fast); line-height: 1.4; }
.footer-link:hover { color: var(--yellow); }
.footer-contact-list { gap: var(--s4) !important; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: var(--s3); }
.f-icon { width: 14px; height: 14px; flex-shrink: 0; color: rgba(255,255,255,0.3); margin-top: 2px; }
.footer-bottom   { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: var(--s5) var(--s8); font-size: var(--t-xs); color: rgba(255,255,255,0.25); letter-spacing: 0.02em; }
.footer-social-grid   { display: flex; flex-direction: column; gap: var(--s3); }
.footer-social-card   { display: flex; align-items: center; gap: var(--s3); text-decoration: none; padding: var(--s2) var(--s3); border-radius: var(--r-sm); transition: background var(--dur-fast); }
.footer-social-card:hover { background: rgba(255,255,255,0.06); }
.footer-social-icon   { width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-social-icon--ig, .footer-social-icon--fb { background: rgba(255,255,255,0.08); color: var(--white); }
.footer-social-info   { display: flex; flex-direction: column; gap: 2px; }
.footer-social-name   { font-size: var(--t-sm); font-weight: 600; color: rgba(255,255,255,0.75); line-height: 1.3; }
.footer-social-handle { font-size: var(--t-xs); color: rgba(255,255,255,0.38); line-height: 1.3; }

/* ─── WA FAB ──────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: var(--s8);
  right: var(--s8);
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
.wa-fab:active {
  transform: scale(0.96) translateY(1px);
}
.wa-fab svg { width: 26px; height: 26px; color: var(--white); }
.wa-tooltip { position: absolute; right: calc(100% + 10px); background: var(--ink); color: var(--white); font-size: var(--t-xs); font-weight: 600; padding: 5px 11px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--dur-fast); font-family: var(--font); }
.wa-tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right-width: 0; border-left-color: var(--ink); }
.wa-fab:hover .wa-tooltip { opacity: 1; }

/* ─── MOBILE CTA BAR ──────────────────────────────────────── */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 997; padding: 10px 16px; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--n200); display: none; }
.btn-mobile-full { width: 100%; padding: 14px; font-size: var(--t-base); box-shadow: 0 10px 30px rgba(255,217,0,0.3); }

/* ─── CASOS DE ÉXITO ──────────────────────────────────────── */
.section-success  { padding-block: var(--s24); background: var(--white); }
.success-header   { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: var(--s12); }
.success-lead     { font-size: var(--t-base); color: var(--n600); margin-top: var(--s4); line-height: 1.6; }
.success-grid     { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.success-card {
  background: var(--bg-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
  box-shadow: var(--shadow-bevel);
  border: 1px solid var(--n200);
  border-top: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.success-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 36, 96, 0.08);
  background: var(--white);
}
.success-content { padding: var(--s6); }
.success-tag   { display: inline-block; font-size: var(--t-xs); font-weight: 800; color: var(--yellow-d); text-transform: uppercase; margin-bottom: var(--s2); }
.success-title { font-size: var(--t-lg); font-weight: 700; color: var(--ink); margin-bottom: var(--s2); line-height: 1.3; }
.success-desc  { font-size: var(--t-sm); color: var(--n600); line-height: 1.5; }

/* ─── GALERÍA ─────────────────────────────────────────────── */
.section-gallery { padding-block: var(--s24); background: var(--white); position: relative; overflow: hidden; }
.section-gallery::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--n200); }
.gallery-header { max-width: 680px; margin-bottom: var(--s12); }
.gallery-header .section-title { margin-block: var(--s3) var(--s4); }
.gallery-lead   { font-size: var(--t-base); color: var(--n600); line-height: 1.72; }
.gal-block      { padding-block: var(--s8); border-top: 1px solid var(--n200); }
.gal-block:first-of-type { border-top: none; padding-top: 0; }
.gal-block-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s6); flex-wrap: wrap; }
.gal-block-meta { display: flex; align-items: flex-start; gap: var(--s4); flex: 1; min-width: 0; }
.gal-index-label { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--yellow); color: var(--blue-deep); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.04em; margin-top: 2px; }
.gal-block-title { font-size: var(--t-xl); font-weight: 800; color: var(--ink); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 4px; }
.gal-block-desc  { font-size: var(--t-sm); color: var(--n600); line-height: 1.65; max-width: 480px; }
.gal-block-controls { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }
.gal-counter     { font-size: var(--t-xs); font-weight: 700; color: var(--n400); letter-spacing: 0.06em; min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; }
.gal-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--ink); border: 1.5px solid var(--n200); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease); flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.gal-btn svg     { width: 18px; height: 18px; flex-shrink: 0; }
.gal-btn:hover   { background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); transform: scale(1.08); box-shadow: 0 4px 16px rgba(255,202,0,0.4); }
.gal-btn:active  { transform: scale(0.94); }
.gal-btn:focus-visible { outline: 2.5px solid var(--yellow); outline-offset: 3px; }
.gal-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.gal-stage       { position: relative; overflow: hidden; border-radius: var(--r-xl); cursor: grab; user-select: none; -webkit-user-select: none; }
.gal-stage:active { cursor: grabbing; }
.gal-track       { display: flex; gap: 12px; transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); padding: 4px 0 12px; }
.gal-track.is-dragging { transition: none; }
.gal-slide       { flex: 0 0 auto; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--n100); cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform 340ms var(--ease-premium), box-shadow 340ms var(--ease-premium); aspect-ratio: 4/3; }
.gal-slide picture { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.gal-slide img   { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 520ms var(--ease-premium); }
.gal-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(15,36,96,0.28) 100%); opacity: 0; transition: opacity 320ms var(--ease); pointer-events: none; border-radius: inherit; }
.gal-slide::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.7); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7' stroke='%230f2460' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/20px; box-shadow: 0 4px 16px rgba(0,0,0,0.18); opacity: 0; transition: opacity 280ms var(--ease), transform 280ms var(--ease-spring); pointer-events: none; z-index: 3; }
.gal-slide:hover { transform: translateY(-4px) scale(1.008); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }
.gal-slide:hover img { transform: scale(1.045); }
.gal-slide:hover .gal-slide-overlay { opacity: 1; }
.gal-slide:hover::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gal-dots        { display: flex; justify-content: center; align-items: center; gap: 6px; padding-top: var(--s4); flex-wrap: wrap; }
.gal-dot         { width: 6px; height: 6px; border-radius: 50%; background: var(--n300); border: none; padding: 0; cursor: pointer; transition: background var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease-spring), width var(--dur-base) var(--ease); flex-shrink: 0; }
.gal-dot:hover   { background: var(--n400); transform: scale(1.3); }
.gal-dot.is-active { background: var(--yellow); width: 20px; border-radius: 3px; }
.gal-dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ─── LIGHTBOX ────────────────────────────────────────────── */
.gal-lightbox    { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; }
.gal-lightbox[hidden] { display: none; }
.gal-lb-backdrop { position: absolute; inset: 0; background: rgba(13,19,33,0.92); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); animation: lbFadeIn 280ms var(--ease) forwards; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.gal-lb-shell    { position: relative; z-index: 1; width: 92vw; max-width: 1140px; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: var(--s4); animation: lbSlideIn 320ms var(--ease-spring) forwards; }
@keyframes lbSlideIn { from { opacity: 0; transform: scale(0.92) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.gal-lb-close    { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-base) var(--ease-spring); }
.gal-lb-close svg { width: 20px; height: 20px; }
.gal-lb-close:hover { background: var(--yellow); color: var(--blue-deep); transform: rotate(90deg) scale(1.1); }
.gal-lb-close:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gal-lb-img-wrap { width: 100%; max-height: 76vh; display: flex; align-items: center; justify-content: center; border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,0.04); }
.gal-lb-img      { max-width: 100%; max-height: 76vh; width: auto; height: auto; object-fit: contain; border-radius: var(--r-lg); display: block; box-shadow: 0 32px 80px rgba(0,0,0,0.6); }
.gal-lb-nav      { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.88); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-base) var(--ease-spring); z-index: 2; }
.gal-lb-nav svg  { width: 22px; height: 22px; }
.gal-lb-prev     { left: -70px; }
.gal-lb-next     { right: -70px; }
.gal-lb-nav:hover { background: var(--yellow); color: var(--blue-deep); border-color: var(--yellow); transform: translateY(-50%) scale(1.1); }
.gal-lb-nav:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gal-lb-footer   { display: flex; align-items: center; justify-content: center; gap: var(--s4); width: 100%; }
.gal-lb-collection { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.42); }
.gal-lb-count    { font-size: var(--t-xs); font-weight: 600; color: rgba(255,255,255,0.55); font-variant-numeric: tabular-nums; }

/* ─── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { padding: 0 var(--s8) 0; margin-top: -20px; max-width: 1320px; margin-inline: auto; }
.breadcrumb-list   { display: flex; align-items: center; gap: var(--s2); list-style: none; }
.breadcrumb-item   { font-size: var(--t-xs); font-weight: 500; color: var(--n400); }
.breadcrumb-item a { color: var(--n600); transition: color var(--dur-fast); }
.breadcrumb-item a:hover { color: var(--blue); }
.breadcrumb-item.active { color: var(--ink); font-weight: 700; }
.breadcrumb-sep    { font-size: var(--t-xs); color: var(--n300); }


/* ═══════════════════════════════════════════════════════════════
   SISTEMA RESPONSIVE — ÚNICO BLOQUE CONSOLIDADO
   Orden: 1100 → 1024 → 768 → 480 → 375 → 320
   Desktop queda intacto. Solo mobile/tablet se modifica.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1100px ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .presupuesto-grid  { grid-template-columns: 1fr; gap: 40px; }
  .presupuesto-sidebar { position: static; }
  .faq-layout        { grid-template-columns: 1fr; gap: 40px; }
  .faq-col-head      { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: center; }
}

/* ── 1024px (Tablet landscape / iPad) ──────────────────────── */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .hero { padding-top: clamp(10px, 2vh, 20px); padding-bottom: clamp(10px, 2vh, 24px); }
  .hero-inner        { gap: clamp(18px, 2.5vw, 36px); min-height: auto; padding-block: clamp(10px, 1.8vh, 24px); }
  .hero-title        { font-size: clamp(1.95rem, 3.2vw, 2.7rem); }
  .hero-subtitle     { font-size: 0.95rem; margin-bottom: 14px; }
  .hero-visual       { min-height: clamp(230px, 32vh, 360px); }
  .hero-truck-canvas-wrap { min-height: 240px; }
  .services-header   { grid-template-columns: 1fr; gap: 20px; }
  .cobertura-grid,
  .empresa-grid      { gap: 40px; }
  .why-head          { grid-template-columns: 1fr; gap: 24px; }
  .why-lead          { max-width: 100%; }
  .footer-nav        { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .cta-final-wrap    { grid-template-columns: 1fr; }
  .cta-final-truck   { display: none; }
  .cta-final-content { padding: 64px 40px; }
  .success-grid      { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gal-lb-prev       { left: -58px; }
  .gal-lb-next       { right: -58px; }
}

/* ── 860px (solo rango tablet) ────────────────────────────── */
@media (max-width: 860px) and (min-width: 769px) {
  .proceso-track   { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .proceso-line-bg { display: none; }
  .why-pillars     { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   768px — BREAKPOINT PRINCIPAL MÓVIL
   Todo lo que cambia de escritorio a móvil va aquí.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Prevenir scroll horizontal */
  html, body { overflow-x: hidden; }

  .hidden-sm-block { display: none; }

  /* ── Container ────────────────────────────────────────── */
  .container { padding-inline: 16px; }

  /* ── Header ───────────────────────────────────────────── */
  .site-header   { top: 10px; }
  .site-header.scrolled { top: 6px; }
  .header-inner  { padding-inline: 12px; gap: 8px; height: 54px; width: calc(100% - 24px); }
  .logo-img      { height: 32px; }
  .header-nav, .header-actions { display: none; }
  .hamburger     { display: flex; margin-left: auto; }
  .header-nav.nav-open {
    display: flex; position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 999;
    flex-direction: column; padding: 20px 16px;
    border-top: 1px solid var(--n200); overflow-y: auto;
    animation: navSlide 0.3s var(--ease) forwards;
  }
  @keyframes navSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .header-nav.nav-open .nav-list  { flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav.nav-open .nav-link  { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--n100); color: var(--ink); }
  .header-nav.nav-open .nav-link::after { display: none; }
  .mobile-nav-cta-wrap { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

  /* ── Hero ─────────────────────────────────────────────── */
  .hero          { padding-top: 74px; padding-bottom: 0; }
  .hero-bg-shape, .hero-bg-line--1, .hero-bg-line--2, .hero-bg-line--3 { display: none; }
  .hero-inner    {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 0;
    padding-inline: 16px;
    min-height: auto;
    align-items: start;
  }
  .hero-content  { max-width: 100%; order: 1; }
  .hero-visual   { order: 2; width: 100%; margin-inline: 0; padding-top: 8px; padding-bottom: 20px; overflow-x: clip; min-height: auto; }
  .hero-stage-viewport { max-width: 100%; }
  .hero-truck-canvas-wrap { min-height: 220px; aspect-ratio: 16 / 9; }
  .hero-road-plane { height: 75px; bottom: 6px; }
  .hero-stage-card { top: auto; bottom: -6px; right: 4px; padding: 6px 12px; }
  .hero-stage-card-icon { width: 26px; height: 26px; }
  .hero-stage-card-title { font-size: 0.66rem; }
  .hero-stage-card-sub { font-size: 0.58rem; }
  .hero-eyebrow-badge { font-size: 0.56rem; padding: 4px 8px; gap: 5px; max-width: 100%; }
  .hero-eyebrow-tag   { font-size: 0.52rem; padding: 1px 5px; }
  .hero-typewriter-container { display: inline; }
  .hero-trust-badges { margin-top: 14px; gap: 6px; }
  .hero-badge-pill { font-size: 0.70rem; padding: 4px 8px; }
  .hero-title     { font-size: clamp(26px, 7.5vw, 38px); line-height: 1.08; margin-bottom: 10px; }
  .hero-subtitle  { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
  .hero-actions   { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { justify-content: center; }

  /* Trust bar */
  .hero-trust    { width: 100%; }
  .trust-inner   { flex-wrap: wrap; justify-content: center; padding-inline: 16px; gap: 12px 10px; padding-block: 16px; }
  .trust-item    { flex: 1 1 72px; min-width: 72px; max-width: 110px; text-align: center; }
  .trust-num     { font-size: 18px; }
  .trust-label   { font-size: 0.55rem; }
  .trust-sep     { display: none; }

  /* ── Secciones (padding reducido para móvil) ──────────── */
  .section-why,
  .section-services,
  .section-grua,
  .section-empresa,
  .section-proceso,
  .section-faq,
  .section-cobertura,
  .section-presupuesto,
  .section-reviews,
  .section-success,
  .section-gallery { padding-block: 40px; }

  .section-eyebrow { font-size: 0.58rem; }
  .section-title   { font-size: clamp(22px, 7vw, 32px); }

  /* ── Por qué DOKINO ───────────────────────────────────── */
  .why-head      { grid-template-columns: 1fr; margin-bottom: 24px; padding-bottom: 24px; }
  .why-pillars   { grid-template-columns: 1fr; margin-bottom: 24px; gap: 0; border-radius: var(--r-card); overflow: hidden; background: var(--white); border: 1px solid var(--n200); }
  .why-pillar    { border-right: none; border-bottom: 1px solid var(--n200); border-radius: 0; }
  .why-pillar:last-child { border-bottom: none; }
  .why-pillar:hover { transform: none; box-shadow: none; }
  .why-strip     { gap: 6px; margin-bottom: 20px; }
  .why-cta       { flex-direction: column; align-items: stretch; }
  .why-cta .btn  { justify-content: center; }

  /* ── Servicios ────────────────────────────────────────── */
  .services-header  { grid-template-columns: 1fr; margin-bottom: 20px; }
  .services-main    { grid-template-columns: 1fr; gap: 10px; }
  .services-featured { flex-direction: column; gap: 10px; }
  .svc-card         { min-height: auto; padding: 18px 20px; }
  .svc-row          { padding: 12px 16px; }
  .services-cta     { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; padding-top: 16px; }

  /* ── Grúa ─────────────────────────────────────────────── */
  .section-grua  { padding-block: 0; }
  .grua-grid     { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .grua-big-stat { padding: 28px 36px; }
  .grua-stat-n   { font-size: clamp(48px, 16vw, 72px); }
  .grua-title    { font-size: clamp(20px, 6vw, 30px); }
  .grua-body     { font-size: 14px; }

  /* ── Empresa ──────────────────────────────────────────── */
  .empresa-grid      { grid-template-columns: 1fr; gap: 32px; }
  .empresa-img       { height: 200px; }
  .empresa-img-wrap  { overflow: visible; }
  .empresa-stat-badge { left: 14px; bottom: -12px; }
  .empresa-stats-row { gap: 20px; flex-wrap: wrap; }
  .empresa-stat-num  { font-size: 22px; }

  /* ── Proceso ──────────────────────────────────────────── */
  .proceso-head    { margin-bottom: 24px; }
  .proceso-track   { grid-template-columns: 1fr; gap: 16px; }
  .proceso-line-bg { display: none; }
  .proceso-step    { flex-direction: row; text-align: left; align-items: flex-start; gap: 14px; padding-inline: 0; }
  .proceso-dot     { margin-bottom: 0; flex-shrink: 0; width: 42px; height: 42px; }
  .proceso-dot span { font-size: 11px; }

  /* ── Reseñas / Prueba Social Mobile ─────────────────────── */
  .section-reviews { padding-block: 36px; }
  .reviews-header  { margin-bottom: 22px; padding-inline: 12px; }
  .reviews-eyebrow { font-size: 0.65rem; gap: 6px; margin-bottom: 8px; }
  .reviews-eyebrow::before, .reviews-eyebrow::after { width: 12px; }
  .reviews-title   { font-size: clamp(22px, 6.8vw, 28px); line-height: 1.15; max-width: 100%; }
  .reviews-title .title-break { display: inline; }
  .reviews-divider { width: 34px; height: 2.5px; margin: 12px auto 10px; }
  .reviews-lead    { font-size: 14px; line-height: 1.55; max-width: 100%; }
  .review-card     { width: 275px; padding: 18px; }
  .reviews-metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .metric-item     { padding: 20px 16px; }
  .metric-value    { font-size: 22px; }

  /* ── FAQ ──────────────────────────────────────────────── */
  .faq-layout    { grid-template-columns: 1fr; gap: 20px; }
  .faq-col-head  { position: static; flex-direction: column; gap: 10px; align-items: flex-start; }
  .faq-col-list  { border-top: none; }
  .faq-q         { padding: 14px 0; font-size: 14px; }
  .faq-icon      { width: 22px; height: 22px; flex-shrink: 0; }
  .faq-icon::before { width: 8px; height: 2px; }
  .faq-icon::after  { width: 2px; height: 8px; }

  /* ── Cobertura ────────────────────────────────────────── */
  .cobertura-grid  { grid-template-columns: 1fr; gap: 20px; }
  .cobertura-map   { padding: 14px; }
  #map-cobertura   { height: 240px; min-height: 0; }

  /* ── Casos de éxito ───────────────────────────────────── */
  .success-grid    { grid-template-columns: 1fr; gap: 14px; }
  .success-header  { margin-bottom: 20px; }
  .success-content { padding: 20px; }

  /* ── Galería ──────────────────────────────────────────── */
  .gallery-header  { margin-bottom: 20px; }
  .gal-block       { padding-block: 24px; }
  .gal-block-head  { flex-direction: column; gap: 10px; margin-bottom: 14px; }
  .gal-block-meta  { gap: 12px; }
  .gal-block-controls { align-self: flex-start; }
  .gal-block-title { font-size: 17px; }
  .gal-block-desc  { font-size: 13px; }
  .gal-lb-prev     { left: 6px; }
  .gal-lb-next     { right: 6px; }
  .gal-lb-close    { top: -46px; }
  .gal-lb-nav      { width: 44px; height: 44px; }

  /* ── CTA Final ────────────────────────────────────────── */
  .section-cta-final { padding-block: 0; }
  .cta-final-wrap    { grid-template-columns: 1fr; min-height: auto; }
  .cta-final-truck   { display: none; }
  .cta-final-content { padding: 40px 16px; }
  .cta-final-title   { font-size: clamp(22px, 6.5vw, 32px); margin-bottom: 10px; }
  .cta-final-sub     { font-size: 14px; margin-bottom: 20px; }
  .cta-final-btns    { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-cta-white,
  .btn-cta-dark      { justify-content: center; font-size: 15px; padding: 14px 20px; }

  /* ── Formulario ───────────────────────────────────────── */
  .section-presupuesto { padding-block: 40px; }
  .presupuesto-grid    { grid-template-columns: 1fr; gap: 28px; }
  .presupuesto-sidebar { position: static; }
  .presupuesto-title   { font-size: clamp(20px, 6vw, 28px); }
  .presupuesto-form    { padding: 18px; gap: 20px; }
  .form-cols-2         { grid-template-columns: 1fr; gap: 10px; }
  .form-block-title    { font-size: 0.56rem; }
  .form-radios         { gap: 6px; }
  .form-radio-opt      { font-size: 13px; padding: 8px 10px; }

  /* ── Footer ───────────────────────────────────────────── */
  .footer-top    { grid-template-columns: 1fr; padding: 36px 16px 24px; gap: 24px; }
  .footer-nav    { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .footer-col-h  { margin-bottom: 8px; }
  .footer-col ul { gap: 6px; }
  .footer-bottom { padding: 14px 16px; }

  /* ── WA FAB + Mobile CTA bar ──────────────────────────── */
  .wa-fab        { bottom: 74px; right: 14px; width: 46px; height: 46px; }
  .wa-fab svg    { width: 20px; height: 20px; }
  .mobile-cta-bar { display: block; }
  body           { padding-bottom: 68px; }
}

/* ── 480px ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-title     { font-size: clamp(24px, 7vw, 30px); }
  .hero-subtitle  { font-size: 14px; }
  .trust-item     { min-width: 64px; }
  .trust-num      { font-size: 16px; }

  .grua-stat-n    { font-size: clamp(42px, 14vw, 60px); }
  .grua-big-stat  { padding: 22px 28px; }

  .empresa-img    { height: 180px; }

  .proceso-dot    { width: 38px; height: 38px; }

  .review-card    { width: 248px; }

  .gal-btn        { width: 40px; height: 40px; }
  .gal-btn svg    { width: 16px; height: 16px; }

  .footer-nav     { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
}

/* ── 375px ────────────────────────────────────────────────── */
@media (max-width: 375px) {
  .container       { padding-inline: 12px; }
  .hero-inner      { padding-inline: 12px; }
  .hero-visual     { margin-inline: -12px; }
  .hero-title      { font-size: clamp(22px, 6.5vw, 26px); }
  .btn-lg          { padding: 11px 16px; font-size: 13px; }
  .trust-item      { min-width: 58px; }
  .trust-num       { font-size: 15px; }
  .grua-stat-n     { font-size: clamp(38px, 13vw, 52px); }
  .review-card     { width: 232px; }
  .footer-nav      { grid-template-columns: 1fr; gap: 18px; }
  .footer-top      { padding: 28px 12px 20px; }
  .mobile-cta-bar  { padding: 8px 12px; }
}

/* ── 320px ────────────────────────────────────────────────── */
@media (max-width: 320px) {
  .container      { padding-inline: 10px; }
  .hero-inner     { padding-inline: 10px; gap: 14px; }
  .hero-visual    { margin-inline: -10px; }
  .hero-title     { font-size: 20px; }
  .hero-subtitle  { font-size: 13px; }
  .btn            { font-size: 12px; padding: 10px 12px; }
  .grua-stat-n    { font-size: 36px; }
  .review-card    { width: 218px; }
  .gal-btn        { width: 36px; height: 36px; }
  .footer-nav     { grid-template-columns: 1fr; }
  .footer-top     { padding: 24px 10px 16px; }
}
