/* ── CUSTOM STYLES (complement to Tailwind CDN) ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0f1f3d;
  --navy-mid: #162847;
  --navy-light: #1e3560;
  --gold: #b8973a;
  --gold-light: #d4af5a;
  --gold-pale: #f0d98a;
  --cream: #faf8f4;
  --border: #e8e2d8;
  --text: #2a2a35;
  --muted: #6b6b7a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; margin: 0; -webkit-font-smoothing: antialiased; }

/* ── TYPOGRAPHY ── */
.font-display { font-family: 'Playfair Display', Georgia, serif; }

/* ── NAV ── */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, height 0.3s;
}
#mainNav.nav-scrolled {
  background: rgba(15,31,61,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  height: 64px;
}
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.75); text-decoration: none;
  transition: color 0.2s; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { border-bottom: 1px solid var(--gold-light); }
.nav-cta {
  background: var(--gold-light); color: var(--navy) !important;
  padding: 9px 22px !important; border-radius: 2px; letter-spacing: 1.5px;
  transition: background 0.2s !important; border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-pale) !important; }
.lang-btn {
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: 1px;
  padding: 5px 10px !important; border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px; color: rgba(255,255,255,.6) !important; text-transform: uppercase;
  transition: all 0.2s !important;
}
.lang-btn.active, .lang-btn:hover { border-color: var(--gold-light) !important; color: var(--gold-pale) !important; }

/* ── MOBILE MENU ── */
#mobileMenu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 90; padding: 88px 8% 40px;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
#mobileMenu.open { transform: translateX(0); }
#mobileMenu a {
  display: block; padding: 16px 0; font-size: 22px;
  font-family: 'Playfair Display', serif; font-weight: 400;
  color: rgba(255,255,255,.8); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color 0.2s;
}
#mobileMenu a:hover { color: var(--gold-pale); }

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a2f5a 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,151,58,.12) 0%, transparent 70%);
  top: 10%; right: -100px; border-radius: 50%; pointer-events: none;
}
.hero-line { width: 40px; height: 2px; background: var(--gold-light); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 160px 5% 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(184,151,58,.4), transparent);
}

/* ── SECTIONS ── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-label.light { color: var(--gold-pale); }
.gold-line { width: 40px; height: 2px; background: var(--gold-light); margin: 20px 0 28px; }

/* ── CARDS ── */
.service-card {
  border: 1px solid var(--border);
  background: #fff;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15,31,61,.1); border-color: rgba(184,151,58,.3); }
.service-card:hover::before { transform: scaleX(1); }

.value-card {
  background: var(--cream); border: 1px solid var(--border);
  transition: all 0.3s; padding: 36px 32px;
}
.value-card:hover { border-color: rgba(184,151,58,.4); box-shadow: 0 8px 32px rgba(15,31,61,.06); }

/* ── TIMELINE ── */
.timeline-item { position: relative; padding-left: 80px; padding-bottom: 48px; }
.timeline-item::before {
  content: ''; position: absolute; left: 28px; top: 24px; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 400;
  color: var(--gold-pale); border: 1px solid rgba(184,151,58,.3);
  flex-shrink: 0;
}

/* ── PROCESS STEPS ── */
.process-num {
  font-family: 'Playfair Display', serif; font-size: 80px; font-weight: 400;
  color: rgba(15,31,61,.06); line-height: 1; position: absolute; top: -16px; right: 0;
}

/* ── SECTORS ── */
.sector-card {
  background: var(--navy); color: white; overflow: hidden;
  position: relative; transition: transform 0.3s;
}
.sector-card:hover { transform: translateY(-4px); }
.sector-card-img {
  width: 100%; height: 200px; object-fit: cover; opacity: 0.4;
  transition: opacity 0.3s;
}
.sector-card:hover .sector-card-img { opacity: 0.55; }

/* ── COMPARISON TABLE ── */
.compare-yes { color: var(--gold); }
.compare-no { color: #aaa; }

/* ── CONTACT FORM ── */
.form-input {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border); background: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  transition: border-color 0.2s; outline: none; border-radius: 2px;
}
.form-input:focus { border-color: var(--gold); }
.form-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.65); }
.footer-link { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-link:hover { color: var(--gold-pale); }

/* ── BUTTON ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light); color: var(--navy);
  padding: 14px 32px; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-pale); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.8);
  padding: 14px 32px; font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.25);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); color: #fff; }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--gold-pale);
  padding: 12px 28px; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  border: 1px solid rgba(184,151,58,.3);
  transition: background 0.2s, border-color 0.2s;
}
.btn-dark:hover { background: var(--navy-light); border-color: var(--gold-light); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── STAT BOX ── */
.stat-box {
  border-left: 2px solid rgba(184,151,58,.4); padding-left: 20px;
}

/* ── DIVIDER ── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15,31,61,.97); backdrop-filter: blur(12px);
  padding: 20px 5%;
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  border-top: 1px solid rgba(184,151,58,.2);
  transform: translateY(100%); transition: transform 0.4s;
}
#cookieBanner.visible { transform: translateY(0); }
.cookie-btn {
  padding: 8px 20px; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid; border-radius: 2px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.cookie-btn-accept { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); }
.cookie-btn-accept:hover { background: var(--gold-pale); }
.cookie-btn-config { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.cookie-btn-config:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.cookie-btn-reject { background: transparent; color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }
.cookie-btn-reject:hover { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.75); }

/* ── COOKIE MODAL ── */
#cookieModal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
#cookieModal.open { display: flex; }
.cookie-modal-box {
  background: var(--navy-light); max-width: 520px; width: 100%;
  padding: 40px; border: 1px solid rgba(184,151,58,.2);
  border-radius: 4px; position: relative; max-height: 90vh; overflow-y: auto;
}
.cookie-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cookie-toggle input { display: none; }
.cookie-slider {
  width: 40px; height: 22px; background: rgba(255,255,255,.15);
  border-radius: 11px; position: relative; transition: background 0.2s; flex-shrink: 0;
}
.cookie-slider::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-slider { background: var(--gold); }
.cookie-toggle input:checked + .cookie-slider::after { transform: translateX(18px); }
.cookie-toggle input:disabled + .cookie-slider { background: rgba(184,151,58,.4); }

/* ── HAMBURGER ICON ── */
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: #fff; transition: all 0.3s; margin: 5px 0;
}

/* ── QUICK NAV BAR ── */
.quick-nav { background: var(--cream); border-bottom: 1px solid var(--border); }
.quick-nav a {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 16px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border-right: 1px solid var(--border); flex: 1; text-align: center;
  transition: all 0.2s; white-space: nowrap;
}
.quick-nav a:hover { background: var(--navy); color: var(--gold-pale); }
.quick-nav a:last-child { border-right: none; }
.quick-nav .qn-num { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 400; color: var(--navy); transition: color 0.2s; }
.quick-nav a:hover .qn-num { color: var(--gold-pale); }

@media (max-width: 768px) {
  .hero-section { min-height: 100svh; }
  .process-num { font-size: 48px; }
  .quick-nav { display: none; }
}
