@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --navy: #0F1B2D;
  --navy-mid: #1B2A4A;
  --navy-light: #2A3F6B;
  --gold: #C8943E;
  --gold-light: #E8B96A;
  --cream: #FAF7F2;
  --warm-white: #FDFCFA;
  --text: #1A1A1A;
  --text-light: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: #E5E0D8;
  --accent-bg: #F5F0E8;
  --blue-tint: #E8F0F8;
  --shadow-sm: 0 1px 3px rgba(15,27,45,0.08);
  --shadow-md: 0 4px 20px rgba(15,27,45,0.10);
  --shadow-lg: 0 12px 40px rgba(15,27,45,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

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

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.logo span { color: var(--gold); }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-boxes {
  display: flex; flex-wrap: wrap; width: 28px; gap: 2px;
}
.logo-box {
  width: 13px; height: 13px; border: 2px solid var(--navy);
  border-radius: 2px;
}
.logo-box.top { margin: 0 auto; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text); font-size: 0.95rem; font-weight: 500;
  position: relative; transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--navy); color: white !important; padding: 10px 24px;
  border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--navy-light); transform: translateY(-1px); color: white !important; }
.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  position: absolute; left: 4px; transition: var(--transition);
}
.mobile-toggle span:nth-child(1) { top: 8px; }
.mobile-toggle span:nth-child(2) { top: 15px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(170deg, var(--cream) 0%, var(--warm-white) 60%, var(--blue-tint) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,148,62,0.06) 0%, transparent 70%);
}

.hero-content { max-width: 720px; }
.hero-label {
  display: inline-block; font-size: 0.85rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-light); line-height: 1.8;
  max-width: 600px; margin-bottom: 40px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius); font-weight: 600;
  font-size: 1rem; cursor: pointer; transition: all var(--transition);
  border: none; font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-light); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--navy); border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-light); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { color: var(--text-light); margin-top: 16px; font-size: 1.1rem; }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ===== PYRAMID VISUAL ===== */
.pyramid-visual {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin: 40px auto; max-width: 500px;
}
.pyramid-box {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 28px 20px;
  border: 3px solid var(--navy); border-radius: var(--radius);
  text-align: center; transition: transform var(--transition), box-shadow var(--transition);
}
.pyramid-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pyramid-box.box1 { width: 60%; background: #FFF8ED; }
.pyramid-box.box2 { width: 90%; background: var(--blue-tint); }
.pyramid-box.box3 { width: 90%; background: #E8F0F8; }
.pyramid-row { display: flex; gap: 8px; width: 100%; }
.pyramid-row .pyramid-box { flex: 1; }
.pyramid-box h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pyramid-box p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.feature-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 48px; height: 48px; background: var(--accent-bg);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== STAT BAR ===== */
.stat-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; padding: 60px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; color: var(--gold); line-height: 1;
}
.section-dark .stat-number { color: var(--gold-light); }
.stat-label { font-size: 0.95rem; color: var(--text-light); margin-top: 8px; }
.section-dark .stat-label { color: rgba(255,255,255,0.7); }

/* ===== OFFERINGS ===== */
.offering-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.offering-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.offering-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offering-card-header {
  padding: 32px 32px 24px; border-bottom: 1px solid var(--border);
}
.offering-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 12px;
  border-radius: 100px; margin-bottom: 16px;
}
.badge-soon { background: var(--accent-bg); color: var(--gold); }
.badge-live { background: #E8F5E9; color: #2E7D32; }
.badge-premium { background: var(--navy); color: white; }
.offering-card-body { padding: 24px 32px 32px; }
.offering-card-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.offering-card-body ul { list-style: none; padding: 0; }
.offering-card-body li {
  padding: 8px 0; font-size: 0.93rem; color: var(--text-light);
  display: flex; align-items: flex-start; gap: 10px;
}
.offering-card-body li::before {
  content: '\2713'; color: var(--gold); font-weight: 700; flex-shrink: 0;
  margin-top: 2px;
}

/* ===== QUOTE ===== */
.quote-block {
  max-width: 800px; margin: 0 auto; text-align: center; padding: 60px 40px;
}
.quote-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy);
  line-height: 1.5; margin-bottom: 16px;
}
.section-dark .quote-text { color: white; }
.quote-attr { font-size: 0.9rem; color: var(--text-muted); }

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; counter-reset: step;
}
.process-step {
  text-align: center; padding: 32px 20px; position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step); font-family: 'DM Serif Display', serif;
  font-size: 3rem; color: var(--gold); opacity: 0.3; display: block;
  margin-bottom: 12px; line-height: 1;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* ===== WORKS WITH ===== */
.works-with-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.works-with-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px 24px;
}
.works-with-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.works-with-card p { font-size: 0.9rem; }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px; height: 44px; background: var(--accent-bg);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 1.1rem;
}
.contact-detail h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.contact-detail p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.contact-detail a { color: var(--gold); }

.contact-form {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 6px; color: var(--navy);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: 'DM Sans', sans-serif;
  font-size: 1rem; transition: border-color var(--transition);
  background: var(--warm-white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo { color: white; }
.footer-brand p { font-size: 0.9rem; max-width: 340px; line-height: 1.7; }
.footer-links h4 { color: white; font-family: 'DM Sans', sans-serif; font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.8rem;
}
.footer-legal a { color: rgba(255,255,255,0.5); margin-left: 20px; }
.footer-legal a:hover { color: var(--gold-light); }

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; z-index: 9999;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 320px; width: calc(100% - 32px);
  overflow: hidden; font-size: 0.85rem;
  animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hidden { display: none; }
.cookie-header { padding: 16px 16px 0; }
.cookie-header h4 { font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; }
.cookie-header p { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }
.cookie-options { padding: 10px 16px; }
.cookie-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.cookie-option:last-child { border-bottom: none; }
.cookie-option-label { font-size: 0.82rem; font-weight: 500; }
.cookie-option-desc { font-size: 0.72rem; color: var(--text-muted); }

/* Toggle switch */
.toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: #ccc; border-radius: 24px;
  cursor: pointer; transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute; width: 16px; height: 16px;
  bottom: 3px; left: 3px; background: white; border-radius: 50%;
  transition: var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--gold); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-actions { padding: 12px 16px 16px; display: flex; gap: 8px; }
.cookie-actions .btn { flex: 1; padding: 8px 12px; font-size: 0.82rem; justify-content: center; }

.cookie-category { border-bottom: 1px solid var(--border); }
.cookie-category:last-child { border-bottom: none; }
.cookie-cat-row { cursor: pointer; user-select: none; }
.cookie-cat-row:hover { background: #FAFAFA; }

/* 3-state indicator: off (gray/left), partial (blue/middle), on (gold/right) */
.cookie-indicator {
  width: 40px; height: 22px; border-radius: 22px; flex-shrink: 0;
  position: relative; transition: background 0.3s; cursor: pointer;
}
.cookie-indicator::before {
  content: ''; position: absolute; width: 16px; height: 16px;
  top: 3px; border-radius: 50%; background: white;
  transition: left 0.3s;
}
.cookie-indicator.ci-on { background: var(--gold); }
.cookie-indicator.ci-on::before { left: 21px; }
.cookie-indicator.ci-partial { background: #5B8DB8; }
.cookie-indicator.ci-partial::before { left: 12px; }
.cookie-indicator.ci-off { background: #ccc; }
.cookie-indicator.ci-off::before { left: 3px; }
.cookie-expand-icon {
  font-size: 0.7rem; color: var(--text-muted); width: 14px;
  display: inline-block; text-align: center; transition: transform 0.2s;
  cursor: pointer;
}
.cookie-sub-options {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px; background: #FAFAFA;
}
.cookie-sub-options.open {
  max-height: 400px; padding: 6px 16px 10px;
}
.cookie-sub-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0; font-size: 0.78rem; color: var(--text-light);
}
.toggle-sm { width: 32px; height: 18px; }
.toggle-sm .toggle-slider::before {
  width: 12px; height: 12px; bottom: 3px; left: 3px;
}
.toggle-sm input:checked + .toggle-slider::before { transform: translateX(14px); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(170deg, var(--cream) 0%, var(--warm-white) 100%);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; }

/* ===== ABOUT CONTENT ===== */
.about-content { max-width: 760px; }
.about-content p { margin-bottom: 20px; color: var(--text-light); }
.about-content h2 { margin-top: 40px; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: white;
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .hero { padding: 120px 0 60px; }
  .hero-cta-group { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pyramid-row { display: contents; }
  .pyramid-visual { align-items: center; }
  .pyramid-box.box1 { width: 70%; order: 1; }
  .pyramid-box.box2 { width: 80%; order: 2; }
  .pyramid-box.box3 { width: 90%; order: 3; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
}
