/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

/* ===== VARIABLES ===== */
:root {
  --gold: #d4a017;
  --gold-light: #e8b830;
  --gold-border: rgba(212,160,23,0.38);
  --gold-strong: rgba(212,160,23,0.55);
  --gold-dim: rgba(212,160,23,0.16);
  --navy: #03111f;
  --navy-2: #061c35;
  --navy-3: #04162a;
  --blue-acc: #5baede;
  --green-wa: #1a6e3c;
  --text: #f0f4f8;
  --muted: #7a95ab;
  --dim: #4a6a80;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --radius: 2px;
  --radius-card: 3px;
  --border: 0.5px solid var(--gold-border);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--navy);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); border: none; }
select, input { font-family: var(--font-sans); }

/* ===== ART DECO BACKGROUND TEXTURE ===== */
#art-deco-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Content above texture */
body > *:not(#art-deco-bg) {
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: transparent;
  border-bottom: var(--border);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(3,17,31,0.98);
}
.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-logo .logo-main {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.navbar-logo .logo-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--gold-light); }
.navbar-cta {
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.navbar-cta:hover { background: var(--gold-light); }
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold-light);
  border-radius: 1px;
  transition: 0.3s;
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(3,17,31,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text);
  letter-spacing: 1px;
}
.nav-overlay a:hover { color: var(--gold-light); }
.nav-overlay-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

/* ===== SECTION ORNAMENT ===== */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  opacity: 0.5;
}
.section-ornament svg { color: var(--gold); }

/* ===== SECTION DIVIDER ===== */
.section-divider {
  border: none;
  border-top: var(--border);
  margin: 0;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background 0.2s;
  border: none;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 0.5px solid var(--gold-strong);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold-light);
  background: var(--gold-dim);
}
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--green-wa);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-radius: var(--radius);
  transition: filter 0.2s;
}
.btn-wa:hover { filter: brightness(1.15); }
.btn-agenda {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-agenda:hover { background: var(--gold-light); }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius);
}
.badge-disponible {
  background: var(--gold);
  color: var(--navy);
}
.badge-financiable {
  background: rgba(91,174,222,0.15);
  color: var(--blue-acc);
  border: 0.5px solid rgba(91,174,222,0.4);
}
.badge-condicion-a {
  background: rgba(26,110,60,0.2);
  color: #4caf7d;
  border: 0.5px solid rgba(76,175,125,0.3);
}

/* ===== CHIP AHORRO ===== */
.chip-ahorro {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(91,174,222,0.12);
  color: var(--blue-acc);
  border: 0.5px solid rgba(91,174,222,0.35);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius);
}

/* ===== TAG PÍLDORA ===== */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  color: var(--gold-light);
  border: 0.5px solid var(--gold-border);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ===== UTILITIES ===== */
.text-gold { color: var(--gold-light); }
.text-muted { color: var(--muted); }
.text-dim { color: var(--dim); }
.font-serif { font-family: var(--font-serif); }
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar-links, .navbar-cta { display: none; }
  .navbar-hamburger { display: flex; }
}
