/* ── THEME SYSTEM — light default ────────────────────────────── */
:root {
  --navy:         #0D1B3E;
  --gold:         #C9A84C;
  --gold-lt:      #e8c96a;
  --bg:           #ffffff;
  --bg-alt:       #f8f7f4;
  --bg-card:      #ffffff;
  --text:         #1a1a18;
  --text-sub:     #555550;
  --text-muted:   #888880;
  --border:       rgba(0,0,0,0.10);
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --nav-bg:       rgba(255,255,255,0.96);
  --card-bg:      #ffffff;
  --input-bg:     #f8f7f4;
  --input-border: rgba(0,0,0,0.12);
  --radius:       8px;
  --radius-lg:    16px;
  --trans:        all 0.25s ease;
  --ff-head:      'Cormorant Garamond', Georgia, serif;
  --ff-body:      'Jost', system-ui, sans-serif;
}
[data-theme="dark"] {
  --bg:           #0f0f0e;
  --bg-alt:       #161614;
  --bg-card:      #1c1c1a;
  --text:         #f5f0e8;
  --text-sub:     #c8c4bc;
  --text-muted:   #888880;
  --border:       rgba(255,255,255,0.08);
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --nav-bg:       rgba(15,15,14,0.96);
  --card-bg:      #1c1c1a;
  --input-bg:     #0f0f0e;
  --input-border: rgba(255,255,255,0.10);
}
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  transition: var(--trans);
  font-family: var(--ff-body);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-float {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 998;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--trans);
  font-size: 18px;
  line-height: 1;
}
.theme-float:hover { border-color: var(--gold); transform: scale(1.08); }

/* ============================================================
   ZANZIBAR PROPERTY — Main Site CSS
   zanzibarproperty.co.tz
   ============================================================ */

/* ── Variables ───────────────────────────────────────────────────────────── */


/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--body-text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
.hidden { display: none !important; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
}
h1 { font-size: clamp(42px, 7vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 22px; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.section-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title { color: var(--white); }
.section-title em { color: var(--gold); font-style: italic; }
.section-header-center { text-align: center; margin-bottom: 56px; }
.section-header-center .section-label { justify-content: center; display: flex; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-large { padding: 18px 40px; font-size: 15px; }
.btn-full  { width: 100%; justify-content: center; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
.nav.scrolled {
  background: rgba(11,26,40,0.97);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15);
  backdrop-filter: blur(12px);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.nav-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}
.nav-brand-dot { color: var(--gold); font-size: 18px; }
.nav-brand-sub { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0.5px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-portal-link { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(11,26,40,0.99);
  border-top: 1px solid var(--border);
  padding: 16px 32px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-cta-mobile {
  margin-top: 12px;
  background: var(--gold);
  color: var(--navy) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  font-weight: 700 !important;
}

/* ── WhatsApp Float ──────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-mid);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,26,40,0.90) 0%,
    rgba(11,26,40,0.70) 50%,
    rgba(11,26,40,0.50) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  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.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow-line {
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.hero-title {
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-num  { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; }
.trust-label { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.hero-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.hero-card-stats { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.card-stat {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.card-stat:last-child { border-bottom: none; }
.stat-area  { font-size: 14px; font-weight: 500; color: var(--white); }
.stat-yield { font-size: 13px; font-weight: 600; color: var(--gold); }
.stat-from  { font-size: 11px; color: var(--muted); }
.hero-card-cta {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  padding: 12px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.hero-card-cta:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--navy);
}
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.about-portrait { margin-top: 32px; }
.portrait-frame {
  position: relative;
  width: 240px;
}
.portrait-photo {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.portrait-placeholder {
  width: 240px;
  height: 300px;
  background: var(--navy-light);
  border: 2px dashed rgba(201,168,76,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-initial {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.4;
}
.portrait-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
}
.about-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 40px;
  transition: all var(--transition);
}
.social-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}
.about-bio {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-services { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.service-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.service-card:hover {
  background: rgba(201,168,76,0.05);
  border-color: rgba(201,168,76,0.3);
  border-left-color: var(--gold);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.service-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  font-family: 'Jost', sans-serif;
}
.service-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Areas ───────────────────────────────────────────────────────────────── */
.areas { padding: 120px 0; background: var(--bg); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.area-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.area-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.area-card-image {
  position: relative;
  height: 180px;
  background: var(--navy-mid);
  overflow: hidden;
}
.area-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.area-card:hover .area-card-image img { transform: scale(1.05); }
.area-card-image.no-image { background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); }
.area-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,26,40,0.85) 0%, transparent 60%);
}
.area-yield-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}
.area-card-body { padding: 20px; }
.area-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}
.area-name { font-size: 18px; font-weight: 600; color: var(--white); font-family: 'Cormorant Garamond', serif; }
.area-from { font-size: 12px; color: var(--gold); font-weight: 600; }
.area-desc { font-size: 12px; color: var(--muted); line-height: 1.65; margin: 10px 0 16px; }
.area-card-links { display: flex; gap: 12px; align-items: center; }
.area-link-primary {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  transition: opacity var(--transition);
}
.area-link-primary:hover { opacity: 0.7; }
.area-link-secondary {
  font-size: 11px;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 2px;
  transition: all var(--transition);
}
.area-link-secondary:hover { color: var(--white); background: rgba(255,255,255,0.1); }

/* ── How It Works ────────────────────────────────────────────────────────── */
.how {
  padding: 120px 0;
  background: var(--navy);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 64px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 40px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.step-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.03);
}
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
}
.step-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
}
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.step-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: 0.5;
}
.how-cta { text-align: center; }
.how-cta-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Interest / Lead Form ────────────────────────────────────────────────── */
.interest { padding: 120px 0; background: var(--bg); }
.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.interest-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
}
.interest-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.contact-line svg { color: var(--gold); flex-shrink: 0; }
.contact-line:hover { color: var(--white); }
.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.guide-btn:hover { background: var(--gold-pale); border-color: var(--gold); }

/* Form card */
.form-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 40px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy-mid); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-privacy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon { color: var(--gold); margin-bottom: 20px; display: flex; justify-content: center; }
.form-success h3 { color: var(--white); font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 300;
}
.footer-links-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-powered a { color: inherit; transition: color var(--transition); }
.footer-powered a:hover { color: var(--gold); }

/* Footer subscribe */
.footer-subscribe { margin-top: 4px; }
.footer-subscribe-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.subscribe-form { display: flex; gap: 8px; }
.subscribe-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.subscribe-input:focus { border-color: var(--gold); }
.subscribe-input::placeholder { color: rgba(255,255,255,0.2); }
.subscribe-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.subscribe-btn:hover { background: var(--gold-light); }
.subscribe-note {
  font-size: 12px;
  margin-top: 8px;
  color: var(--gold);
}

/* ── Animations ──────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .interest-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section-container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .areas-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links-block { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .form-card { padding: 24px 20px; }
  .hero-container { padding: 60px 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-links-block { grid-template-columns: 1fr; }
}


/* ── BACK TO TOP ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  background: var(--navy, #0D1B3E);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.btt-visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: var(--gold, #C9A84C); color: var(--navy, #0D1B3E); }

/* ── LIGHT MODE TEXT FIXES ───────────────────────────────────── */
/* Nav links — readable in both modes */
.nav { background: var(--nav-bg, rgba(255,255,255,0.96)); }
.nav-links a { color: var(--text-sub, #555550); }
.nav-links a:hover { color: var(--navy, #0D1B3E); }
.nav-brand-name { color: var(--navy, #0D1B3E); }
.nav-brand-sub { color: var(--text-muted, #888880); }
.nav-hamburger span { background: var(--text, #1a1a18); }
.nav-mobile { background: var(--bg-card, #fff); border-bottom: 1px solid var(--border); }
.nav-mobile a { color: var(--text-sub, #555550); }
.nav-mobile a:hover { color: var(--navy, #0D1B3E); }

/* Dark sections — force light text always */
.section-dark, .hero, .partner-bar {
  background: var(--navy, #0D1B3E);
}
.section-dark *, .hero-content *, .partner-bar * {
  color: inherit;
}
.hero-title, .hero-sub, .hero-stat .stat-lbl { color: rgba(255,255,255,0.85); }
.hero-stat .stat-num { color: var(--gold, #C9A84C); }
.partner-text { color: rgba(255,255,255,0.75); }
.partner-text strong { color: var(--gold, #C9A84C); }

/* Body background and text respond to theme */
body { background: var(--bg, #fff); color: var(--text, #1a1a18); }

/* Cards and sections */
.section { background: var(--bg, #fff); }
.footer { background: var(--navy, #0D1B3E); color: rgba(255,255,255,0.7); }
.footer-name, .footer-tagline { color: #fff; }
.footer-col h4 { color: var(--gold, #C9A84C); }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: #fff; }
.footer-bottom { color: rgba(255,255,255,0.4); border-top-color: rgba(255,255,255,0.1); }
.footer-powered a { color: var(--gold, #C9A84C); }

/* Buttons — gold button always readable */
.nav-cta, .btn-primary { background: var(--gold, #C9A84C); color: var(--navy, #0D1B3E) !important; }
.nav-cta:hover, .btn-primary:hover { background: var(--gold-lt, #e8c96a); color: var(--navy, #0D1B3E) !important; }

/* Area cards, stat boxes in light mode */
.stat-card, .area-card, .how-card, .credential-item {
  background: var(--bg-card, #fff);
  border-color: var(--border, rgba(0,0,0,0.1));
  color: var(--text, #1a1a18);
}

/* Forms */
input, select, textarea {
  background: var(--input-bg, #f8f7f4) !important;
  border-color: var(--input-border, rgba(0,0,0,0.12)) !important;
  color: var(--text, #1a1a18) !important;
}
input::placeholder, textarea::placeholder { color: var(--text-muted, #888880) !important; }

/* Dark mode overrides for nav */
[data-theme="dark"] .nav { background: var(--nav-bg); }
[data-theme="dark"] .nav-links a { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .nav-links a:hover { color: #fff; }
[data-theme="dark"] .nav-brand-name { color: #fff; }
[data-theme="dark"] .nav-hamburger span { background: #fff; }
[data-theme="dark"] .nav-mobile { background: #0f0f0e; }
[data-theme="dark"] .nav-mobile a { color: rgba(255,255,255,0.7); }
[data-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-theme="dark"] .section { background: var(--bg); }
[data-theme="dark"] .section-dark { background: var(--bg-alt); }
