/* ── RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #0A0A08;
  color: #E8E4DC;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TOKENS ───────────────────────────────────────── */
:root {
  --black:    #0A0A08;
  --black2:   #111110;
  --black3:   #191917;
  --card:     #141412;
  --ivory:    #E8E4DC;
  --ivory2:   #C8C4BC;
  --ivory3:   #8A8880;
  --gold:     #B8956A;
  --gold-lg:  #D4AF82;
  --silver:   #9AA4AE;
  --border:   rgba(184,149,106,0.15);
  --border2:  rgba(232,228,220,0.08);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ── GRAIN TEXTURE ────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ── LAYOUT ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }

/* ── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,8,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px; display: flex; align-items: center; padding: 0 40px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-mark {
  width: 32px; height: 32px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-size: 13px; color: var(--gold);
  font-family: var(--font-display); font-style: italic;
  letter-spacing: 1px;
}
.nav-logo-text { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 3px; color: var(--ivory); text-transform: uppercase; }
.nav-logo-sub { font-size: 0.6rem; color: var(--ivory3); font-family: var(--font-mono); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 0.75rem; font-weight: 400; color: var(--ivory3);
  text-decoration: none; padding: 8px 14px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }

.nav-cta {
  background: transparent; color: var(--gold);
  padding: 9px 24px; border: 1px solid var(--gold);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-body);
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 20px; height: 1px; background: var(--ivory); transition: all 0.3s; }
.nav-mobile {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,8,0.98); backdrop-filter: blur(20px);
  z-index: 99; padding: 48px 40px; flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display); font-size: 2.8rem; letter-spacing: 2px; font-style: italic;
  color: var(--ivory3); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--border2); transition: color 0.3s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--ivory); }
.nav-mobile .nav-mobile-cta {
  margin-top: 32px; background: transparent; color: var(--gold);
  padding: 16px 28px; border: 1px solid var(--gold);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; text-align: center; font-family: var(--font-body);
  transition: all 0.3s;
}
.nav-mobile .nav-mobile-cta:hover { background: var(--gold); color: var(--black); }

/* ── PAGE HERO (inner pages) ──────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border2);
}
.page-hero-rule {
  display: flex; align-items: center; gap: 16px; margin-bottom: 36px;
}
.page-hero-rule::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.page-hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 300; font-style: italic;
  line-height: 0.95; letter-spacing: -1px;
  color: var(--ivory); margin-bottom: 28px;
}
.page-hero-title strong { font-weight: 600; font-style: normal; }
.page-hero-sub {
  font-size: 1rem; color: var(--ivory3); max-width: 520px;
  line-height: 1.8; font-weight: 300;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--black);
  padding: 15px 36px; border: 1px solid var(--gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; font-family: var(--font-body);
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 12px;
}
.btn-primary:hover { background: var(--gold-lg); border-color: var(--gold-lg); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--ivory);
  padding: 15px 36px; border: 1px solid var(--border2);
  font-size: 0.75rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; font-family: var(--font-body);
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 12px;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTION TYPOGRAPHY ───────────────────────────── */
.section-rule {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.section-rule::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300; font-style: italic; line-height: 1;
  color: var(--ivory); margin-bottom: 20px;
}
.section-title strong { font-weight: 600; font-style: normal; }
.section-sub {
  font-size: 0.95rem; color: var(--ivory3); max-width: 520px;
  line-height: 1.85; font-weight: 300; margin-bottom: 56px;
}

/* ── CTA SECTION ──────────────────────────────────── */
.cta-section {
  padding: 140px 0;
  background: var(--black2);
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 700px; }
.cta-eyebrow { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; display: block; }
.cta-headline {
  font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300; font-style: italic; line-height: 0.95;
  color: var(--ivory); margin-bottom: 28px;
}
.cta-headline strong { font-weight: 600; font-style: normal; }
.cta-sub { font-size: 1rem; color: var(--ivory3); max-width: 480px; line-height: 1.8; font-weight: 300; margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.cta-contact { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ivory3); letter-spacing: 1px; }
.cta-contact a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
.cta-contact a:hover { color: var(--gold-lg); }

/* ── FOOTER ───────────────────────────────────────── */
footer { padding: 60px 40px; border-top: 1px solid var(--border); background: var(--black); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--ivory); margin-bottom: 8px; }
.footer-brand-sub { font-size: 0.78rem; color: var(--ivory3); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.6rem; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.82rem; color: var(--ivory3); text-decoration: none; margin-bottom: 10px; letter-spacing: 0.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid var(--border2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.72rem; color: var(--ivory3); letter-spacing: 0.5px; }
.footer-note { font-family: var(--font-mono); font-size: 0.6rem; color: rgba(138,136,128,0.4); letter-spacing: 1px; }

/* ── ANIMATIONS ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.reveal-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.36s; }
.reveal-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.48s; }
.reveal-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.6s; }
.reveal-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.72s; }
.reveal-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.84s; }

/* ── MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,8,0.92); backdrop-filter: blur(16px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 68px 20px 40px; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card); border: 1px solid var(--border);
  padding: 56px 52px; width: 100%; max-width: 560px;
  flex-shrink: 0; margin: auto;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: fixed; top: 16px; right: 20px;
  background: rgba(20,20,18,0.95); border: 1px solid var(--border);
  width: 42px; height: 42px; cursor: pointer; color: var(--ivory3);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  z-index: 201; transition: all 0.2s; font-family: var(--font-body);
}
.modal-close:hover { color: var(--ivory); border-color: var(--gold); }
.modal-rule { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.modal-rule::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.modal-eyebrow { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.modal-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 300; font-style: italic; line-height: 1.1; margin-bottom: 8px; color: var(--ivory); }
.modal-sub { font-size: 0.85rem; color: var(--ivory3); margin-bottom: 32px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--ivory3); letter-spacing: 2px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(10,10,8,0.8); border: 1px solid var(--border2); border-bottom: 1px solid rgba(232,228,220,0.2);
  padding: 12px 0; color: var(--ivory); font-family: var(--font-body); font-size: 0.9rem;
  outline: none; transition: border-color 0.3s; width: 100%;
  border-left: none; border-right: none; border-top: none;
  background: transparent;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-bottom-color: var(--gold); }
.form-group select option { background: var(--black2); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
  width: 100%; padding: 16px; background: var(--gold); color: var(--black);
  border: 1px solid var(--gold); font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; margin-top: 8px; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover { background: var(--gold-lg); border-color: var(--gold-lg); }
.modal-ty { text-align: center; padding: 32px 20px; display: none; }
.modal-ty.show { display: block; }
.modal-form.hidden { display: none; }
.ty-rule { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 28px; }
.ty-title { font-family: var(--font-display); font-size: 2.8rem; font-weight: 300; font-style: italic; margin-bottom: 16px; color: var(--ivory); }
.ty-sub { font-size: 0.88rem; color: var(--ivory3); line-height: 1.75; }

/* ── WHATSAPP FAB ─────────────────────────────────── */
.wa-fab { position: fixed; bottom: 32px; right: 32px; z-index: 150; }
.wa-btn {
  width: 52px; height: 52px; border: 1px solid rgba(37,211,102,0.4);
  background: rgba(10,10,8,0.9); backdrop-filter: blur(8px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; position: relative; z-index: 2;
}
.wa-btn:hover { border-color: #25D366; background: rgba(37,211,102,0.1); }
.wa-btn svg { width: 22px; height: 22px; fill: #25D366; }
.wa-bubble {
  position: absolute; bottom: 64px; right: 0; width: 270px;
  background: var(--card); border: 1px solid var(--border);
  padding: 20px; opacity: 0; pointer-events: none;
  transform: translateY(8px); transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.wa-bubble.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.wa-bubble-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border2); }
.wa-avatar { width: 32px; height: 32px; border: 1px solid rgba(37,211,102,0.3); display: grid; place-items: center; flex-shrink: 0; }
.wa-avatar svg { width: 16px; height: 16px; fill: #25D366; }
.wa-name { font-size: 0.82rem; font-weight: 500; color: var(--ivory); }
.wa-status { font-size: 0.68rem; color: #25D366; font-family: var(--font-mono); }
.wa-messages { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.wa-msg {
  border: 1px solid var(--border2); padding: 10px 12px;
  font-size: 0.78rem; color: var(--ivory3); line-height: 1.5; cursor: pointer;
  transition: all 0.2s; text-align: left; background: none; font-family: var(--font-body); width: 100%;
}
.wa-msg:hover { border-color: var(--gold); color: var(--ivory); }
.wa-bubble-note { font-family: var(--font-mono); font-size: 0.58rem; color: var(--ivory3); text-align: center; letter-spacing: 0.5px; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  nav { padding: 0 24px; }
  footer { padding: 48px 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .modal { padding: 40px 28px; }
  .modal-overlay { padding: 68px 16px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-fab { bottom: 20px; right: 20px; }
  .page-hero { padding: 110px 0 60px; }
  .cta-section { padding: 100px 0; }
  .cta-buttons { flex-direction: column; }
}
