/* ═══ DWA SHARED STYLES ═══ */
/* Fonts: Outfit (all weights) + Space Mono — matching dashboard/landing page */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Explicit font declaration — belt AND suspenders */
html { font-family: 'Outfit', sans-serif; font-size: 16px; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #A07830;
  --cream: #FEFCF8;
  --warm-white: #F9F6F0;
  --off-white: #F2EDE4;
  --dark: #1A1410;
  --dark-mid: #2D2520;
  --text: #3D3530;
  --text-mid: #6B5F56;
  --text-light: #9B8F86;
  --border: rgba(180,150,100,0.15);
  --border-dark: rgba(180,150,100,0.30);
  --shadow: 0 4px 30px rgba(100,70,30,0.08);
  --shadow-lg: 0 20px 80px rgba(100,70,30,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 76px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* Heading reset — ensure Outfit is used everywhere */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* ── NOISE ── */
.noise {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── CURSOR ── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-follower {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}
body:hover .cursor { opacity: 1; }
.cursor.hover { width: 16px; height: 16px; background: var(--gold-light); }
.cursor-follower.hover { width: 50px; height: 50px; border-color: var(--gold); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(254,252,248,0.92);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 40px rgba(100,70,30,0.10); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  height: 100%; padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; object-fit: contain; }
.logo-fallback { display: flex; align-items: center; }
.logo-icon {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  color: var(--dark); letter-spacing: 2px;
  padding: 6px 14px;
  border: 2px solid var(--gold);
  border-radius: 6px;
}
.logo-text {
  font-family: var(--font-display); font-size: 15px;
  font-weight: 700; color: var(--dark);
  letter-spacing: 0.5px; line-height: 1.2;
}
.logo-text small { display: block; font-size: 9px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; font-family: var(--font-body); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s; letter-spacing: 0.2px;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--dark); background: var(--off-white); }
.nav-link.active { color: var(--gold-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: white;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; text-decoration: none;
  padding: 11px 22px; border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.25s; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201,168,76,0.30);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-gold.btn-lg { padding: 14px 32px; font-size: 14px; border-radius: 10px; }
.btn-outline {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border-dark); color: var(--text);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  text-decoration: none; padding: 10px 20px; border-radius: 8px; cursor: pointer;
  background: transparent; transition: all 0.2s; white-space: nowrap;
}
.btn-outline:hover { background: var(--off-white); border-color: var(--gold); color: var(--dark); }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(26,20,16,0.25); color: var(--dark);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 14px 32px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); transition: all 0.2s;
}
.btn-outline-dark:hover { background: white; border-color: var(--gold); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: white;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  text-decoration: none; padding: 16px 40px; border-radius: 10px; border: none; cursor: pointer;
  transition: all 0.25s;
}
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26,20,16,0.20); }
.btn-dark.btn-lg { padding: 16px 40px; }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ── TYPOGRAPHY ── */
.section-tag {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--dark); margin-bottom: 20px;
}
.section-h2 em { font-style: italic; color: var(--gold-dark); font-weight: 300; letter-spacing: -0.5px; }
.gold-line { width: 48px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; margin: 20px 0; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--dark); overflow: hidden; padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 32px; width: max-content;
  animation: marquee 28s linear infinite; white-space: nowrap;
}
.marquee-track span { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.marquee-track .dot { color: var(--gold); font-size: 8px; display: flex; align-items: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FEATURE CARDS ── */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-dark); }
.feat-ico { font-size: 32px; margin-bottom: 14px; display: block; }
.feat-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feat-card p { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.revealed { opacity: 1 !important; transform: translate(0) !important; }

/* ── SERVICE LIST ── */
.svc-list { display: flex; flex-direction: column; gap: 2px; margin-top: 40px; }
.svc-item {
  display: flex; align-items: center; gap: 24px; padding: 24px 28px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: all 0.25s; cursor: none;
}
.svc-item:hover { background: var(--off-white); border-color: var(--gold); transform: translateX(8px); }
.svc-num { font-family: var(--font-mono); font-size: 22px; color: var(--gold); font-weight: 700; min-width: 40px; }
.svc-ico-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--off-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-ico { font-size: 22px; }
.svc-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.svc-item p { font-size: 13px; color: var(--text-mid); }
.svc-arrow { margin-left: auto; font-size: 20px; color: var(--gold); opacity: 0; transition: opacity 0.2s, transform 0.2s; transform: translateX(-8px); }
.svc-item:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, #B8943C 60%, #D4A855 100%);
  padding: 100px 32px; text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--dark); margin-bottom: 36px; line-height: 1.2;
}
.cta-band h2 em { font-style: italic; font-weight: 300; }

/* ── FOOTER ── */
.footer { background: var(--dark); padding: 56px 32px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 60px; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-left p { font-size: 13px; color: rgba(255,255,255,0.50); line-height: 1.75; max-width: 560px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; }
.footer-links a { font-size: 12px; color: var(--gold); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-right { flex-shrink: 0; }
.broker-check { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.broker-check span { display: block; font-size: 11px; font-family: var(--font-body); letter-spacing: 2px; color: rgba(255,255,255,0.35); margin-top: 4px; }
.footer-copy { max-width: 1200px; margin: 0 auto; padding: 18px 0; font-size: 12px; color: rgba(255,255,255,0.25); text-align: center; }

/* ── SECTION SPACINGS ── */
section { position: relative; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 32px 80px;
  background: linear-gradient(160deg, var(--warm-white) 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4.5rem);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1; color: var(--dark); max-width: 700px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--gold-dark); letter-spacing: -0.5px; }
.page-hero .subtitle { font-size: 16px; color: var(--text-mid); margin-top: 16px; max-width: 500px; line-height: 1.7; }

/* ── TAB NAV ── */
.tab-nav {
  background: white; border-bottom: 1px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 100;
}
.tab-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; gap: 4px; overflow-x: auto;
}
.tab-btn {
  display: flex; align-items: center; gap: 8px; padding: 18px 20px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
  transition: all 0.2s; background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--gold-dark); border-bottom: 2px solid var(--gold); }

/* ── SECTION PANELS ── */
.svc-section { padding: 100px 32px; }
.svc-section:nth-child(even) { background: var(--warm-white); }
.svc-section-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.svc-section-inner.reverse { direction: rtl; }
.svc-section-inner.reverse > * { direction: ltr; }
.svc-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.svc-img-wrap img { width: 100%; height: 400px; object-fit: cover; display: block; filter: grayscale(15%) contrast(1.05); }
.svc-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,168,76,0.15), transparent); }
.svc-content h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 8px; }
.svc-content .subtitle { font-size: 15px; color: var(--gold-dark); font-style: italic; margin-bottom: 16px; }
.svc-content p { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 28px; }

/* ── RESPONSIVE NAV MOBILE ── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px 32px 28px; gap: 4px;
    transform: translateY(-120%); opacity: 0; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { padding: 12px 16px; font-size: 15px; }
  .hamburger { display: flex; }
  .btn-outline { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .feature-cards { grid-template-columns: 1fr; }
  .svc-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-section-inner.reverse { direction: ltr; }
  .footer-inner { flex-direction: column; gap: 36px; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; gap: 12px; }
  .feature-cards { grid-template-columns: 1fr; }
  .svc-item { flex-wrap: wrap; gap: 14px; }
  .tab-nav-inner { padding: 0 16px; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 20px 60px; }
  .svc-section { padding: 60px 20px; }
}