/* ==========================================================================
   KEYRECODE™ LUXURY DESIGN SYSTEM (ROLEX EMERALD & GOLD EDITION)
   ========================================================================== */

:root {
  /* Rolex Iconic Color Palette */
  --rolex-green-obsidian: #020e0a;
  --rolex-green-deep: #052119;
  --rolex-green-base: #006039;
  --rolex-green-bright: #0b7a4c;
  --rolex-green-sheen: rgba(0, 96, 57, 0.45);
  
  /* Rolex Warm Brushed Gold */
  --rolex-gold: #C5A047;
  --rolex-gold-rich: #A37E2C;
  --rolex-gold-bright: #e8c872;
  --rolex-gold-light: #f5e4ba;
  
  /* Champagne Silk / Oyster Contrast (Kseniya's request) */
  --champagne-silk: #F7F2EA;
  --champagne-silk-deep: #EBE0D0;
  --champagne-text: #052119;
  
  /* Royal Burgundy Accent (from Kseniya's palette) */
  --burgundy-royal: #6B0F1A;
  --burgundy-glow: rgba(107, 15, 26, 0.35);
  
  /* UI Surface Colors */
  --bg-dark: #020c09;
  --bg-card: rgba(5, 33, 25, 0.82);
  --bg-card-hover: rgba(8, 48, 36, 0.95);
  --border-subtle: rgba(197, 160, 71, 0.28);
  --border-focus: rgba(232, 200, 114, 0.6);
  --border-gold-bevel: 1px solid rgba(197, 160, 71, 0.4);
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #f7f2ea 25%, #e8c872 60%, #a37e2c 100%);
  --gold-btn: linear-gradient(135deg, #fdf6e6 0%, #e8c872 35%, #c5a047 70%, #906e22 100%);
  --emerald-sunburst: radial-gradient(ellipse at 50% -10%, rgba(0, 96, 57, 0.5) 0%, rgba(5, 33, 25, 0.95) 60%, #020c09 100%);
  
  /* Typography */
  --text-main: #F7F2EA;
  --text-muted: #c8d8d3;
  --text-dim: #7f9992;
  
  --font-body: 'EB Garamond', serif;
  --font-ui: 'Manrope', sans-serif;
  --font-title: 'Cinzel', serif;
  --font-accent: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 80% 8%, rgba(0, 96, 57, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(5, 33, 25, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 90% 60%, rgba(197, 160, 71, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 20% 85%, rgba(107, 15, 26, 0.25) 0%, transparent 45%);
  background-attachment: fixed;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   ROLEX LUXURY HEADER
   ========================================================================== */
header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  background: rgba(2, 14, 10, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand-logo { text-decoration: none; display: flex; flex-direction: column; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-title); font-size: 20px; font-weight: 800; letter-spacing: 3.5px;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1;
}
.brand-tagline { font-size: 8.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--rolex-gold); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--rolex-gold-bright) !important; font-weight: 700; text-shadow: 0 0 12px rgba(232, 200, 114, 0.4); }

.btn-header {
  border: 1px solid var(--border-focus);
  background: rgba(197, 160, 71, 0.1);
  color: var(--champagne-silk);
  padding: 9px 22px; border-radius: 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; text-decoration: none; transition: all 0.3s; white-space: nowrap; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.4);
}
.btn-header:hover { background: var(--gold-btn); color: #020e0a; border-color: transparent; box-shadow: 0 0 20px rgba(197, 160, 71, 0.55); }

/* ==========================================================================
   METALLIC GOLD BUTTONS
   ========================================================================== */
.btn-main {
  background: var(--gold-btn); border: none; color: #020e0a; padding: 13px 30px;
  border-radius: 30px; font-size: 13px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 24px rgba(197, 160, 71, 0.38);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 32px rgba(197, 160, 71, 0.65); filter: brightness(1.06); }

.btn-secondary {
  background: rgba(197, 160, 71, 0.08); border: 1px solid var(--border-focus); color: var(--champagne-silk); padding: 13px 26px;
  border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.25s;
}
.btn-secondary:hover { background: rgba(197, 160, 71, 0.18); border-color: var(--rolex-gold-bright); color: #fff; box-shadow: 0 0 16px rgba(197, 160, 71, 0.3); }

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
.section { padding: 52px 0; position: relative; }
.section-border { border-top: 1px solid var(--border-subtle); }
.section-tag { font-size: 11px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--rolex-gold); margin-bottom: 8px; display: block; }
.section-title { font-family: var(--font-title); font-size: 32px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.section-subtitle { font-family: var(--font-body); font-size: 19px; color: var(--text-muted); max-width: 720px; line-height: 1.6; }
.prose-text { font-family: var(--font-body); font-size: 18.5px; color: var(--champagne-silk); line-height: 1.65; margin-bottom: 14px; }

/* ==========================================================================
   ROLEX DEEP EMERALD CARDS (PRIMARY)
   ========================================================================== */
.card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 26px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.65);
  transition: all 0.25s;
}
.card-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  box-shadow: inset 0 1px 0 rgba(232, 200, 114, 0.2), 0 16px 40px rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}
.card-box h3 { font-family: var(--font-title); font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; text-transform: uppercase; }

/* ==========================================================================
   CHAMPAGNE SILK CONTRAST CARDS (KSENIYA'S EXACT REQUEST)
   ========================================================================== */
.card-champagne {
  background: linear-gradient(145deg, #FAF4EB 0%, #EFE3D2 100%) !important;
  border: 1px solid rgba(197, 160, 71, 0.7) !important;
  color: #052119 !important;
  border-radius: 18px; padding: 32px 36px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 16px 45px rgba(0, 0, 0, 0.45);
}
.card-champagne h2, .card-champagne h3, .card-champagne .section-title {
  color: #052119 !important;
  font-family: var(--font-title);
}
.card-champagne p, .card-champagne .prose-text {
  color: #12332a !important;
  font-family: var(--font-body);
}
.card-champagne .section-tag {
  color: var(--burgundy-royal) !important;
  font-weight: 800;
}
.card-champagne .p-quote {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(197, 160, 71, 0.4) !important;
  border-left: 4px solid var(--rolex-green-base) !important;
  color: #052119 !important;
}

/* ==========================================================================
   BURGUNDY ACCENTS (RUBY WAX SEALS)
   ========================================================================== */
.badge-burgundy {
  background: rgba(107, 15, 26, 0.9);
  border: 1px solid rgba(232, 200, 114, 0.4);
  color: #FAF4ED;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(107, 15, 26, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 32px;
  background: #010806;
  font-size: 12.5px;
  color: var(--text-dim);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; margin-bottom: 28px; text-align: left; }
.footer-col h5 { font-family: var(--font-title); font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; font-size: 12.5px; }
.footer-links a:hover { color: var(--rolex-gold-bright); }
.footer-bottom { border-top: 1px solid rgba(197, 160, 71, 0.12); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }

@media (max-width: 992px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
