/* ==========================================================
   NUVEM — Agua purificada, de la naturaleza a tu hogar
   Sistema de diseño basado en la paleta del logotipo:
   navy profundo + oro + azul hielo + crema.
   ========================================================== */

:root {
  --navy-950: #081521;
  --navy-900: #0d2138;
  --navy-800: #133048;
  --navy-700: #1c4463;
  --navy-600: #2a5d86;
  --blue-400: #7fb3d9;
  --blue-200: #cfe4f2;
  --gold: #c9a227;
  --gold-light: #e8cd7a;
  --cream: #f7f4ec;
  --white: #ffffff;
  --ink: #0b1622;
  --gray: #8fa0b0;
  --gray-light: #b9c6d1;

  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy-950);
  color: var(--gray-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 120px 0; }
@media (max-width: 768px) { section { padding: 80px 0; } }

.label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  position: relative;
  padding-left: 26px;
}
.label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.gold { color: var(--gold-light); }
.accent { color: var(--gold-light); }

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: -.01em;
}

/* ---------- Buttons ---------- */
.btn-gold, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -8px rgba(201,162,39,.55);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(201,162,39,.7); }
.btn-outline {
  background: rgba(255,255,255,.03);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--gold-light); background: rgba(201,162,39,.08); transform: translateY(-3px); }

/* ==========================================================
   LOADER
   ========================================================== */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-bulb {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--cream);
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 40px rgba(201,162,39,.45);
  animation: pulse-bulb 1.6s ease-in-out infinite;
}
.loader-bulb img { width: 100%; height: 100%; object-fit: cover; }
@keyframes pulse-bulb { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--blue-400)); animation: loader-fill 1.4s var(--ease) forwards; }
@keyframes loader-fill { to { width: 100%; } }
.loader-text { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); }

/* ==========================================================
   NAVBAR
   ========================================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
#navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(8,21,33,.85);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid rgba(201,162,39,.55);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo-copy { display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo-copy span:first-child { font-size: 17px; font-weight: 800; color: var(--white); letter-spacing: .04em; }
.nav-logo-copy span:last-child { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--gray-light); white-space: nowrap;
  position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--gold-light);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; z-index: 950; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mob-menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
#mob-menu.is-open { transform: translateY(0); }
#mob-menu a { font-size: 20px; font-weight: 700; color: var(--white); }
#mob-menu a:last-child { color: var(--gold-light); }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ==========================================================
   HERO
   ========================================================== */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #163a56 0%, var(--navy-950) 55%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,21,33,.2), var(--navy-950) 92%),
    radial-gradient(circle at 18% 115%, rgba(127,179,217,.18), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(201,162,39,.14), transparent 45%);
}
.hero-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 220px 60px rgba(0,0,0,.55);
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px 2px at 65% 70%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 40%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 85%, rgba(255,255,255,.3), transparent);
  opacity: .5;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-rays { position: absolute; inset: 0; overflow: hidden; opacity: .35; }
.hero-ray {
  position: absolute; top: -20%; width: 2px; height: 140%;
  background: linear-gradient(180deg, rgba(232,205,122,.35), transparent 70%);
  transform-origin: top center;
  filter: blur(1px);
}
.hero-ray.r1 { left: 15%; transform: rotate(8deg); }
.hero-ray.r2 { left: 32%; transform: rotate(-6deg); width: 3px; }
.hero-ray.r3 { left: 50%; transform: rotate(4deg); }
.hero-ray.r4 { left: 68%; transform: rotate(-9deg); width: 3px; }
.hero-ray.r5 { left: 84%; transform: rotate(7deg); }

.hero-grain {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-scanline {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(127,179,217,.15), transparent);
  transform: translateY(-100%);
  animation: scan-once 1.8s var(--ease) .3s forwards;
  pointer-events: none;
}
@keyframes scan-once { to { transform: translateY(100%); } }

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12.5px; font-weight: 600; color: var(--gray-light);
  letter-spacing: .03em;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  opacity: 0; animation: fade-up .8s var(--ease) .2s forwards;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 10px var(--gold-light); animation: dot-pulse 1.8s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--white); margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; opacity: 0; transform: translateY(110%); animation: fade-up .9s var(--ease) forwards; }
.hero-title .line:nth-child(1) span { animation-delay: .35s; }
.hero-title .line:nth-child(2) span { animation-delay: .48s; }
.hero-title .line:nth-child(3) span { animation-delay: .61s; }
.hero-title .accent { background: linear-gradient(100deg, var(--gold-light), var(--blue-400) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0; animation: fade-up .8s var(--ease) .75s forwards;
}
.hero-sub strong { color: var(--white); font-weight: 700; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 54px; opacity: 0; animation: fade-up .8s var(--ease) .9s forwards; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; opacity: 0; animation: fade-up .8s var(--ease) 1.05s forwards; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--gray-light); }
.trust-item i { color: var(--gold-light); font-size: 14px; }
.trust-divider { width: 1px; height: 16px; background: rgba(255,255,255,.15); }

.scroll-cue { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; opacity: .6; }
.scroll-mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-mouse-dot { width: 4px; height: 8px; border-radius: 2px; background: var(--gold-light); animation: scroll-dot 1.6s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 1; transform: translateY(0); } 70%,100% { opacity: 0; transform: translateY(10px); } }

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { justify-content: center; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  padding: 20px 0;
}
.marquee-inner { display: flex; width: max-content; gap: 48px; animation: marquee-scroll 32s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
.marquee-item i { color: var(--gold-light); font-size: 12px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   REVEAL (scroll animation)
   ========================================================== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1.in-view { transition-delay: .1s; }
.reveal.d2.in-view { transition-delay: .2s; }
.reveal.d3.in-view { transition-delay: .3s; }
.reveal.d4.in-view { transition-delay: .4s; }

/* ==========================================================
   WHY — Features
   ========================================================== */
#why { background: var(--navy-900); }
.why-header { display: grid; grid-template-columns: 1.3fr .9fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.why-quote { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--white); line-height: 1.35; }
.why-quote em { font-style: normal; color: var(--gold-light); }
.why-sub { color: var(--gray); font-size: 16px; line-height: 1.75; padding-bottom: 6px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.f-card {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 34px 26px;
  position: relative;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.f-card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,.4); background: linear-gradient(160deg, rgba(201,162,39,.08), rgba(255,255,255,.02)); }
.f-num { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.18); }
.f-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(127,179,217,.12);
  border: 1px solid rgba(127,179,217,.28);
  color: var(--blue-400);
  font-size: 19px; margin-bottom: 22px;
}
.f-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.f-card p { font-size: 14.5px; color: var(--gray); line-height: 1.7; }

@media (max-width: 980px) {
  .why-header { grid-template-columns: 1fr; gap: 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   AMBIENTES — Modalidades de servicio
   ========================================================== */
.ambientes-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.ambiente-pill {
  display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px;
  background: rgba(127,179,217,.1); border: 1px solid rgba(127,179,217,.3);
  color: var(--blue-400); font-size: 13px; font-weight: 700;
}
.ambientes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.amb-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; border: 1px solid rgba(255,255,255,.08); }
.amb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.amb-card:hover .amb-img { transform: scale(1.07); }
.amb-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px 26px;
  background: linear-gradient(180deg, transparent 30%, rgba(8,21,33,.75) 70%, rgba(8,21,33,.96) 100%);
}
.amb-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid; margin-bottom: 16px; font-size: 17px;
}
.amb-overlay h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.amb-overlay p { font-size: 13.5px; color: var(--gray-light); line-height: 1.6; margin-bottom: 14px; }
.amb-temp { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }

@media (max-width: 980px) { .ambientes-grid { grid-template-columns: 1fr; } .amb-card { aspect-ratio: 16/10; } }

/* ==========================================================
   PROCESO
   ========================================================== */
#proceso { background: var(--navy-900); }
.proceso-header { max-width: 620px; margin: 0 auto 64px; text-align: center; }
.proceso-header .label { display: inline-flex; }
.proceso-header p { color: var(--gray); margin-top: 16px; font-size: 16px; }

.proceso-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.proceso-step {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 38px 30px;
  position: relative;
}
.proceso-step::before {
  content: ''; position: absolute; top: 0; left: 30px; width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.step-number { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--gold-light); margin-bottom: 18px; }
.proceso-step h3 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.proceso-step p { font-size: 14.5px; color: var(--gray); line-height: 1.75; }

@media (max-width: 900px) { .proceso-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   PRODUCTO ESTRELLA
   ========================================================== */
.producto-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.producto-lead { font-size: 16.5px; color: var(--gray-light); line-height: 1.75; margin: 20px 0 34px; max-width: 480px; }

.feature-rows { display: flex; flex-direction: column; gap: 22px; margin-bottom: 38px; }
.f-row { display: flex; gap: 16px; align-items: flex-start; }
.f-row-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.3);
  color: var(--gold-light); font-size: 16px;
}
.f-row h4 { font-size: 15.5px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.f-row p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

.specs-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); overflow: hidden; }
.spec-cell { background: var(--navy-900); padding: 20px 14px; text-align: center; }
.spec-val { display: block; font-size: 22px; font-weight: 800; color: var(--gold-light); margin-bottom: 4px; }
.spec-name { display: block; font-size: 11.5px; color: var(--gray); letter-spacing: .03em; }

.panel-scene { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; }
.led-panel-body {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,21,33,.15), rgba(8,21,33,.75)),
    url('../img/nuvem-estacion-05.jpg');
  background-size: cover; background-position: center;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.1);
}
.p-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(8,21,33,.75); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 700; color: var(--white);
}
.pb-tl { top: 22px; left: 22px; }
.pb-br { bottom: 22px; right: 22px; }
.p-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

@media (max-width: 980px) {
  .producto-wrap { grid-template-columns: 1fr; gap: 40px; }
  .panel-scene { aspect-ratio: 16/10; }
}
@media (max-width: 560px) { .specs-bar { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   NUESTRO LOCAL — Estación física real
   ========================================================== */
#local { background: var(--navy-900); }
.local-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.local-lead { font-size: 16.5px; color: var(--gray-light); line-height: 1.75; margin: 20px 0 28px; max-width: 480px; }

.cofepris-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(127,179,217,.08); border: 1px solid rgba(127,179,217,.3);
  margin-bottom: 30px;
}
.cofepris-badge i { font-size: 20px; color: var(--blue-400); }
.cofepris-badge strong { display: block; font-size: 13.5px; color: var(--white); font-weight: 700; }
.cofepris-badge span { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }

.local-facts { display: flex; flex-direction: column; gap: 18px; }
.local-fact { display: flex; gap: 14px; align-items: flex-start; }
.local-fact i { flex-shrink: 0; width: 20px; padding-top: 3px; color: var(--gold-light); font-size: 15px; }
.local-fact p { font-size: 14.5px; color: var(--gray-light); line-height: 1.6; }
.local-fact strong { color: var(--white); }

.local-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.local-photo img { width: 100%; height: 100%; object-fit: cover; }
.local-photo-tag {
  position: absolute; bottom: 18px; left: 18px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(8,21,33,.8); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; color: var(--white);
}

.local-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.local-gallery-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; border: 1px solid rgba(255,255,255,.08); }
.local-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.local-gallery-card:hover img { transform: scale(1.06); }
.local-gallery-caption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 18px 22px;
  background: linear-gradient(180deg, transparent, rgba(8,21,33,.9));
  font-size: 13.5px; font-weight: 600; color: var(--white);
}

@media (max-width: 980px) {
  .local-wrap { grid-template-columns: 1fr; gap: 36px; }
  .local-photo { aspect-ratio: 16/10; }
}
@media (max-width: 640px) { .local-gallery { grid-template-columns: 1fr; } }

/* ==========================================================
   STATS
   ========================================================== */
#stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-cell { text-align: center; }
.stat-num { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--white); background: linear-gradient(135deg, var(--white), var(--blue-200)); -webkit-background-clip: text; background-clip: text; }
.stat-lbl { margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.5; }

@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }

/* ==========================================================
   SECTORES
   ========================================================== */
.sectores-hdr { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.sectores-hdr .label { display: inline-flex; }
.sectores-hdr p { color: var(--gray); margin-top: 16px; font-size: 16px; }

.sectores-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sector-card {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: 30px 16px; text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.sector-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.4); background: rgba(201,162,39,.06); }
.sector-icon { font-size: 24px; color: var(--blue-400); margin-bottom: 14px; }
.sector-card h3 { font-size: 14.5px; font-weight: 700; color: var(--white); }

@media (max-width: 900px) { .sectores-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sectores-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   CONTACTO
   ========================================================== */
#contacto { background: var(--navy-900); }
.contact-hdr { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.contact-hdr .label { display: inline-flex; }
.contact-hdr p { color: var(--gray); margin-top: 16px; font-size: 16px; }

.contact-box {
  display: grid; grid-template-columns: .85fr 1.15fr;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
}
.contact-info {
  padding: 52px 44px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-right: 1px solid rgba(255,255,255,.08);
}
.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.ci-sub { font-size: 14.5px; color: var(--gray); margin-bottom: 34px; line-height: 1.6; }

.ci-list { display: flex; flex-direction: column; gap: 26px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.3);
  color: var(--gold-light); font-size: 16px;
}
.ci-body h4 { font-size: 14.5px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.ci-body p, .ci-body a { font-size: 14px; color: var(--gray-light); line-height: 1.6; }
.ci-body a:hover { color: var(--gold-light); }
.ci-wa-link { display: inline-block; margin-top: 6px; color: var(--gold-light); font-weight: 700; font-size: 13.5px; }

.contact-form-wrap { padding: 52px 44px; }
.contact-form-wrap h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-light); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.14);
  color: var(--white); font-size: 14.5px;
  transition: border-color .3s, background .3s;
}
.form-control::placeholder { color: var(--gray); }
.form-control:focus { outline: none; border-color: var(--gold-light); background: rgba(255,255,255,.05); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%238fa0b0' stroke-width='1.5' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
select.form-control option { background: var(--navy-800); color: var(--white); }

.form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 10px;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: var(--white); font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,.5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(37,211,102,.65); }
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 14px; }

@media (max-width: 900px) {
  .contact-box { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 560px) {
  .contact-info, .contact-form-wrap { padding: 36px 26px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
footer { padding: 48px 0; border-top: 1px solid rgba(255,255,255,.07); background: var(--navy-950); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; color: var(--white); }
.footer-logo img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(201,162,39,.5); }
.footer-copy { font-size: 13px; color: var(--gray); text-align: center; }
.footer-socials { display: flex; gap: 12px; }
.footer-soc {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: var(--gray-light); transition: all .3s;
}
.footer-soc:hover { color: var(--navy-950); background: var(--gold-light); border-color: var(--gold-light); }

/* ==========================================================
   FLOATING WHATSAPP
   ========================================================== */
.wa-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 700;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: var(--white); font-size: 26px;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
@keyframes wa-pulse { 0%,100% { box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); } 50% { box-shadow: 0 10px 40px 0px rgba(37,211,102,.85); } }

/* ==========================================================
   VIDEO DEMO
   ========================================================== */
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.video-frame video { width: 100%; display: block; background: var(--navy-900); }

.local-video-wrap { margin-top: 56px; }
.local-video-wrap .video-frame video { max-height: 560px; object-fit: cover; }

/* ==========================================================
   PAQUETES — Infografías reales de composición
   ========================================================== */
.paquetes-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.paquete-visual-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.paquete-visual-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.4); }
.paquete-visual-card img { width: 100%; display: block; }

@media (max-width: 760px) { .paquetes-visual-grid { grid-template-columns: 1fr; } }
