/* ── RESET & VARIABLES ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #B8945A;
  --gold-light: #D4AF7A;
  --gold-pale: #F5EED9;
  --black: #111110;
  --gray-dark: #2A2A28;
  --gray-mid: #6B6B68;
  --gray-light: #C8C8C4;
  --off-white: #F7F6F2;
  --white: #FFFFFF;
  --section-pad: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,148,90,0.18);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 32px rgba(0,0,0,0.07); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-dark);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

/* ── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  padding: 88px 40px 40px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu a:hover { color: var(--gold); padding-left: 8px; }

/* ── DROPDOWN NAV ────────────────────────────── */
.has-dropdown { position: relative; }
/* Puente invisible que cubre el hueco entre el link y el dropdown */
.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 14px;
  z-index: 201;
}
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-arrow { font-size: 9px; opacity: 0.5; transition: transform 0.2s, opacity 0.2s; pointer-events: none; line-height: 1; }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); opacity: 0.8; }
.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--gold);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 280px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  width: 9px; height: 9px;
  background: var(--gold);
  border-left: 1px solid rgba(0,0,0,0.12);
  border-top: 1px solid rgba(0,0,0,0.12);
  transform: translateX(-50%) rotate(45deg);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 11px 22px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--black);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, padding-left 0.15s;
  text-decoration: none;
  position: static;
}
.dropdown li a::after { display: none !important; }
.dropdown li a:hover {
  color: var(--black);
  background: rgba(0,0,0,0.1);
  padding-left: 30px;
}

/* ── MOBILE MENU GROUPS ──────────────────────── */
.mobile-group { border-bottom: 1px solid var(--gray-light); }
.mobile-group-btn {
  background: none;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--black);
  padding: 10px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.mobile-group-btn:hover { color: var(--gold); }
.mob-arrow { font-size: 18px; opacity: 0.4; transition: transform 0.25s; display: inline-block; }
.mobile-group-btn.open .mob-arrow { transform: rotate(180deg); }
.mobile-group-items {
  display: none;
  flex-direction: column;
  padding: 2px 0 12px 8px;
}
.mobile-group-items.open { display: flex; }
.mobile-group-items a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-weight: 300 !important;
  padding: 8px 0 !important;
  border-bottom: none !important;
  color: var(--gray-mid) !important;
}
.mobile-group-items a:hover { color: var(--gold) !important; padding-left: 10px !important; }

/* ── WHATSAPP FLOTANTE ───────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,0.55);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; pointer-events: none; }

/* ── PAGE HERO ───────────────────────────────── */
.page-hero {
  padding: 160px 0 100px;
  background: #ddeaf5;
  position: relative;
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 1;
  z-index: 0;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    #ddeaf5 0%,
    #ddeaf5 25%,
    rgba(221,234,245,0.85) 40%,
    rgba(221,234,245,0.4) 60%,
    transparent 75%
  );
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--gray-mid); }
.page-hero .section-eyebrow::before { background: var(--gold); }
.page-hero h1 { color: var(--black); text-shadow: 0 2px 20px rgba(255,255,255,0.55), 0 1px 8px rgba(255,255,255,0.4); }
.page-hero h1 em { color: var(--gold); }
.page-hero .section-desc { color: var(--gray-dark); text-shadow: 0 1px 8px rgba(255,255,255,0.5); }
.page-hero .section-eyebrow { text-shadow: 0 1px 8px rgba(255,255,255,0.5); }

/* ── SECTIONS ────────────────────────────────── */
section { padding: var(--section-pad) 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--gold); }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}
h2 em { font-style: italic; color: var(--gold); }

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-mid);
  font-weight: 300;
  max-width: 680px;
  line-height: 1.75;
}

/* ── PRODUCT COMPONENTS ──────────────────────── */
.product-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,148,90,0.35);
  padding: 5px 12px;
  margin-bottom: 20px;
  font-weight: 500;
}
.product-subtitle {
  font-size: 14px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.product-desc {
  font-size: 15px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ── BENEFITS LIST ───────────────────────────── */
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.benefits-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--gray-dark);
  font-weight: 300;
  line-height: 1.6;
}
.benefits-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.benefits-list strong { font-weight: 500; color: var(--black); }

/* ── SPECS GRID ──────────────────────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
  margin-bottom: 36px;
}
.spec-item { background: var(--white); padding: 14px 16px; }
.spec-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}
.spec-value { font-size: 13px; color: var(--gray-dark); font-weight: 300; line-height: 1.5; }

/* ── TECH NOTE ───────────────────────────────── */
.tech-note {
  background: var(--off-white);
  border-left: 2px solid var(--gold);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.tech-note-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.tech-note-text { font-size: 13px; color: var(--gray-mid); font-weight: 300; line-height: 1.65; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gray-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-white {
  color: rgba(255,255,255,0.7);
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(184,148,90,0.5);
  transition: color 0.2s;
  display: inline-block;
  margin-left: 16px;
}
.btn-outline-white:hover { color: var(--gold-light); }

/* ── CTA STRIP ───────────────────────────────── */
.cta-strip { background: var(--black); padding: 72px 0; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.5); font-size: 15px; font-weight: 300; margin-bottom: 36px; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.footer-logo span { color: var(--gold); opacity: 0.6; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); font-weight: 300; letter-spacing: 0.04em; }

/* ── REVEAL ANIMATION ────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── SHOWROOM CARD BANNER ────────────────────── */
.product-img-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.showroom-card-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--off-white);
  border-top: 2px solid #C9A055;
  padding: 22px 26px;
  text-decoration: none;
  transition: background 0.25s;
}
.showroom-card-banner:hover { background: #EDE5CE; }
.scb-content { min-width: 0; }
.scb-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A055;
  font-weight: 500;
  margin-bottom: 7px;
}
.scb-eyebrow span { width: 16px; height: 1px; background: #C9A055; display: inline-block; flex-shrink: 0; }
.scb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 300;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 5px;
}
.scb-title em { font-style: italic; color: #C9A055; }
.scb-sub {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.5;
}
.scb-arrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A055;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 8px;
}
.showroom-banner-standalone {
  margin-top: 48px;
}
@media (max-width: 600px) {
  .showroom-card-banner { grid-template-columns: 1fr; gap: 10px; }
  .scb-arrow { padding-left: 0; }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .specs-grid { grid-template-columns: 1fr; }
  .page-hero-bg {
    background: linear-gradient(
      to right,
      #ddeaf5 0%,
      #ddeaf5 15%,
      rgba(221,234,245,0.75) 35%,
      rgba(221,234,245,0.35) 60%,
      transparent 85%
    );
  }
}
