/* ============================================================
   MotorLand RD — identidad: negro carbón + dorado de marca
   ============================================================ */

:root {
  --ink: #0b0e14;
  --ink-2: #151a24;
  --ink-3: #1d2431;
  --gold: #f5c518;
  --gold-bright: #ffd22e;
  --gold-deep: #b8900c;
  --white: #ffffff;
  --muted: #b8bec9;
  --muted-dim: #7c8695;
  --line: rgba(245, 197, 24, 0.16);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --wa: #25d366;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-gold: 0 0 40px rgba(245, 197, 24, 0.22);
  --nav-h: 84px;
}

* { box-sizing: border-box; }

/* El atributo `hidden` debe ganarle a cualquier `display` declarado después
   (si no, un elemento con display:grid/flex sigue viéndose aunque esté oculto). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(1240px, 92vw); margin-inline: auto; }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-lead { color: var(--muted); max-width: 62ch; margin-top: 16px; }

.gold { color: var(--gold); }

.glow-text {
  background: linear-gradient(180deg, #fff 0%, #fff 45%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Botones ---------------- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--btn-bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #14100a;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(245, 197, 24, 0.28);
}
.btn-gold:hover { box-shadow: 0 12px 44px rgba(245, 197, 24, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  background: rgba(245, 197, 24, 0.08);
}

.btn-wa {
  background: linear-gradient(135deg, #2ce671, var(--wa));
  color: #06301a;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.26);
}
.btn-wa:hover { box-shadow: 0 12px 40px rgba(37, 211, 102, 0.42); }

.btn-sm { padding: 11px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------- Navegación ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 14, 20, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 2px 14px rgba(245, 197, 24, 0.3));
}
.footer .brand img { height: 78px; }
.admin-bar .brand img { height: 52px; }
.brand-fallback { display: flex; flex-direction: column; line-height: 1; }
.brand-fallback b {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.02em;
}
.brand-fallback b i { font-style: normal; color: var(--gold); }
.brand-fallback span {
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: var(--muted-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  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.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}

/* Reel del showroom a pantalla completa, con los velos que dejan
   legible el texto sobre el video. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-veil-x,
.hero-veil-y,
.hero-glow { position: absolute; }

.hero-veil-x {
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, rgba(11, 14, 20, 0.8) 50%, rgba(11, 14, 20, 0.2) 100%);
}
.hero-veil-y {
  inset: 0;
  background: linear-gradient(to top, var(--ink) 0%, transparent 50%, rgba(11, 14, 20, 0.75) 100%);
}
.hero-glow {
  left: -160px;
  top: 33%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.22), transparent 65%);
}

.hero-inner { padding: 60px 0 110px; }
.hero-copy { display: grid; gap: 34px; max-width: 920px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  justify-self: start;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-badge b { color: var(--gold); font-weight: 600; }
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(245, 197, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
}

.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  display: block;
  background: linear-gradient(105deg, var(--gold-bright), #fff8dc 42%, var(--gold) 78%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn { padding: 18px 34px; font-size: 1rem; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-dim);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------------- Barra de estadísticas ---------------- */

.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.05), transparent);
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  background: var(--ink);
  padding: 40px 22px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(245, 197, 24, 0.35);
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ---------------- Puerta de entrada ---------------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  transition: opacity 0.7s ease, visibility 0.7s;
}
.intro.leaving { opacity: 0; visibility: hidden; }
.intro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(11, 14, 20, 0.25), rgba(11, 14, 20, 0.82) 78%),
    linear-gradient(to top, var(--ink) 0%, transparent 42%, rgba(11, 14, 20, 0.7) 100%);
}

.intro-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
  padding: 30px;
}
.intro-brand img { height: clamp(84px, 13vw, 150px); width: auto; margin-bottom: 14px; }

.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 34px 17px 17px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #14100a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}
.intro-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 56px rgba(245, 197, 24, 0.5); }
.intro-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 16, 10, 0.16);
}
.intro-play svg { width: 19px; height: 19px; }

.intro-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.intro-skip {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  padding: 8px 4px;
  transition: color 0.25s;
}
.intro-skip:hover { color: var(--gold); }

/* Mientras corre el recorrido, solo queda el video y el botón de salir. */
.intro.playing .intro-inner > *:not(.intro-exit) { display: none; }
.intro.playing .intro-veil { background: linear-gradient(to top, rgba(11, 14, 20, 0.85) 0%, transparent 32%); }
.intro-exit {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 2;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(12px);
  color: var(--white);
  cursor: pointer;
  font-size: 0.84rem;
  display: none;
}
.intro.playing .intro-exit { display: block; }
.intro-exit:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------- Botón de llamar fijo ---------------- */

.call-float {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s, box-shadow 0.28s;
}
.call-float svg { width: 19px; height: 19px; color: var(--gold); }
.call-float:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(245, 197, 24, 0.25);
}

/* ---------------- Destacado del patio ---------------- */

.spotlight {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(245, 197, 24, 0.09), transparent 65%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink) 100%);
}

.spot-stage {
  position: relative;
  margin: 44px 0 34px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #05070b;
}
.spot-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.32s ease;
}
.spot-stage:hover img { transform: scale(1.06); }
.spot-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.35) 0%, transparent 35%, rgba(11, 14, 20, 0.85) 100%);
  pointer-events: none;
}
/* Luces cenitales del escenario */
.spot-lights {
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(38% 100% at 22% 0%, rgba(255, 255, 255, 0.13), transparent 68%),
    radial-gradient(30% 90% at 50% 0%, rgba(245, 197, 24, 0.16), transparent 70%),
    radial-gradient(38% 100% at 78% 0%, rgba(255, 255, 255, 0.11), transparent 68%);
}

.spot-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.7);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.spot-arrow:hover { background: var(--gold); color: #14100a; border-color: transparent; }
.spot-arrow.prev { left: 18px; }
.spot-arrow.next { right: 18px; }

.spot-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 26px 2px 8px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.spot-rail::-webkit-scrollbar { display: none; }
.spot-thumb {
  flex: none;
  scroll-snap-align: start;
  width: 132px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  opacity: 0.5;
  transition: opacity 0.28s, transform 0.28s;
}
.spot-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border-color 0.28s;
}
.spot-thumb span {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spot-thumb:hover { opacity: 0.85; transform: translateY(-3px); }
.spot-thumb[aria-selected="true"] { opacity: 1; }
.spot-thumb[aria-selected="true"] img { border-color: var(--gold); box-shadow: 0 0 24px rgba(245, 197, 24, 0.3); }
.spot-thumb[aria-selected="true"] span { color: var(--gold); }

.spot-glow {
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: 78%;
  height: 62%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.3), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 1;
}

.spot-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.spot-head h3 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); }
.spot-price { display: flex; align-items: baseline; gap: 10px; }
.spot-price span { color: var(--muted-dim); font-size: 0.85rem; }
.spot-price b {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  color: var(--gold);
  text-shadow: 0 0 34px rgba(245, 197, 24, 0.3);
}

.spot-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 26px;
}
.spot-cell { background: rgba(11, 14, 20, 0.72); padding: 20px 22px; }
.spot-cell .k {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 9px;
}
.spot-cell .k svg { width: 14px; height: 14px; color: var(--gold); }
.spot-cell b { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; }

.spot-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Frase a pantalla completa ---------------- */

.statement {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.statement-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.statement-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, var(--ink) 0%, rgba(11, 14, 20, 0.72) 55%, rgba(11, 14, 20, 0.35) 100%),
    linear-gradient(to top, var(--ink) 0%, transparent 45%, rgba(11, 14, 20, 0.7) 100%);
}
.statement-inner { padding: 70px 0; }
.statement-lines {
  display: grid;
  gap: 4px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
/* Acento serif: solo en la línea dorada, para el aire de lujo sin recargar. */
.statement-lines .gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  letter-spacing: -0.01em;
}
.statement-foot { color: var(--muted); max-width: 52ch; margin-top: 26px; }

.spot-price span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------------- Proceso en cuatro pasos ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.step {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.4);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}
.step-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.step-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.step:hover .step-media img { transform: scale(1.07); }
.step-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.15), rgba(11, 14, 20, 0.72));
}
.step-num {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  min-width: 42px;
  padding: 7px 12px;
  border-radius: 11px;
  text-align: center;
  background: rgba(11, 14, 20, 0.82);
  border: 1px solid rgba(245, 197, 24, 0.45);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}
.step h3 { font-size: 1.14rem; margin: 22px 24px 10px; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0 24px 26px; }

/* ---------------- Requisitos ---------------- */

.req-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.req-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: border-color 0.25s, transform 0.25s;
}
.req-list li:hover { border-color: rgba(245, 197, 24, 0.4); transform: translateX(5px); }
.req-ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.26);
}
.req-ico svg { width: 21px; height: 21px; color: var(--gold); }
.req-list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 5px; }
.req-list span { color: var(--muted); font-size: 0.9rem; }

/* ---------------- Catálogo ---------------- */

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.filters {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(16px);
  padding: 22px;
  margin-bottom: 30px;
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(130px, 1fr)) minmax(150px, 1fr);
  gap: 12px;
}

.field { position: relative; display: flex; align-items: center; }
.field svg {
  position: absolute;
  left: 15px;
  width: 17px;
  height: 17px;
  color: var(--muted-dim);
  pointer-events: none;
}
.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 14, 20, 0.65);
  color: var(--white);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}
.field.has-icon input { padding-left: 42px; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-dim) 50%), linear-gradient(135deg, var(--muted-dim) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
  cursor: pointer;
}
.field select option { background: var(--ink-2); }
.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.14);
}
.field input::placeholder { color: var(--muted-dim); }

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}
.chip:hover { border-color: rgba(245, 197, 24, 0.5); color: var(--white); }
.chip.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
  color: #14100a;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(245, 197, 24, 0.32);
}
.chip small { opacity: 0.65; margin-left: 5px; }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  color: var(--muted-dim);
  font-size: 0.88rem;
}
.results-bar b { color: var(--gold); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.75), transparent 42%, transparent 62%, rgba(245, 197, 24, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 44px rgba(245, 197, 24, 0.16); }
.card:hover::after { opacity: 1; }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 14, 20, 0.85));
}

.price-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14100a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 22px rgba(245, 197, 24, 0.35);
}

.status-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.status-disponible { background: rgba(37, 211, 102, 0.16); color: #4ef08d; border: 1px solid rgba(37, 211, 102, 0.4); }
.status-reservado { background: rgba(245, 197, 24, 0.16); color: var(--gold-bright); border: 1px solid rgba(245, 197, 24, 0.45); }
.status-vendido { background: rgba(255, 77, 77, 0.16); color: #ff8a8a; border: 1px solid rgba(255, 77, 77, 0.42); }

.sold-stamp {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(11, 14, 20, 0.55);
  backdrop-filter: grayscale(0.7);
}
.sold-stamp span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ff8a8a;
  border: 3px solid #ff8a8a;
  padding: 10px 22px;
  border-radius: 8px;
  transform: rotate(-11deg);
  text-shadow: 0 0 20px rgba(255, 77, 77, 0.5);
}

.card-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-title { font-size: 1.12rem; font-family: var(--font-display); font-weight: 600; }
.card-title small { display: block; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.16em; margin-bottom: 6px; text-transform: uppercase; }

.spec-row { display: flex; flex-wrap: wrap; gap: 8px; }
.spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--muted);
}
.spec svg { width: 13px; height: 13px; color: var(--gold); }

.card-body .btn { margin-top: auto; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted-dim);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
}

.skeleton {
  border-radius: var(--r-lg);
  height: 400px;
  background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 70%);
  background-size: 240% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -140% 0; } }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination button {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.22s;
}
.pagination button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.pagination button.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14100a;
  border-color: transparent;
  font-weight: 700;
}
.pagination button:disabled { opacity: 0.32; cursor: not-allowed; }

/* ---------------- Modal de ficha ---------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 24px;
  overflow-y: auto;
  background: rgba(5, 7, 11, 0.86);
  backdrop-filter: blur(10px);
}
.modal.open { display: block; }
.modal-panel {
  width: min(1080px, 100%);
  margin: 30px auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

.gallery { position: relative; background: #000; }
.gallery-main { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.gallery-nav:hover { background: var(--gold); color: #14100a; border-color: transparent; }
.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }
.gallery-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.75);
  font-size: 0.8rem;
  color: var(--muted);
  backdrop-filter: blur(8px);
}
.thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: rgba(0, 0, 0, 0.4); }
.thumbs img {
  width: 92px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  flex: none;
  opacity: 0.55;
  transition: all 0.22s;
}
.thumbs img.active,
.thumbs img:hover { opacity: 1; border-color: var(--gold); }

.modal-body { padding: clamp(22px, 3.4vw, 38px); display: grid; gap: 28px; }
.modal-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.modal-price {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 34px rgba(245, 197, 24, 0.3);
}
.modal-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--r-md); overflow: hidden; }
.spec-cell { background: var(--ink-2); padding: 16px 18px; }
.spec-cell span { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 6px; }
.spec-cell b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }

.acc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-list span {
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(245, 197, 24, 0.07);
  border: 1px solid rgba(245, 197, 24, 0.18);
  font-size: 0.8rem;
  color: var(--muted);
}
.desc { white-space: pre-line; color: var(--muted); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.block-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------------- Por qué / financiamiento ---------------- */

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; margin-top: 48px; }
.feature {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(245, 197, 24, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.22), rgba(245, 197, 24, 0.04));
  border: 1px solid rgba(245, 197, 24, 0.3);
  margin-bottom: 20px;
}
.feature-icon svg { width: 25px; height: 25px; color: var(--gold); }
.feature h3 { font-size: 1.16rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.finance {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 4.5vw, 60px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(245, 197, 24, 0.11), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(14px);
}
.finance-points { display: grid; gap: 14px; margin: 26px 0; padding: 0; list-style: none; }
.finance-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.finance-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }

.calc {
  padding: 28px;
  border-radius: var(--r-lg);
  background: rgba(11, 14, 20, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.calc label { display: block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 8px; }
.calc .row { margin-bottom: 18px; }
.calc input[type="range"] { width: 100%; accent-color: var(--gold); }
.calc output { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.calc-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.calc-result b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1.1; }
.calc-result span { font-size: 0.78rem; color: var(--muted-dim); }
.calc-note { font-size: 0.72rem; color: var(--muted-dim); margin-top: 14px; text-align: center; }

/* ---------------- Desde Instagram ---------------- */

#testimonios { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.ig-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.ig-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(245, 197, 24, 0.1);
}

.ig-head { display: flex; align-items: center; gap: 14px; }
.ig-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #14100a;
  font-family: var(--font-display);
  font-weight: 700;
}
.ig-head b { display: block; font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; }
.ig-head span { display: block; font-size: 0.76rem; color: var(--muted-dim); margin-top: 2px; }

.ig-quote { margin: 20px 0 0; flex: 1; font-size: 0.95rem; line-height: 1.65; color: #d6dae2; }

.ig-more {
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 197, 24, 0.7);
  transition: color 0.25s;
}
.ig-card:hover .ig-more { color: var(--gold-bright); }

.ig-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}
.ig-foot p { color: var(--muted-dim); font-size: 0.88rem; margin: 0; }

/* ---------------- Banda Supercarros ---------------- */

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 140% at 0% 50%, rgba(245, 197, 24, 0.13), transparent 60%),
    rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}
.band h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.band p { color: var(--muted); margin: 8px 0 0; }

/* ---------------- Contacto y mapa ---------------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; margin-top: 48px; }
.contact-card {
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(12px);
}
.contact-list { display: grid; gap: 12px; margin: 22px 0 26px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 14, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.24s;
}
.contact-item:hover { border-color: rgba(245, 197, 24, 0.45); transform: translateX(4px); }
.contact-item .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.25);
  flex: none;
}
.contact-item .ico svg { width: 19px; height: 19px; color: var(--gold); }
.contact-item b { display: block; font-size: 0.95rem; }
.contact-item span { font-size: 0.8rem; color: var(--muted-dim); }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  position: relative;
  background: var(--ink-2);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: invert(1) hue-rotate(180deg) brightness(0.86) contrast(1.05) saturate(0.65);
}

/* ---------------- Footer ---------------- */

.footer { border-top: 1px solid var(--line); padding: 64px 0 30px; background: linear-gradient(180deg, transparent, rgba(245, 197, 24, 0.035)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { color: var(--muted); font-size: 0.92rem; transition: color 0.22s; }
.footer a:hover { color: var(--gold); }
.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}
.admin-link::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.admin-link:hover { color: var(--gold-bright); }

.footer-note {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  color: var(--muted-dim);
  font-size: 0.82rem;
}

/* ---------------- WhatsApp flotante ---------------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}
.wa-main {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2ce671, var(--wa));
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s;
}
.wa-main:hover { transform: scale(1.08); }
.wa-main svg { width: 32px; height: 32px; }
.wa-main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ring 2.4s infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-list { display: none; flex-direction: column; gap: 10px; }
.wa-list.open { display: flex; }
.wa-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 17px;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  animation: rise 0.3s backwards;
}
.wa-item:hover { border-color: var(--wa); }
.wa-item b { font-size: 0.88rem; }
.wa-item span { display: block; font-size: 0.75rem; color: var(--muted-dim); }
.wa-item .dot { width: 32px; height: 32px; border-radius: 50%; background: rgba(37, 211, 102, 0.15); display: grid; place-items: center; }
.wa-item .dot svg { width: 17px; height: 17px; color: var(--wa); }

/* ---------------- Revelado al hacer scroll ---------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  /* En pantallas estrechas el velo horizontal deja de tener sentido:
     se oscurece parejo para que el titular siga legible. */
  .hero-veil-x { background: linear-gradient(to right, var(--ink) 0%, rgba(11, 14, 20, 0.72) 100%); }
  .hero-glow { left: -220px; }

  .filter-row { grid-template-columns: 1fr 1fr 1fr; }
  .req-grid { grid-template-columns: 1fr; gap: 34px; }
  .statement-veil { background: linear-gradient(to top, var(--ink) 0%, rgba(11, 14, 20, 0.55) 45%, rgba(11, 14, 20, 0.82) 100%); }
  .finance { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--line);
    padding: 10px 6vw 22px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
}

@media (max-width: 560px) {
  .filter-row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .btn { width: 100%; }
  .modal { padding: 0; }
  .modal-panel { margin: 0; border-radius: 0; min-height: 100vh; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Citas de test drive ---------------- */

#cita { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink) 100%); }

.booking {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.booking-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.booking-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.booking-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }

.booking-card {
  padding: clamp(24px, 3.4vw, 38px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(245, 197, 24, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.booking-step { padding-bottom: 6px; margin-bottom: 20px; }
.booking-step + .booking-step { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 22px; }
.booking-legend {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.booking-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.booking-card .field-block { margin-bottom: 16px; }
.booking-card .field-block > label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 8px;
}
.booking-card .field-block > label small { text-transform: none; letter-spacing: 0; }
.booking-card input:not([type="hidden"]),
.booking-card select,
.booking-card textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 14, 20, 0.7);
  color: var(--white);
  outline: none;
  font-family: var(--font-body);
  resize: vertical;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.14);
}
.booking-card input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.75) sepia(1) saturate(6) hue-rotate(3deg); cursor: pointer; }

.slot-box {
  min-height: 52px;
  max-height: 168px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 14, 20, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.slot-hint { color: var(--muted-dim); font-size: 0.85rem; padding: 6px 4px; }
.slot {
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.2s;
}
.slot:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.slot:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.slot.picked {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
  color: #14100a;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booking-foot { text-align: center; color: var(--muted-dim); font-size: 0.88rem; margin: 16px 0 0; }

.booking-done { text-align: center; padding: 20px 0; }
.booking-check {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.06));
  border: 1px solid rgba(37, 211, 102, 0.45);
}
.booking-check svg { width: 30px; height: 30px; color: #4ef08d; }
.booking-done h3 { font-size: 1.5rem; margin-bottom: 12px; }
.booking-done p { color: var(--muted); margin: 0 0 8px; }
.booking-done #booking-summary { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.booking-note { font-size: 0.88rem; }
.booking-done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

@media (max-width: 1080px) {
  .booking { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .booking-two { grid-template-columns: 1fr; }
}

.booking-privacidad {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted-dim);
  text-align: center;
}
