/* ============================================================
   CENTRO LOGÍSTICO DE CALDAS — styles.css
   Paleta de marca: #FFFFFF · #F0F1F2 · #000000 · #1A1A1A · #97885C
   Tipografía de marca: Roboto (variable)
   ============================================================ */

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:        #101010;
  --bg-deep:   #0b0b0b;
  --card:      #1a1a1a;
  --text:      #f0f1f2;
  --text-soft: rgba(240, 241, 242, 0.72);
  --text-dim:  rgba(240, 241, 242, 0.45);
  --gold:      #97885c;
  --gold-soft: #b3a578;
  --gold-dim:  rgba(151, 136, 92, 0.35);
  --line:      rgba(240, 241, 242, 0.1);
  --glass-bg:  rgba(16, 16, 16, 0.72);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 86px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #101010; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--gold-soft); }

/* ============ CAPAS FIJAS: ESCENA + CONTRASTE ============ */
#scene-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
}
.scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(11, 11, 11, 0.30);
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 32%, rgba(11, 11, 11, 0.42) 72%, rgba(11, 11, 11, 0.85) 100%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, transparent 26%, transparent 72%, rgba(11, 11, 11, 0.72) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 3; }
.nav { z-index: 20; }

/* ============ SPLASH ============ */
.splash {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
  animation: splashSafety 0.01s 4.5s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-symbol { width: 72px; height: auto; animation: splashPulse 2.2s ease-in-out infinite; }
@keyframes splashPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.85; } }
.splash-word {
  font-size: 0.78rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 300; text-align: center; padding-inline: 1rem;
}
.splash-word strong { font-weight: 700; color: var(--text); }
.splash-bar { width: 132px; height: 1px; background: var(--line); overflow: hidden; border-radius: 2px; }
.splash-bar span { display: block; height: 100%; width: 40%; background: var(--gold); animation: splashBar 1.2s ease-in-out infinite; }
@keyframes splashBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(11, 11, 11, 0.82);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid { background: rgba(11, 11, 11, 0.6); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.nav-inner {
  max-width: 1240px; margin-inline: auto;
  height: var(--nav-h);
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { height: 66px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55)); }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text-soft); position: relative; padding-block: 0.4rem;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0%;
  background: var(--gold); transition: width 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.btn-nav { margin-left: 0.4rem; }
.nav-toggle { display: none; }
.nav-mobile { display: none; }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.7rem;
  font-family: inherit; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em;
  border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn-gold {
  background: linear-gradient(135deg, #a89769 0%, var(--gold) 55%, #7e7049 100%);
  color: #0e0e0e;
  box-shadow: 0 8px 28px rgba(151, 136, 92, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(151, 136, 92, 0.4); }
.btn-ghost {
  background: rgba(240, 241, 242, 0.04);
  border-color: rgba(240, 241, 242, 0.28);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-soft); }
.btn-full { width: 100%; }

/* ============ TIPOGRAFÍA / UTILIDADES ============ */
.container { max-width: 1240px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

.kicker {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold-soft);
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.3rem;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }

h1, h2, h3 { line-height: 1.08; font-weight: 900; letter-spacing: -0.015em; text-wrap: balance; }

.section { position: relative; padding-block: clamp(5rem, 12vh, 8.5rem); }
.section-tall { min-height: 92vh; display: flex; align-items: center; }
.section-slim { padding-block: clamp(2.5rem, 6vh, 4rem); }
.section-title { font-size: clamp(1.9rem, 4.4vw, 3.3rem); margin-bottom: 1rem; max-width: 21ch; }
.section-note { color: var(--text-soft); max-width: 52ch; margin-bottom: 2.6rem; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* Glass */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
@supports (backdrop-filter: blur(18px)) {
  .glass { background: rgba(16, 16, 16, 0.55); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
}

/* Icono hexágono de marca */
.hex-ico {
  display: block; width: 30px; height: 34px; margin-bottom: 1.1rem;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.9;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding-top: var(--nav-h);
}
.hero-inner {
  max-width: 1240px; width: 100%;
  margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero-visual {
  position: relative;
  height: clamp(340px, 56vh, 620px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}
.hero-visual::before {
  content: ""; position: absolute; inset: -8%;
  background: radial-gradient(ellipse at 52% 58%, rgba(151, 136, 92, 0.16) 0%, rgba(151, 136, 92, 0.05) 42%, transparent 68%);
  pointer-events: none;
}
#bodega-canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: clamp(260px, 38vh, 360px); order: 2; margin-top: -1rem; }
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  margin-bottom: 1.4rem;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 300;
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }
.hero-chips {
  list-style: none;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem;
  font-size: 0.88rem; color: var(--text-soft); font-weight: 300;
}
.hero-chips strong { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.chip-sep { width: 5px; height: 5px; background: var(--gold); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim);
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.55); opacity: 0.5; } }

/* ============ CINTA DE RENDERS ============ */
.rmarquee {
  position: relative;
  padding-block: 1.6rem;
  overflow: clip;
  border-block: 1px solid var(--line);
  background: rgba(11, 11, 11, 0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rm-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: rmScroll 48s linear infinite;
  will-change: transform;
}
.rmarquee:hover .rm-track { animation-play-state: paused; }
.rm-track figure {
  flex: none;
  height: clamp(150px, 24vw, 240px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}
.rm-track figure:hover { transform: translateY(-6px) scale(1.02); border-color: var(--gold-dim); }
.rm-track img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.98);
  transition: filter 0.5s;
}
.rm-track figure:hover img { filter: saturate(1.15) brightness(1.06); }
@keyframes rmScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rm-track { animation-duration: 96s; } /* más lento, nunca muerto */
}

/* ============ MAPA ============ */
.map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  line-height: 0;
}
.map-frame iframe {
  width: 100%;
  height: clamp(340px, 52vh, 480px);
  filter: grayscale(0.25) contrast(1.04);
  transition: filter 0.5s;
}
.map-frame:hover iframe { filter: none; }

/* ============ PROYECTO ============ */
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.6rem; align-items: start; }
.split-text { padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.split-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
.split-text .lead { font-size: 1.06rem; color: var(--text-soft); margin-bottom: 1rem; }
.split-text p + p { margin-top: 0.9rem; color: var(--text-soft); }
.stat-stack { display: grid; gap: 1rem; }
.stat { padding: 1.35rem 1.6rem; display: flex; align-items: baseline; gap: 1.1rem; }
.stat-num { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 900; color: var(--gold-soft); letter-spacing: -0.02em; }
.stat-num i { font-style: normal; font-size: 0.55em; font-weight: 500; }
.stat-label { color: var(--text-soft); font-size: 0.92rem; line-height: 1.35; }

/* ============ UBICACIÓN ============ */
.loc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem; margin-block: 2.4rem;
}
.loc-card { padding: 1.7rem 1.5rem; transition: transform 0.4s var(--ease-out), border-color 0.4s; }
.loc-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.loc-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.6rem; }
.loc-card p { font-size: 0.92rem; color: var(--text-soft); font-weight: 300; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ============ MASTERPLAN ============ */
.stage-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 1.6rem; width: 100%; }
.stage { padding: 1.8rem 1.6rem; position: relative; overflow: hidden; transition: transform 0.4s var(--ease-out), border-color 0.4s; }
.stage:hover { transform: translateY(-6px); }
.stage.is-active { border-color: var(--gold-dim); }
.stage.is-active::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}
.stage-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 0.9rem;
}
.stage h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.stage-big { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.3rem; }
.stage p { color: var(--text-soft); font-size: 0.94rem; }
.stage .gold { color: var(--gold-soft); }
.legal-strip {
  font-size: 0.78rem; color: var(--text-dim);
  border-top: 1px solid var(--line); padding-top: 1.1rem;
  letter-spacing: 0.04em;
}

/* ============ BODEGAS ============ */
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1rem; margin-block: 2.4rem 2rem;
}
.spec { padding: 1.4rem 1.4rem; transition: transform 0.4s var(--ease-out), border-color 0.4s; }
.spec:hover { transform: translateY(-5px); border-color: var(--gold-dim); }
.spec strong { display: block; font-size: 1.28rem; font-weight: 900; color: var(--gold-soft); margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.spec span { font-size: 0.87rem; color: var(--text-soft); font-weight: 300; line-height: 1.4; display: block; }
.mode-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mode { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.mode h3 { font-size: 1.05rem; color: var(--gold-soft); margin-bottom: 0.4rem; font-weight: 700; }
.mode p { font-size: 0.92rem; color: var(--text-soft); font-weight: 300; }

/* ============ DIFERENCIALES ============ */
.diff-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-block: 2.4rem 1.8rem; }
.diff { padding: 2rem 1.7rem; transition: transform 0.4s var(--ease-out), border-color 0.4s; }
.diff:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.diff-num {
  font-size: 0.8rem; font-weight: 500; color: var(--gold);
  letter-spacing: 0.3em; display: block; margin-bottom: 1.2rem;
}
.diff h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.diff p { font-size: 0.94rem; color: var(--text-soft); font-weight: 300; }
.diff-note { color: var(--text-soft); max-width: 62ch; font-size: 0.98rem; }

/* ============ GALERÍA ============ */
.section-solid { background: var(--bg-deep); border-block: 1px solid var(--line); }
.tabs { display: flex; gap: 0.5rem; margin-block: 1.8rem 1.6rem; }
.tab {
  font-family: inherit; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--text-soft); background: transparent;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.6rem 1.5rem; cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.tab:hover { color: var(--text); border-color: var(--gold-dim); }
.tab.is-active { color: #0e0e0e; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
  grid-auto-rows: 200px; grid-auto-flow: dense;
}
.gallery.is-hidden { display: none; }
.g-item {
  overflow: hidden; border-radius: 8px; cursor: zoom-in;
  border: 1px solid var(--line);
  position: relative;
}
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.8s;
  filter: saturate(0.96);
}
.g-item:hover img { transform: scale(1.07); filter: saturate(1.12) brightness(1.05); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(11, 11, 11, 0.55) 100%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.g-item:hover::after { opacity: 1; }
.gallery-note { margin-top: 1.4rem; font-size: 0.8rem; color: var(--text-dim); }

/* ============ INVERSIÓN ============ */
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-block: 2.4rem 1.6rem; }
.price { padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; transition: transform 0.4s var(--ease-out), border-color 0.4s; }
.price:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.price-tag {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid var(--gold-dim); border-radius: 100px;
  padding: 0.35rem 0.9rem;
}
.price-big { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -0.02em; }
.price-big i { font-style: normal; font-size: 0.42em; font-weight: 400; color: var(--text-soft); letter-spacing: 0; }
.price ul { list-style: none; display: grid; gap: 0.55rem; }
.price li { padding-left: 1.4rem; position: relative; color: var(--text-soft); font-size: 0.95rem; font-weight: 300; }
.price li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 8px; height: 9px; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.urgency {
  border: 1px solid var(--gold-dim); border-radius: 10px;
  background: linear-gradient(135deg, rgba(151, 136, 92, 0.14), rgba(151, 136, 92, 0.05));
  padding: 1.4rem 1.8rem;
}
.urgency p { color: var(--text-soft); font-weight: 300; }
.urgency strong { color: var(--gold-soft); font-weight: 700; }

/* ============ RESPALDO ============ */
.backer {
  display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3rem);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.backer-logo { width: clamp(110px, 14vw, 170px); height: auto; opacity: 0.9; flex: none; }
.backer p { color: var(--text-soft); font-weight: 300; }
.backer strong { color: var(--text); font-weight: 700; }
.backer .kicker { margin-bottom: 0.5rem; }

/* ============ CONTACTO ============ */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
.contact-form { padding: clamp(1.6rem, 3vw, 2.2rem); display: grid; gap: 1rem; }
.contact-form label {
  display: grid; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft);
}
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: 0.98rem; font-weight: 400;
  background: rgba(240, 241, 242, 0.05);
  border: 1px solid var(--line); border-radius: 6px;
  color: var(--text); padding: 0.8rem 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
}
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2397885c'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.contact-form select option { background: #1a1a1a; color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(240, 241, 242, 0.08);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--text-dim); text-align: center; }
.contact-side { display: grid; gap: 1.2rem; align-content: start; }
.c-block { padding: 1.7rem 1.6rem; }
.c-block h3 { font-size: 1.02rem; margin-bottom: 0.6rem; color: var(--gold-soft); }
.c-block p { color: var(--text-soft); font-weight: 300; font-size: 0.95rem; }
.c-links { display: flex; gap: 1.4rem; margin-top: 0.9rem; }
.c-links a, .c-big {
  color: var(--text); font-weight: 700; font-size: 0.92rem;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px; transition: color 0.3s, border-color 0.3s;
  cursor: pointer;
}
.c-links a:hover, .c-big:hover { color: var(--gold-soft); border-color: var(--gold); }
.c-big { font-size: 1.1rem; }
.c-dim { margin-top: 0.5rem; font-size: 0.85rem !important; color: var(--text-dim) !important; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-block: 2.6rem 2rem;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem;
  flex-wrap: wrap; margin-bottom: 1.6rem;
}
.footer-logo { height: 44px; width: auto; }
.footer-gm { height: 34px; width: auto; opacity: 0.65; }
.footer-domain { font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; }
.footer-legal { font-size: 0.76rem; color: var(--text-dim); line-height: 1.7; }

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 38px rgba(37, 211, 102, 0.5); }
.wa-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.5);
  animation: waPing 2.4s ease-out infinite;
}
@keyframes waPing { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ============ LIGHTBOX ============ */
.lightbox { border: none; background: rgba(8, 8, 8, 0.92); padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 8, 8, 0.85); }
.lightbox img {
  position: absolute; inset: 0; margin: auto;
  max-width: min(92vw, 1400px); max-height: 86vh;
  width: auto; height: auto;
  border-radius: 8px;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2;
  background: rgba(240, 241, 242, 0.08); color: var(--text);
  border: 1px solid var(--line); border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.15rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s;
  font-family: inherit;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: #0e0e0e; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: repeat(2, 1fr); }
  .stage-row, .diff-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .price-row, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 6px;
    margin-left: auto; background: none; border: none; cursor: pointer; padding: 0.5rem;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: transform 0.35s var(--ease-out), opacity 0.3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-mobile {
    display: grid; gap: 0.2rem;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(11, 11, 11, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem clamp(1.1rem, 4vw, 2rem) 1.6rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.4s, visibility 0.4s;
  }
  .nav-mobile.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-mobile a { padding: 0.7rem 0.2rem; font-weight: 500; color: var(--text-soft); border-bottom: 1px solid var(--line); }
  .nav-mobile a:last-child { border: none; margin-top: 0.8rem; color: #0e0e0e; }
}
@media (max-width: 639px) {
  .stage-row, .diff-row, .mode-row, .stat-stack { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-wide { grid-column: span 1; grid-row: span 1; }
  .backer { flex-direction: column; text-align: center; align-items: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .loc-actions .btn { flex: 1 1 100%; }
  .wa-float { right: 1rem; bottom: 1rem; }
}

/* Reduced motion: solo gatear lo intrusivo */
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
  .splash-symbol { animation: none; }
}
