/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #181614;
  --dark-2: #1f1d1a;
  --light: #f5f2ee;
  --light-2: #e8e4de;
  --gold: #C9A24B;
  --gold-on-dark: oklch(0.87 0.09 88);
  --gold-hover: #d4af5e;
  --teal: #4ABAB4;
  --white: #ffffff;
  --text-muted: #999;
  --text-mid: #666;
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1140px;
  --header-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--dark);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -1px;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.7;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ===== NAV ===== */
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.2s;
}

nav a:hover, nav a.active { opacity: 1; color: var(--white); }
nav a.active { color: var(--gold); opacity: 1; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark) !important;
  opacity: 1 !important;
  padding: 10px 18px 10px 14px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-hover) !important; }

.nav-cta-icon {
  width: 22px; height: 22px;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-cta-icon svg { width: 10px; height: 10px; }
.nav-cta-icon svg path,
.btn-icon svg path { stroke: #ffffff; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}

/* ===== HERO (base) ===== */
.hero {
  background: var(--dark);
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
}

.hero .section-label { color: rgba(255,255,255,0.5); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 8px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-on-dark);
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 24px auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark);
  padding: 12px 22px 12px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }

.btn-primary .btn-icon {
  width: 26px; height: 26px;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.btn-ghost {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--dark);
  padding: 96px 0;
  text-align: center;
}

.cta-section .section-label { color: rgba(255,255,255,0.4); justify-content: center; }

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.25;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand .logo-mark { font-size: 24px; }

.footer-lexobras {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  transition: color 0.2s;
}

.footer-lexobras:hover { color: var(--white); }

.footer-tagline {
  font-size: 13px;
  color: var(--gold);
  margin-top: 12px;
  line-height: 1.5;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--dark);
  padding: 24px 32px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--white); }

/* ===== RESPONSIVE (shared) ===== */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; }
  .cta-section { padding: 64px 0; }
}
