/* =============================================================
   COSMOPRO.AI — Main Stylesheet
   Brand: Quiet authority. MENA-fluent. Founder-led.
   Version: 1.0 | 2026-05-27
   ============================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* =============================================================
   BRAND TOKENS
   ============================================================= */
:root {
  /* Color palette */
  --color-navy:       #0D1B2A;   /* Midnight navy — primary brand */
  --color-navy-mid:   #1C3252;   /* Mid navy — hover states, cards */
  --color-navy-light: #2A4A6B;   /* Light navy — borders, dividers */
  --color-gold:       #C49A2E;   /* Burnished gold — accent, CTAs */
  --color-gold-light: #D4AE52;   /* Light gold — hover on dark bg */
  --color-cream:      #FAF7F2;   /* Warm cream — page background */
  --color-white:      #FFFFFF;
  --color-charcoal:   #1A1A1A;   /* Body text */
  --color-slate:      #4A5568;   /* Secondary text */
  --color-mist:       #8A9BB0;   /* Tertiary / placeholder */
  --color-border:     #E2DDD6;   /* Warm border */
  --color-surface:    #F3EFE9;   /* Card surfaces */

  /* Typography */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic:    'Noto Naskh Arabic', 'Traditional Arabic', serif;

  /* Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   3rem;       /* 48px */
  --text-6xl:   3.75rem;    /* 60px */
  --text-7xl:   4.5rem;     /* 72px */

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Layout */
  --max-width:       1200px;
  --max-width-prose: 680px;
  --max-width-wide:  1400px;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(13,27,42,0.08);
  --shadow-md:  0 4px 16px rgba(13,27,42,0.10);
  --shadow-lg:  0 8px 32px rgba(13,27,42,0.14);
  --shadow-xl:  0 16px 48px rgba(13,27,42,0.18);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* =============================================================
   RESET + BASE
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* =============================================================
   TYPOGRAPHY — DISPLAY (Cormorant Garamond)
   ============================================================= */
.display-xl {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.display-md {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-navy);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
}

h5 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
}

p {
  line-height: 1.75;
  color: var(--color-slate);
}

p.lead {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-charcoal);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* =============================================================
   LAYOUT
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.container--prose {
  max-width: var(--max-width-prose);
}

section {
  padding: var(--space-20) 0;
}

section.section--sm {
  padding: var(--space-12) 0;
}

section.section--lg {
  padding: var(--space-32) 0;
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.nav--scrolled {
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__wordmark span {
  color: var(--color-gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-slate);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--color-navy);
}

.nav__link.active {
  color: var(--color-navy);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__lang a {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-mist);
  transition: color var(--transition);
  padding: var(--space-1) var(--space-2);
}

.nav__lang a:hover,
.nav__lang a.active {
  color: var(--color-navy);
}

.nav__lang span {
  color: var(--color-border);
  font-size: var(--text-xs);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy);
  position: relative;
  overflow: hidden;
  padding: var(--space-32) 0 var(--space-24);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(196,154,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,154,46,0.3), transparent);
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  max-width: 14ch;
}

.hero__headline em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__subhead {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.70);
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn--primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,154,46,0.3);
}

.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-navy);
  background: var(--color-surface);
}

.btn--ghost {
  background: transparent;
  color: var(--color-slate);
  padding: var(--space-3) 0;
}

.btn--ghost:hover {
  color: var(--color-navy);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* Arrow icon in buttons */
.btn__arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* =============================================================
   SECTION HEADERS
   ============================================================= */
.section-header {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow {
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  font-weight: 300;
}

/* =============================================================
   STAT BAR
   ============================================================= */
.stat-bar {
  background: var(--color-navy);
  padding: var(--space-12) 0;
}

.stat-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  line-height: 1.5;
}

.stat-item__source {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin-top: var(--space-1);
}

/* =============================================================
   LAYER CARDS (Five-layer offering grid)
   ============================================================= */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.layer-card {
  background: var(--color-white);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: background var(--transition);
  position: relative;
}

.layer-card:hover {
  background: var(--color-surface);
}

.layer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.layer-card:hover::before {
  transform: scaleX(1);
}

.layer-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
}

.layer-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.2;
}

.layer-card__offerings {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: 1.6;
}

.layer-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  margin-top: auto;
  transition: gap var(--transition);
}

.layer-card__link:hover {
  gap: var(--space-3);
}

/* =============================================================
   SERVICE PAGE HERO (inner pages)
   ============================================================= */
.page-hero {
  background: var(--color-navy);
  padding: calc(var(--space-32) + 60px) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(196,154,46,0.05) 0%, transparent 70%);
}

.page-hero__layer {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.page-hero__layer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.page-hero h1 {
  color: var(--color-white);
  max-width: 18ch;
  margin-bottom: var(--space-6);
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-xl);
  font-weight: 300;
  max-width: 50ch;
  margin-bottom: var(--space-8);
}

/* =============================================================
   CONTENT BLOCKS
   ============================================================= */
.content-section {
  padding: var(--space-20) 0;
}

.content-section--alt {
  background: var(--color-surface);
}

.content-section--dark {
  background: var(--color-navy);
}

.content-section--dark h2,
.content-section--dark h3,
.content-section--dark h4,
.content-section--dark p {
  color: rgba(255,255,255,0.85);
}

.content-section--dark .eyebrow {
  color: var(--color-gold);
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.two-col--reverse {
  direction: rtl; /* visual flip only */
}

.two-col--reverse > * {
  direction: ltr;
}

/* =============================================================
   CARDS
   ============================================================= */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--text-base);
}

/* =============================================================
   FOUNDER CARDS
   ============================================================= */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.founder-card {
  text-align: center;
}

.founder-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-border);
  margin: 0 auto var(--space-4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card__photo-initials {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-navy);
}

.founder-card__title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-1);
}

.founder-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.founder-card__bio {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: 1.6;
}

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.faq-list {
  max-width: var(--max-width-prose);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-navy);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--transition);
  font-size: var(--text-lg);
  color: var(--color-slate);
}

.faq-item.open .faq-icon {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer__inner {
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-slate);
}

/* =============================================================
   CTA SECTION
   ============================================================= */
.cta-section {
  background: var(--color-navy);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(196,154,46,0.07) 0%, transparent 70%);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-xl);
  font-weight: 300;
  max-width: 50ch;
  margin: 0 auto var(--space-8);
  position: relative;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  position: relative;
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.6);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}

.footer__brand .nav__wordmark {
  color: var(--color-white);
  font-size: var(--text-2xl);
  display: block;
  margin-bottom: var(--space-3);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 28ch;
}

.footer__col h5 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__lang {
  display: flex;
  gap: var(--space-3);
}

.footer__lang a {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.footer__lang a:hover {
  color: rgba(255,255,255,0.8);
}

/* =============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================= */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* =============================================================
   BACK TO TOP
   ============================================================= */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* =============================================================
   FORM ELEMENTS
   ============================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(13,27,42,0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* =============================================================
   TRUST SIGNALS
   ============================================================= */
.pledge-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: var(--space-6) var(--space-8);
}

.pledge-box__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.pledge-box__text {
  font-size: var(--text-base);
  color: var(--color-navy);
  font-weight: 500;
}

/* =============================================================
   BREADCRUMB
   ============================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.breadcrumb__sep {
  color: rgba(255,255,255,0.2);
}

/* =============================================================
   404 PAGE
   ============================================================= */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}

.not-found__number {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-4);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1200px) {
  .layers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .stat-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: var(--space-10); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-navy);
    padding: var(--space-16) var(--space-6);
    z-index: 200;
    gap: var(--space-6);
    align-items: flex-start;
  }

  .nav__links.open .nav__link {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-2xl);
    font-family: var(--font-display);
  }

  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .layers-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .stat-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .hero { padding: var(--space-24) 0 var(--space-16); }
  .hero__headline { max-width: none; }
  .hero__subhead { max-width: none; }

  section { padding: var(--space-16) 0; }

  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn--lg { width: 100%; }
}

/* =============================================================
   PRINT
   ============================================================= */
@media print {
  .nav, .whatsapp-float, .back-to-top, .hero__scroll { display: none; }
  body { background: white; color: black; }
}
