/* ═══════════════════════════════════════════════════
   Butler Family Investments — Premium Design System
   ═══════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:            #070a10;
  --bg-warm:       #0a0d14;
  --surface:       #0d1117;
  --surface-up:    #131922;
  --surface-glass: rgba(13,17,23,0.75);

  --gold:          #c5a044;
  --gold-light:    #d4b468;
  --gold-soft:     rgba(197,160,68,0.07);
  --gold-border:   rgba(197,160,68,0.12);

  --text:          #b5b9c4;
  --text-dim:      #5c6370;
  --text-bright:   #e6e8ee;
  --white:         #f0f1f5;

  --border:        rgba(255,255,255,0.04);
  --border-mid:    rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.12);

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.15);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.25);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.35);
  --shadow-up:  0 -1px 30px rgba(0,0,0,0.2);
  --shadow-glow: 0 4px 40px rgba(197,160,68,0.05);

  --r:    5px;
  --r-md: 10px;
  --r-lg: 16px;

  --ease:    cubic-bezier(.25,.1,.25,1);
  --ease-out: cubic-bezier(0,0,.25,1);
  --dur:     .35s;

  --max-w: 1140px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-weight: 300;
  font-size: .94rem;
  overflow-x: hidden;
  cursor: url('../img/cursor.png') 16 16, auto;
}

a, button, input[type="submit"], select, label, [role="button"] {
  cursor: url('../img/cursor.png') 16 16, pointer !important;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

::selection { background: rgba(197,160,68,.25); color: var(--white); }

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

h1,h2,h3,h4,h5 {
  font-family: var(--serif);
  color: var(--white);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -.01em;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

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


/* ══════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: transform .08s;
  display: none;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(197,160,68,.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s;
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  border-color: rgba(197,160,68,.6);
  background: rgba(197,160,68,.04);
}
@media(pointer:coarse){
  .cursor-dot,.cursor-ring{display:none}
  body{cursor:auto}
}


/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 1.4rem 4%;
  display: flex; justify-content: space-between; align-items: center;
  transition: all .5s var(--ease);
}
.navbar.scrolled {
  background: rgba(7,10,16,.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: .75rem 4%;
  border-bottom: 1px solid var(--border);
}

/* Logo */
.logo {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 40px; width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: .1rem;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-item { position: relative; }
.nav-item > a, .nav-link {
  display: block;
  padding: .5rem .45rem;
  color: var(--text-dim);
  font-size: .65rem; font-weight: 400;
  letter-spacing: .5px; text-transform: uppercase;
  transition: color var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.nav-item > a:hover, .nav-link:hover,
.nav-item.active > a { color: var(--white); }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: .6rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: all .3s var(--ease);
  z-index: 9001;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: .55rem 1.4rem;
  color: var(--text);
  font-size: .8rem; font-weight: 300;
  text-transform: none; letter-spacing: 0;
  transition: all .25s var(--ease);
}
.dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,.03);
}

/* Investor Portal CTA */
.nav-cta {
  margin-left: .4rem;
  padding: .4rem 1rem !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: var(--r);
  color: var(--gold) !important;
  font-weight: 400 !important;
  letter-spacing: .8px !important;
  transition: all var(--dur) var(--ease) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}

/* Mobile toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 9002; padding: 6px;
}
.mobile-toggle span {
  width: 22px; height: 1.5px; background: var(--white);
  transition: all .35s var(--ease); display: block;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ══════════════════════════════════════════
   HERO SECTIONS
   ══════════════════════════════════════════ */

/* Page hero (sub-pages) */
.page-hero {
  position: relative;
  padding: 11rem 0 5.5rem;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,10,16,.75) 0%, rgba(7,10,16,.85) 60%, var(--bg) 100%);
  z-index: 1;
}
.page-hero .container,
.page-hero-content {
  position: relative; z-index: 2;
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(7,10,16,.55);
  z-index: 0;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}

.page-hero .badge,
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(197,160,68,.2);
  color: var(--gold);
  font-family: var(--sans);
  font-size: .65rem; font-weight: 400;
  letter-spacing: 3.5px; text-transform: uppercase;
  padding: .45rem 1.6rem;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}
.page-hero h1 span { color: var(--gold); }

.page-hero p,
.page-hero .subtitle {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.85;
}

/* Home hero (full screen) */
.home-hero {
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.home-hero::before {
  background: linear-gradient(180deg,
    rgba(7,10,16,.55) 0%,
    rgba(7,10,16,.7) 40%,
    rgba(7,10,16,.92) 80%,
    var(--bg) 100%);
}
.home-hero .page-hero-bg,
.hero-bg-overlay + .container ~ .scroll-down ~ .page-hero-bg,
.home-hero .hero-bg-overlay {
  position: absolute; inset: 0;
}
.home-hero .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
  opacity: .3;
  filter: saturate(.6);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
}

.hero-buttons {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  margin-top: 2.8rem;
}

/* Scroll indicator */
.scroll-down {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
}
.scroll-down span {
  display: block; width: 20px; height: 32px;
  border: 1px solid rgba(197,160,68,.3);
  border-radius: 10px;
  position: relative;
}
.scroll-down span::after {
  content: ''; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 6px;
  background: var(--gold); border-radius: 1px;
  animation: scrollDot 2.5s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 16px; }
}


/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn,
.btn-gold,
.btn-outline,
.btn-dark {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: none; border-radius: var(--r);
  cursor: pointer; text-decoration: none;
  transition: all var(--dur) var(--ease);
  position: relative;
}

.btn-gold {
  padding: .9rem 2.2rem;
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(197,160,68,.2);
}

.btn-outline {
  padding: .9rem 2.2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-dark {
  padding: .9rem 2.2rem;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  color: var(--text);
}
.btn-dark:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.btn {
  padding: .9rem 2.2rem;
  background: var(--gold);
  color: var(--bg);
}
.btn:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-1px);
}


/* ══════════════════════════════════════════
   SECTIONS & HEADERS
   ══════════════════════════════════════════ */
.section { padding: 8rem 0; }
.section-dark { background: var(--surface); }
.section-alt { background: var(--bg-warm); }

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header .label,
.section-label {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .65rem; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header .label::before,
.section-header .label::after,
.section-label::before,
.section-label::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold-border);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  margin-bottom: .9rem;
  letter-spacing: -.01em;
}
.section-header p {
  color: var(--text-dim);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  font-size: .92rem;
}

.divider {
  width: 40px; height: 1px;
  background: var(--gold-border);
  margin: 1.5rem auto 0;
}


/* ══════════════════════════════════════════
   CARDS (generic)
   ══════════════════════════════════════════ */
.card {
  padding: 2.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .4s var(--ease);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px; height: 48px;
  background: var(--gold-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.card h3, .card h4 { font-size: 1.15rem; margin-bottom: .7rem; font-weight: 400; }
.card p { color: var(--text-dim); font-size: .9rem; line-height: 1.8; }

.card-bar { position: relative; overflow: hidden; }
.card-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: .6;
}


/* ══════════════════════════════════════════
   GRID LAYOUTS
   ══════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }


/* ══════════════════════════════════════════
   STATISTICS
   ══════════════════════════════════════════ */
.stats-row {
  display: flex; gap: 0; justify-content: center; flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 2rem 3.5rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 25%; height: 50%;
  width: 1px; background: var(--border-mid);
}
.stat-item h3, .stat-value {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 300;
  color: var(--white);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}
.stat-item p, .stat-label {
  font-size: .65rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 2.5px;
  font-weight: 400;
}


/* ══════════════════════════════════════════
   PROCESS STEPS
   ══════════════════════════════════════════ */
.process-steps { counter-reset: step; }
.process-grid { }

.process-step {
  display: grid; grid-template-columns: 70px 1fr; gap: .4rem 2.5rem;
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }

/* Handle both wrapped (.step-content) and unwrapped (direct h3/p) structures */
.process-step > h3,
.process-step > p,
.process-step > .step-content {
  grid-column: 2;
}

.step-number {
  width: 54px; height: 54px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.15rem; color: var(--gold);
  font-weight: 400;
  flex-shrink: 0;
  grid-row: 1 / span 3;
}
.step-content {}
.process-step h3 { font-size: 1.2rem; margin-bottom: .7rem; font-weight: 400; }
.process-step p { color: var(--text-dim); font-size: .9rem; line-height: 1.85; }


/* ══════════════════════════════════════════
   PRINCIPLES (homepage)
   ══════════════════════════════════════════ */
.principles-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem;
}
.principle-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-up);
  transition: all .4s var(--ease);
}
.principle-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.principle-icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 1.6rem;
  opacity: .7;
}
.principle-icon svg { width: 28px; height: 28px; }
.principle-card h3 {
  font-size: 1.2rem; font-weight: 400;
  margin-bottom: .8rem;
}
.principle-card p {
  color: var(--text-dim); font-size: .88rem;
  line-height: 1.85;
}


/* ══════════════════════════════════════════
   SERVICES (homepage)
   ══════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.service-card {
  display: flex; flex-direction: column;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-up);
  text-decoration: none;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: .6;
  transition: opacity .4s;
}
.service-card:hover .service-icon { opacity: .9; }
.service-icon svg { width: 24px; height: 24px; }

.service-card h4 {
  font-size: 1.1rem; font-weight: 400;
  color: var(--white);
  margin-bottom: .7rem;
}
.service-card p {
  color: var(--text-dim); font-size: .85rem;
  line-height: 1.8; flex: 1;
}
.service-link {
  margin-top: 1.5rem;
  font-size: .7rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(4px);
  transition: all .35s var(--ease);
}
.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

/* 5-card layout: 3 + 2 centered */
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
  /* stays in the 3-col grid, items 4&5 auto-flow into row 2 */
}


/* ══════════════════════════════════════════
   PARTNERS (homepage)
   ══════════════════════════════════════════ */
.partners-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
}
.partner-card {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 2rem 2.2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .4s var(--ease);
}
.partner-card:hover {
  border-color: var(--border-hover);
}
.partner-confirmed { border-color: var(--gold-border); }

.partner-icon {
  width: 44px; height: 44px; min-width: 44px;
  color: var(--gold);
  opacity: .5;
  padding-top: .2rem;
}
.partner-icon svg { width: 24px; height: 24px; }
.partner-card h4 { font-size: 1rem; margin-bottom: .4rem; font-weight: 400; }
.partner-card p { font-size: .85rem; color: var(--text-dim); line-height: 1.8; margin: 0; }
.partner-card .coming { color: var(--text-dim); font-style: italic; font-size: .85rem; }

.partner-status {
  display: inline-block;
  margin-top: .8rem;
  font-family: var(--sans);
  font-size: .62rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
}
.partner-status.confirmed { color: var(--gold); }
.partner-status.pending { color: var(--text-dim); }

/* Legacy partner styles */
.partner-logo {
  width: 60px; height: 60px; min-width: 60px;
  background: var(--gold-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.1rem; color: var(--gold);
}


/* ══════════════════════════════════════════
   TEAM CARDS
   ══════════════════════════════════════════ */
.team-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .4s var(--ease);
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.team-photo svg {
  width: 36px; height: 36px; stroke: var(--gold);
  fill: none; stroke-width: 1; opacity: .3;
}
.team-card h4 { font-size: 1.05rem; margin-bottom: .25rem; font-weight: 400; }
.team-card .role {
  color: var(--gold); font-size: .62rem;
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 500; margin-bottom: .9rem; display: block;
  opacity: .8;
}
.team-card p { font-size: .85rem; color: var(--text-dim); line-height: 1.8; }


/* ══════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: .6rem;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.6rem;
  cursor: pointer;
  font-weight: 400; font-size: .92rem;
  color: var(--text-bright);
  transition: color var(--dur) var(--ease);
}
.faq-question:hover { color: var(--white); }
.faq-question svg {
  width: 16px; height: 16px; min-width: 16px;
  stroke: var(--gold); fill: none; stroke-width: 1.5;
  transition: transform .4s var(--ease);
  opacity: .5;
}
.faq-item.open .faq-question svg { transform: rotate(45deg); opacity: .8; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-answer-inner {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-dim); font-size: .88rem;
  line-height: 1.9;
}


/* ══════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════ */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: .68rem; font-weight: 500;
  color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: .5rem;
}
.form-control {
  width: 100%;
  padding: .85rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--sans);
  font-size: .9rem; font-weight: 300;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur);
}
.form-control:focus {
  outline: none;
  border-color: rgba(197,160,68,.3);
  box-shadow: 0 0 0 3px rgba(197,160,68,.06);
}
.form-control::placeholder { color: var(--text-dim); opacity: .5; }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; }


/* ══════════════════════════════════════════
   SPLIT LAYOUT
   ══════════════════════════════════════════ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.split-text .label {
  display: flex; align-items: center; gap: 1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .65rem; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: .8rem;
}
.split-text .label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold-border);
}
.split-text h2 { font-size: 2rem; font-weight: 300; margin-bottom: 1.3rem; }
.split-text p { color: var(--text-dim); margin-bottom: 1rem; font-size: .9rem; line-height: 1.85; }
.split-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.split-image img { width: 100%; height: 420px; object-fit: cover; }


/* ══════════════════════════════════════════
   CTA BLOCKS
   ══════════════════════════════════════════ */
.cta-block {
  text-align: center;
  padding: 5rem 3rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}
.cta-block h2, .cta-block h3 {
  font-size: 1.8rem; font-weight: 300;
  margin-bottom: .9rem;
}
.cta-block p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: .92rem;
}
.cta-content { position: relative; z-index: 1; }
.cta-section { }


/* ══════════════════════════════════════════
   KEY POINTS
   ══════════════════════════════════════════ */
.key-points {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; margin: 2.5rem 0;
}
.key-point {
  text-align: center; padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .3s;
}
.key-point:hover { border-color: var(--border-hover); }
.key-point h4 { font-size: 1rem; margin-bottom: .5rem; font-weight: 400; }
.key-point p { font-size: .85rem; color: var(--text-dim); line-height: 1.8; }


/* ══════════════════════════════════════════
   CONTENT BLOCKS (legal pages)
   ══════════════════════════════════════════ */
.content-block { max-width: 760px; margin: 0 auto; }
.content-block h2 { font-size: 1.5rem; font-weight: 400; margin: 3rem 0 1rem; }
.content-block h3 { font-size: 1.15rem; font-weight: 400; margin: 2.5rem 0 .8rem; }
.content-block p { color: var(--text-dim); margin-bottom: 1rem; font-size: .9rem; line-height: 1.9; }
.content-block ul { margin: .5rem 0 1.5rem 1.2rem; }
.content-block ul li {
  color: var(--text-dim); font-size: .9rem;
  margin-bottom: .4rem; padding-left: .5rem;
  list-style: disc;
}

.legal-content { padding: 9rem 0 5rem; }
.legal-content h1 { font-size: 2rem; font-weight: 300; margin-bottom: .5rem; }
.legal-content .updated {
  color: var(--text-dim); font-size: .8rem;
  margin-bottom: 2.5rem; display: block;
}


/* ══════════════════════════════════════════
   COMING SOON / PORTAL
   ══════════════════════════════════════════ */
.coming-soon-box {
  text-align: center;
  padding: 6rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.coming-soon-box h2 { margin-bottom: 1rem; font-weight: 300; }
.coming-soon-box p { color: var(--text-dim); max-width: 480px; margin: 0 auto 2rem; font-size: .92rem; }

.portal-lock {
  width: 72px; height: 72px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.portal-lock svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.5; opacity: .6; }


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--surface);
  padding: 5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  color: var(--text-dim); font-size: .84rem;
  margin-top: 1.2rem; line-height: 1.85;
}
.footer-brand .logo img {
  height: 40px; width: auto;
}
.footer h5 {
  font-family: var(--sans);
  font-size: .65rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--text-dim);
  margin-bottom: 1.4rem; font-weight: 500;
}
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: var(--text-dim); font-size: .84rem; font-weight: 300;
  transition: color .3s var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  color: var(--text-dim); font-size: .84rem;
  margin-bottom: .6rem;
  display: flex; align-items: flex-start; gap: .6rem;
  font-weight: 300;
}
.footer-contact svg {
  width: 14px; height: 14px; min-width: 14px;
  stroke: var(--gold); fill: none; stroke-width: 1.5;
  margin-top: 4px; opacity: .5;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-dim); font-size: .72rem; font-weight: 300; }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: var(--text-dim); font-size: .72rem; font-weight: 300; }
.footer-bottom-links a:hover { color: var(--white); }


/* ══════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { color: var(--text-dim); font-size: .82rem; flex: 1; font-weight: 300; }
.cookie-banner p a { color: var(--gold); }
.cookie-buttons { display: flex; gap: .6rem; }
.cookie-btn {
  padding: .5rem 1.3rem;
  font-size: .68rem; font-weight: 500;
  border: none; border-radius: var(--r);
  cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
  font-family: var(--sans);
  transition: all .3s var(--ease);
}
.cookie-accept { background: var(--gold); color: var(--bg); }
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-dim);
}
.cookie-decline:hover { border-color: var(--border-hover); color: var(--text); }


/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-up.visible .principle-card,
.fade-up.visible .service-card,
.fade-up.visible .partner-card,
.fade-up.visible .team-card,
.fade-up.visible .card,
.fade-up.visible .stat-item,
.fade-up.visible .process-step,
.fade-up.visible .faq-item {
  animation: staggerIn .6s var(--ease-out) both;
}
.fade-up.visible > *:nth-child(1) .principle-card,
.fade-up.visible > *:nth-child(1) .service-card,
.fade-up.visible .principle-card:nth-child(1),
.fade-up.visible .service-card:nth-child(1),
.fade-up.visible .partner-card:nth-child(1),
.fade-up.visible .team-card:nth-child(1),
.fade-up.visible .card:nth-child(1),
.fade-up.visible .stat-item:nth-child(1),
.fade-up.visible .process-step:nth-child(1),
.fade-up.visible .faq-item:nth-child(1) { animation-delay: 0s; }

.fade-up.visible .principle-card:nth-child(2),
.fade-up.visible .service-card:nth-child(2),
.fade-up.visible .partner-card:nth-child(2),
.fade-up.visible .team-card:nth-child(2),
.fade-up.visible .card:nth-child(2),
.fade-up.visible .stat-item:nth-child(2),
.fade-up.visible .process-step:nth-child(2),
.fade-up.visible .faq-item:nth-child(2) { animation-delay: .08s; }

.fade-up.visible .principle-card:nth-child(3),
.fade-up.visible .service-card:nth-child(3),
.fade-up.visible .partner-card:nth-child(3),
.fade-up.visible .team-card:nth-child(3),
.fade-up.visible .card:nth-child(3),
.fade-up.visible .stat-item:nth-child(3),
.fade-up.visible .process-step:nth-child(3),
.fade-up.visible .faq-item:nth-child(3) { animation-delay: .16s; }

.fade-up.visible .principle-card:nth-child(4),
.fade-up.visible .service-card:nth-child(4),
.fade-up.visible .partner-card:nth-child(4),
.fade-up.visible .team-card:nth-child(4),
.fade-up.visible .card:nth-child(4),
.fade-up.visible .stat-item:nth-child(4),
.fade-up.visible .process-step:nth-child(4),
.fade-up.visible .faq-item:nth-child(4) { animation-delay: .24s; }

.fade-up.visible .service-card:nth-child(5),
.fade-up.visible .faq-item:nth-child(5) { animation-delay: .32s; }
.fade-up.visible .faq-item:nth-child(6) { animation-delay: .36s; }

@keyframes staggerIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero entrance */
.home-hero .hero-badge {
  animation: heroFadeIn .8s var(--ease-out) .2s both;
}
.home-hero h1 {
  animation: heroFadeIn .8s var(--ease-out) .35s both;
}
.home-hero .hero-content > p,
.home-hero .subtitle {
  animation: heroFadeIn .8s var(--ease-out) .5s both;
}
.home-hero .hero-buttons {
  animation: heroFadeIn .8s var(--ease-out) .65s both;
}
.home-hero .scroll-down {
  animation: heroFadeIn .8s var(--ease-out) 1s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media(max-width:1024px){
  .grid-3, .grid-4, .key-points,
  .principles-grid, .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 0; }
  .stat-item { padding: 1.5rem 2rem; }
}

@media(max-width:768px){
  .container { padding: 0 1.5rem; }
  .mobile-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: var(--bg);
    flex-direction: column; align-items: flex-start;
    padding: 5rem 1.5rem 2rem; gap: 0;
    overflow-y: auto;
    transition: right .4s var(--ease);
    box-shadow: -4px 0 40px rgba(0,0,0,.5);
    z-index: 9001;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-link { padding: .75rem 0; font-size: .8rem; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    padding: 0 0 0 1rem; min-width: 0;
    display: none; background: transparent;
    backdrop-filter: none;
  }
  .nav-item.open .dropdown-menu { display: block; }
  .nav-cta { margin: 1rem 0 0; text-align: center; width: 100%; justify-content: center; }

  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-2, .grid-3, .grid-4,
  .key-points, .principles-grid,
  .services-grid, .partners-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }
  .page-hero { padding: 9rem 0 3.5rem; }
  .home-hero { min-height: 600px; }

  .process-step { grid-template-columns: 1fr; gap: 1rem; }
  .step-number { margin: 0; }

  .stats-row { flex-direction: column; gap: 0; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { padding: 1.2rem 0; }

  .cookie-banner { flex-direction: column; text-align: center; padding: 1rem 1.5rem; gap: 1rem; }

  .cta-block { padding: 3.5rem 2rem; }
}

@media(max-width:480px){
  .page-hero h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-gold, .btn-outline, .btn-dark, .btn { width: 100%; justify-content: center; }
}


/* ══════════════════════════════════════════
   TEAM MEMBERS (expandable bios)
   ══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   TEAM GRID (card layout)
   ══════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  cursor: pointer;
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.team-card-top {
  padding: 1.5rem;
  text-align: center;
}
.team-photo-img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}
.team-initials {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}
.team-card-top h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 .3rem;
}
.team-role {
  color: var(--gold);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  opacity: .8;
}
.team-card-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.team-card.open .team-card-bio {
  max-height: 300px;
}
.team-card-bio p {
  padding: 0 1.5rem;
  color: var(--text-dim);
  font-size: .85rem;
  line-height: 1.8;
  margin-bottom: .8rem;
}
.team-email {
  display: block;
  padding: 0 1.5rem 1.5rem;
  color: var(--gold);
  font-size: .78rem;
  text-decoration: none;
  transition: opacity .3s;
}
.team-email:hover { opacity: .7; }
.team-linkedin {
  display: inline-block;
  padding: 0 1.5rem .8rem;
  color: #0a66c2;
  font-size: .78rem;
  text-decoration: none;
  transition: opacity .3s;
}
.team-linkedin:hover { opacity: .7; }


/* ══════════════════════════════════════════
   CAPTCHA WIDGET (reCAPTCHA style)
   ══════════════════════════════════════════ */
.captcha-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 4px rgba(0,0,0,.08);
  min-height: 60px;
}
.captcha-left {
  display: flex; align-items: center; gap: 12px;
}
.captcha-check {
  position: relative; width: 28px; height: 28px;
}
.captcha-check input[type="checkbox"] {
  position: absolute; inset: 0;
  width: 28px; height: 28px;
  margin: 0; cursor: pointer; opacity: 0; z-index: 2;
}
.captcha-checkmark {
  position: absolute; inset: 0;
  width: 28px; height: 28px;
  border: 2px solid #c1c1c1;
  border-radius: 3px;
  background: #fff;
  transition: all .25s;
}
.captcha-check input:hover ~ .captcha-checkmark { border-color: #aaa; }
.captcha-check input:checked ~ .captcha-checkmark {
  background: #fff; border-color: #c1c1c1;
}
.captcha-check input:checked ~ .captcha-checkmark::after {
  content: '';
  position: absolute;
  left: 8px; top: 3px;
  width: 7px; height: 14px;
  border: solid #4caf50;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.captcha-spinner {
  display: none;
  position: absolute; inset: 0;
  width: 28px; height: 28px;
}
.captcha-spinner.active {
  display: block;
}
.captcha-spinner::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  border: 3px solid #e0e0e0;
  border-top-color: #4285f4;
  border-radius: 50%;
  animation: captchaSpin .8s linear infinite;
}
@keyframes captchaSpin { to { transform: rotate(360deg); } }
.captcha-label {
  font-size: .88rem;
  color: #555;
  font-family: 'Roboto', 'Inter', sans-serif;
  font-weight: 400;
}
.captcha-right {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.captcha-brand {
  font-size: .62rem; color: #555; font-weight: 500;
  font-family: 'Roboto', 'Inter', sans-serif;
  text-transform: none; letter-spacing: 0;
}
.captcha-links {
  font-size: .55rem;
}
.captcha-links a { color: #888; text-decoration: none; }
.captcha-links a:hover { text-decoration: underline; }

/* Terms Checkbox */
.terms-check {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-bottom: 1.4rem;
  padding: .6rem 0;
}
.terms-check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.terms-check label {
  font-size: .82rem; color: var(--text);
  cursor: pointer; margin: 0;
  text-transform: none; letter-spacing: 0; font-weight: 300;
  line-height: 1.5;
}
.terms-check label a { color: var(--gold); text-decoration: underline; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99998;
  background: rgba(7,10,16,.97);
  border-top: 1px solid var(--border);
  padding: 1.2rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  color: var(--text-dim); font-size: .82rem; line-height: 1.6; margin: 0;
  flex: 1;
}
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-btns button {
  padding: .55rem 1.4rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  cursor: url('../img/cursor.png') 16 16, pointer !important;
  transition: all .3s;
}
.cookie-accept {
  background: var(--gold); color: #0a1628;
}
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border) !important;
}
.cookie-decline:hover { color: var(--white); border-color: var(--text-dim) !important; }
@media(max-width:600px) {
  .cookie-banner { flex-direction: column; gap: 1rem; padding: 1.2rem 5%; }
  .cookie-btns { width: 100%; }
  .cookie-btns button { flex: 1; }
}
