/* =============================================================
   SOLVAN — Repuestos DJI Agriculture
   styles.css — hoja única, organizada por secciones
   ============================================================= */

/* =============================================================
   1. Fuentes (auto-hosteadas)
   ============================================================= */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   2. Tokens
   ============================================================= */
:root {
  /* Marca — HEX exactos */
  --color-naranja: #be5114;
  --color-blanco-hueso: #f2f2ea;
  --color-azul-petroleo: #003640;

  /* Semánticos */
  --bg: var(--color-azul-petroleo);
  --bg-soft: #04434f;
  --bg-card: #0a4a56;
  --bg-card-hover: #0e5461;
  --bg-deep: #002830;
  --text: var(--color-blanco-hueso);
  --text-mute: rgba(242, 242, 234, 0.68);
  --text-dim: rgba(242, 242, 234, 0.42);
  --accent: var(--color-naranja);
  --accent-2: #e06a1f;
  --accent-soft: rgba(190, 81, 20, 0.16);
  --line: rgba(242, 242, 234, 0.14);
  --line-strong: rgba(242, 242, 234, 0.28);
  --line-accent: rgba(190, 81, 20, 0.35);

  /* Sección invertida (clara) */
  --bg-light: var(--color-blanco-hueso);
  --bg-light-2: #e9e9dd;
  --ink-light: var(--color-azul-petroleo);
  --ink-light-mute: rgba(0, 54, 64, 0.68);
  --line-light: rgba(0, 54, 64, 0.14);

  /* Tipografía */
  --font-titulos: "Space Grotesk", "Poppins", sans-serif;
  --font-cuerpo: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

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

  /* Layout */
  --nav-h: 76px;
  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* =============================================================
   3. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-cuerpo);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
::selection { background: var(--accent); color: var(--color-blanco-hueso); }

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

/* =============================================================
   4. Utilidades
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--accent); color: var(--color-blanco-hueso);
  z-index: 9999; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}
.hero { scroll-margin-top: 0; }
.section-head,
[data-scroll-anchor] {
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}
.section-light { background: var(--bg-light); color: var(--ink-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head {
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

h2.section-title {
  font-family: var(--font-titulos);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: .01em;
  margin-bottom: .9rem;
}
.section-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-mute);
  max-width: 56ch;
}
.section-light .section-sub { color: var(--ink-light-mute); }

/* =============================================================
   5. Componentes — Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-cuerpo);
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: var(--color-blanco-hueso);
  box-shadow: 0 12px 30px -10px rgba(190, 81, 20, 0.55);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(190, 81, 20, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.section-light .btn-outline {
  color: var(--ink-light);
  border-color: var(--line-light);
}
.section-light .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  background: #25d366;
  color: #06371f;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover {
  background: #1ebe59;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.6);
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1rem;
}
.btn-block { width: 100%; }

/* =============================================================
   6. Navbar
   ============================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(0, 54, 64, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
@supports not (backdrop-filter: blur(1px)) {
  .navbar { background: rgba(0, 54, 64, 0.96); }
}
.navbar.is-scrolled {
  background: rgba(0, 40, 48, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.5);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo { display: flex; align-items: center; height: 30px; }
.nav-logo img { height: 100%; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
}
.nav-link {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding-block: .4rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .32s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }
.nav-link:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-ig {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-ig:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.nav-ig svg { width: 18px; height: 18px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  margin-inline: auto;
  transition: transform .32s var(--ease-out), opacity .32s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-deep);
  z-index: 890;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.6rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile a {
  font-family: var(--font-titulos);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
}
.nav-mobile .nav-ig { align-self: flex-start; margin-top: .5rem; }

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

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3.5rem;
  isolation: isolate;
}
/* Capas decorativas de fondo — z-index explícito y pointer-events:none
   para que NUNCA puedan taparse ni bloquear clics sobre el contenido */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(.85);
}
.hero-bg-tint {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,40,48,.88) 0%, rgba(0,40,48,.7) 38%, rgba(0,40,48,.94) 100%),
    linear-gradient(90deg, rgba(0,40,48,.55) 0%, rgba(0,40,48,.15) 45%, rgba(0,40,48,.55) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(242,242,234,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,242,234,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 78%);
}
.hero-glow {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--gx, 50%) var(--gy, 30%), rgba(190,81,20,.32), transparent 62%);
  transition: background .25s var(--ease-out);
}

/* Contenido — siempre por encima de las capas decorativas y siempre clicable */
.hero > .container {
  position: relative;
  z-index: 4;
}

.hero-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1.4rem;
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(190,81,20,.25);
}

.hero-title {
  font-family: var(--font-titulos);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 17ch;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-mute);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.4rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-bottom: 2.6rem;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem;
  background: rgba(242,242,234,.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex: 1 1 220px;
  min-width: 200px;
  backdrop-filter: blur(6px);
  text-align: left;
}
.hero-stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.hero-stat-icon svg { width: 20px; height: 20px; }
.hero-stat-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.hero-stat-value {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-scroll-cue svg {
  width: 16px; height: 16px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue svg { animation: none; }
}
@media (max-width: 719px) { .hero-scroll-cue { display: none; } }

/* =============================================================
   8. Reveal / scroll animations
   ============================================================= */
/* Base: visible sin JS (fallback robusto — ver 04-critical-gotchas D.3) */
.reveal,
.reveal-stagger > * {
  opacity: 1;
  transform: none;
}

/* Con JS activo: estado inicial oculto, revelado por IntersectionObserver */
html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-split] { opacity: 1; transform: none; }

html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .4s; }

/* =============================================================
   9. Cards genéricas
   ============================================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card:hover {
  border-color: var(--line-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.55);
}
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* =============================================================
   10. Sección Precio
   ============================================================= */
.precio-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .precio-grid { grid-template-columns: repeat(3, 1fr); } }

.precio-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.precio-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.precio-card-icon svg { width: 26px; height: 26px; }
.precio-card h3 {
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: 1.15rem;
}
.precio-card p { color: var(--text-mute); font-size: .96rem; }

.precio-banner {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%);
  border: 1px solid var(--line-accent);
}
.precio-banner-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent);
  color: var(--color-blanco-hueso);
}
.precio-banner-icon svg { width: 24px; height: 24px; }
.precio-banner strong { font-family: var(--font-titulos); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em; }
.precio-banner p { color: var(--text-mute); font-size: .92rem; margin-top: .2rem; }

/* =============================================================
   11. Sección Catálogo
   ============================================================= */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 540px) { .catalogo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .catalogo-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } }

.model-card {
  padding: 1.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  background: rgba(0, 54, 64, .04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .4s var(--ease-out);
}
.model-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-accent);
  background: rgba(0, 54, 64, .07);
  box-shadow: 0 26px 46px -26px rgba(0, 54, 64, .45);
}
.model-card-img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  display: flex; align-items: center; justify-content: center;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(120% 130% at 50% 18%, rgba(255,255,255,.5) 0%, transparent 62%),
    linear-gradient(160deg, rgba(0,54,64,.09) 0%, rgba(0,54,64,.03) 100%);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.model-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,54,64,.28));
}
.model-card-badge {
  font-family: var(--font-titulos);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .04em;
}
.model-card-tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-light-mute);
}

.catalogo-footer {
  max-width: 60ch;
  margin-inline: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light);
  color: var(--ink-light-mute);
  text-align: center;
}
.catalogo-footer strong { color: var(--ink-light); }

/* =============================================================
   12. Sección Entrega
   ============================================================= */
.entrega-section { isolation: isolate; }

/* Collage de fondo — mismo recurso de capas que el Hero, con fotos
   ancladas en esquinas opuestas para dar textura sin tapar el contenido */
.entrega-collage {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.entrega-collage-img {
  position: absolute;
  width: clamp(220px, 24vw, 400px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 34px 64px -22px rgba(0, 0, 0, .65);
  opacity: .5;
}
.entrega-collage-img--1 {
  top: -8%;
  right: -5%;
  transform: rotate(7deg);
}
.entrega-collage-img--2 {
  bottom: -10%;
  left: -6%;
  transform: rotate(-6deg);
}
.entrega-tint {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, var(--bg) 40%, transparent 78%),
    linear-gradient(180deg, var(--bg) 0%, rgba(0, 54, 64, .8) 18%, rgba(0, 54, 64, .8) 82%, var(--bg) 100%);
}
.entrega-section > .container {
  position: relative;
  z-index: 2;
}
@media (max-width: 719px) {
  .entrega-collage-img { width: clamp(140px, 42vw, 220px); opacity: .38; }
}

.entrega-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .entrega-layout { grid-template-columns: 1.1fr .9fr; align-items: start; }
}

.entrega-list { display: flex; flex-direction: column; gap: 1.1rem; }
.entrega-item {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
}
.entrega-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.entrega-item-icon svg { width: 22px; height: 22px; }
.entrega-item h3 { font-weight: 600; font-size: 1.02rem; margin-bottom: .25rem; }
.entrega-item p { font-size: .92rem; color: var(--text-mute); }

.zonas-card {
  padding: 1.75rem;
}
.zonas-card h3 {
  font-family: var(--font-cuerpo);
  font-weight: 600;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}
.zonas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.zona-badge {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .85rem;
  background: rgba(242,242,234,.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 500;
}
.zona-badge svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* =============================================================
   13. Sección Nosotros (invertida — clara)
   ============================================================= */
.nosotros-layout {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
@media (min-width: 960px) {
  .nosotros-layout { grid-template-columns: .95fr 1.05fr; }
}
.nosotros-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.nosotros-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.nosotros-media:hover img { transform: scale(1.05); }

.nosotros-text { text-align: center; }
.nosotros-lead { margin-inline: auto; margin-bottom: 1.75rem; max-width: 54ch; }
.nosotros-text p { color: var(--ink-light-mute); margin-bottom: 1.1rem; }
.nosotros-text p:last-child { margin-bottom: 0; }

.promesas-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .promesas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .promesas-grid { grid-template-columns: 1fr; } }

.promesa-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.3rem;
  background: rgba(0,54,64,.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
}
.promesa-card svg {
  width: 22px; height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .1rem;
}
.promesa-card p { font-weight: 500; font-size: .95rem; }

/* =============================================================
   14. Sección Contacto
   ============================================================= */
.contacto-section { position: relative; }
.contacto-bg {
  position: absolute; inset: 0; z-index: -2;
}
.contacto-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.contacto-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,54,64,.85) 50%, var(--bg) 100%);
}

.contacto-box {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.contacto-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.contacto-direct {
  margin-top: 2.25rem;
  font-size: .9rem;
  color: var(--text-mute);
}
.contacto-direct a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-accent); }
.contacto-direct a:hover { color: var(--accent); }

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  background: var(--bg-deep);
  padding-block: 3.5rem 1.75rem;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}
@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1.3fr .85fr .85fr; }
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-mute); font-size: .92rem; max-width: 32ch; }

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .92rem; color: var(--text-mute); transition: color .25s var(--ease-out); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--text-dim);
}
.dji-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .72rem;
  color: var(--text-mute);
}

/* =============================================================
   16. Botón flotante de WhatsApp
   ============================================================= */
.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 950;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #06371f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6);
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 18px 38px -8px rgba(37, 211, 102, 0.7); }

.whatsapp-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.6s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .65; }
  100% { transform: scale(1.55); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + .8rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-deep);
  color: var(--text);
  padding: .55rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out);
}
@media (hover: hover) {
  .whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
}

/* =============================================================
   17. Responsive extra — breakpoints canónicos
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions .btn { width: auto; }
}
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: .65rem; }
  .hero-stat { min-width: 0; flex: 1 1 45%; }
  .contacto-actions { flex-direction: column; align-items: stretch; }
}
@media (min-width: 720px) {
  .section { padding-block: clamp(5rem, 10vw, 8rem); }
}
@media (min-width: 1280px) {
  .zonas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   18. Reduced motion — sólo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-glow { transition: none; }
  * { scroll-behavior: auto !important; }
}
