/* ============================================================
   FIBONACCI DESIGN SYSTEM — Refined Vacations
   All values derived from: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233
   RGB channels restricted to: 3, 5, 8, 13, 21, 34, 55, 89, 144, 233
   ============================================================ */

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

:root {
  /* === FIBONACCI PALETTE === */

  /* Deep (backgrounds, luxury feel) */
  --fib-abyss:            rgb(3, 13, 5);
  --fib-deep-ocean:       rgb(5, 21, 8);
  --fib-midnight-forest:  rgb(3, 13, 8);
  --fib-twilight:         rgb(8, 34, 13);
  --fib-obsidian:         rgb(5, 21, 13);
  --fib-volcanic:         rgb(13, 5, 3);
  --fib-jungle-floor:     rgb(13, 21, 8);

  /* Earth (mid-range, grounded) */
  --fib-mossy:            rgb(55, 89, 34);
  --fib-fern:             rgb(34, 89, 55);
  --fib-slate:            rgb(55, 55, 55);
  --fib-rock:             rgb(89, 89, 89);
  --fib-clay:             rgb(89, 55, 34);
  --fib-driftwood:        rgb(89, 55, 21);
  --fib-canopy:           rgb(21, 55, 34);
  --fib-peat:             rgb(34, 34, 21);
  --fib-cedar:            rgb(55, 34, 13);
  --fib-lagoon:           rgb(8, 55, 89);

  /* Accent (golds, greens, adventure) */
  --fib-gold:             rgb(233, 144, 34);
  --fib-amber:            rgb(233, 144, 13);
  --fib-golden-hour:      rgb(233, 144, 55);
  --fib-honey:            rgb(144, 89, 8);
  --fib-sunset:           rgb(144, 89, 34);
  --fib-coral:            rgb(233, 89, 55);
  --fib-teal:             rgb(13, 144, 144);
  --fib-jewel:            rgb(8, 144, 55);
  --fib-tropical:         rgb(34, 233, 89);
  --fib-azure:            rgb(34, 144, 233);

  /* Light (text, light surfaces) */
  --fib-glacier:          rgb(233, 233, 233);
  --fib-chalk:            rgb(144, 144, 144);
  --fib-sand:             rgb(233, 144, 89);

  /* Semantic */
  --fib-success:          rgb(34, 144, 55);
  --fib-warning:          rgb(233, 144, 34);
  --fib-danger:           rgb(233, 34, 34);
  --fib-info:             rgb(34, 144, 233);

  /* === SEMANTIC MAPPING === */
  --color-bg:             rgb(3, 13, 5);
  --color-bg-alt:         rgb(5, 21, 8);
  --color-bg-card:        rgb(8, 34, 13);
  --color-bg-elevated:    rgb(13, 55, 21);
  --color-text:           var(--fib-glacier);
  --color-text-muted:     var(--fib-chalk);
  --color-text-dim:       var(--fib-rock);
  --color-accent:         var(--fib-gold);
  --color-accent-hover:   var(--fib-amber);
  --color-eco:            var(--fib-fern);
  --color-eco-bright:     var(--fib-jewel);
  --color-border:         rgba(8, 144, 55, 0.13);
  --color-border-light:   rgba(8, 144, 55, 0.08);

  /* === TYPOGRAPHY (Fibonacci px) === */
  --font-xs:     0.5rem;      /* 8px */
  --font-sm:     0.8125rem;   /* 13px */
  --font-base:   1.3125rem;   /* 21px */
  --font-md:     2.125rem;    /* 34px */
  --font-lg:     3.4375rem;   /* 55px */
  --font-xl:     5.5625rem;   /* 89px */
  --font-2xl:    9rem;         /* 144px */
  --font-3xl:    14.5625rem;   /* 233px */

  /* Line heights */
  --leading-tight:   1;
  --leading-snug:    1.2;
  --leading-normal:  1.618;    /* Golden ratio — phi */
  --leading-relaxed: 2;

  /* Letter spacing */
  --tracking-tight:  -0.03em;
  --tracking-normal: 0;
  --tracking-wide:   0.05em;
  --tracking-wider:  0.08em;

  /* === SPACING (Fibonacci px) === */
  --space-1:  3px;
  --space-2:  5px;
  --space-3:  8px;
  --space-4:  13px;
  --space-5:  21px;
  --space-6:  34px;
  --space-7:  55px;
  --space-8:  89px;
  --space-9:  144px;
  --space-10: 233px;

  /* === BORDER RADIUS === */
  --radius-sm:   3px;
  --radius-md:   5px;
  --radius-lg:   8px;
  --radius-xl:   13px;
  --radius-2xl:  21px;
  --radius-full: 9999px;

  /* === BORDERS === */
  --border-thin:   1px;
  --border-medium: 2px;
  --border-thick:  3px;
  --border-hero:   5px;

  /* === CONTAINERS === */
  --container-xs:  272px;    /* 34 × 8 */
  --container-sm:  440px;    /* 55 × 8 */
  --container-md:  712px;    /* 89 × 8 */
  --container-lg:  1152px;   /* 144 × 8 */
  --container-xl:  1864px;   /* 233 × 8 */

  /* === LAYOUT === */
  --ratio-major: 61.8%;
  --ratio-minor: 38.2%;

  /* === SHADOWS (Fibonacci offsets + blur) === */
  --shadow-sm:   0 2px 3px rgba(3, 13, 5, 0.21);
  --shadow-md:   0 3px 8px rgba(3, 13, 5, 0.34), 0 1px 3px rgba(3, 13, 5, 0.13);
  --shadow-lg:   0 5px 13px rgba(3, 13, 5, 0.34), 0 2px 5px rgba(3, 13, 5, 0.21);
  --shadow-xl:   0 8px 21px rgba(3, 13, 5, 0.55), 0 3px 8px rgba(3, 13, 5, 0.21);
  --shadow-2xl:  0 13px 34px rgba(3, 13, 5, 0.55), 0 5px 13px rgba(3, 13, 5, 0.34);
  --shadow-glow: 0 0 21px rgba(233, 144, 34, 0.21), 0 0 55px rgba(233, 144, 34, 0.05);

  /* === TRANSITIONS === */
  --duration-fast:   89ms;
  --duration-normal: 233ms;
  --duration-slow:   610ms;
  --ease-golden:     cubic-bezier(0.618, 0, 0.382, 1);
}

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  font-size: var(--font-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  text-shadow: 0 2px 3px rgba(3, 13, 5, 0.34);
}

h1 { font-size: clamp(var(--font-lg), 8vw, var(--font-xl)); }
h2 { font-size: clamp(var(--font-md), 5vw, var(--font-lg)); }
h3 { font-size: clamp(1.75rem, 3vw, var(--font-md)); }
h4 { font-size: var(--font-base); font-weight: 600; }

p {
  max-width: var(--container-md);
  margin-bottom: var(--space-5);
}

.text-gold { color: var(--fib-gold); }
.text-eco  { color: var(--fib-jewel); }
.text-muted { color: var(--color-text-muted); }
.text-dim   { color: var(--color-text-dim); }

.overline {
  font-family: 'Source Sans 3', sans-serif;
  font-size: var(--font-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fib-gold);
  margin-bottom: var(--space-4);
  display: block;
}

/* === LINKS === */
a {
  color: var(--fib-gold);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-golden),
              text-shadow var(--duration-normal) var(--ease-golden);
}
a:hover {
  color: var(--fib-golden-hour);
  text-shadow: 0 0 13px rgba(233, 144, 34, 0.21);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  font-family: 'Source Sans 3', sans-serif;
  font-size: var(--font-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border: var(--border-thin) solid;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-golden);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(233, 144, 34, 0.85), rgba(233, 144, 13, 0.75));
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid rgba(233, 144, 34, 0.34);
  color: rgb(3, 13, 5);
  box-shadow: 0 5px 21px rgba(233, 144, 34, 0.13), inset 0 1px 0 rgba(233, 233, 233, 0.13);
  text-shadow: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(233, 144, 34, 0.95), rgba(233, 144, 13, 0.9));
  border-color: rgba(233, 144, 34, 0.55);
  color: rgb(3, 13, 5);
  box-shadow: 0 8px 34px rgba(233, 144, 34, 0.21), inset 0 1px 0 rgba(233, 233, 233, 0.21);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(233, 233, 233, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(233, 233, 233, 0.21);
  color: rgb(233, 233, 233);
}
.btn-outline:hover {
  background: rgba(233, 233, 233, 0.08);
  border-color: rgba(233, 233, 233, 0.34);
  box-shadow: 0 0 21px rgba(233, 233, 233, 0.05);
  transform: translateY(-2px);
  color: rgb(233, 233, 233);
}

.btn-eco {
  background: rgba(8, 144, 55, 0.21);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--fib-jewel);
  border: 1px solid rgba(8, 144, 55, 0.34);
  box-shadow: 0 3px 13px rgba(8, 144, 55, 0.08);
}
.btn-eco:hover {
  background: rgba(8, 144, 55, 0.34);
  border-color: rgba(8, 144, 55, 0.55);
  box-shadow: 0 5px 21px rgba(8, 144, 55, 0.13);
  transform: translateY(-2px);
}

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

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

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

.section-deep {
  padding: var(--space-9) 0;
}

/* Golden ratio split */
.golden-split {
  display: grid;
  grid-template-columns: 61.8fr 38.2fr;
  gap: var(--space-6);
}

.golden-split-reverse {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  gap: var(--space-6);
}

/* Fibonacci grid */
.fib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: var(--space-5);
}

/* === CARDS === */
.card {
  background: rgba(8, 34, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(8, 144, 55, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 3px 13px rgba(3, 13, 5, 0.34);
  transition: all 0.4s cubic-bezier(0.618, 0, 0.382, 1);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 144, 34, 0.21);
  box-shadow: 0 8px 34px rgba(3, 13, 5, 0.55), 0 0 21px rgba(233, 144, 34, 0.05);
}

.card-image {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

/* === BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-normal) var(--ease-golden);
}

.badge-eco {
  background: rgba(8, 144, 55, 0.13);
  border: 1px solid rgba(8, 144, 55, 0.21);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: rgb(8, 144, 55);
}

.badge-gold {
  background: rgba(233, 144, 34, 0.13);
  border: 1px solid rgba(233, 144, 34, 0.21);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--fib-golden-hour);
}

.badge-certified {
  background: rgba(34, 144, 233, 0.13);
  border: 1px solid rgba(34, 144, 233, 0.21);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--fib-azure);
}

/* === FIBONACCI DECORATIVE === */
.golden-rule {
  width: 89px;
  height: 3px;
  background: linear-gradient(90deg, var(--fib-gold), var(--fib-honey));
  border: none;
  margin: var(--space-5) 0;
  box-shadow: 0 0 8px rgba(233, 144, 34, 0.21), 0 0 21px rgba(233, 144, 34, 0.08);
  border-radius: var(--radius-full);
}

.golden-rule-center {
  margin: var(--space-5) auto;
}

/* Golden spiral decoration */
.spiral-accent {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
}

/* Section divider using Fibonacci wave */
.fib-divider {
  width: 100%;
  height: 89px;
  overflow: hidden;
  position: relative;
}

.fib-divider svg {
  width: 100%;
  height: 100%;
  fill: none;
}

/* === FULL-SCREEN SECTIONS === */
.fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fullscreen-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fullscreen-bg img,
.fullscreen-bg .bg-gradient {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullscreen-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-6);
}

/* Background gradients using Fibonacci colors */
.bg-abyss-to-ocean {
  background: linear-gradient(180deg, rgb(3, 13, 5), rgb(5, 21, 8));
}

.bg-ocean-to-forest {
  background: linear-gradient(180deg, rgb(5, 21, 8), rgb(3, 13, 8));
}

.bg-forest-gradient {
  background: linear-gradient(135deg, rgb(3, 13, 8), rgb(8, 34, 13), rgb(5, 21, 8));
}

/* === STAT COUNTERS === */
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(var(--font-lg), 6vw, var(--font-xl));
  font-weight: 300;
  color: var(--fib-gold);
  line-height: var(--leading-tight);
  text-shadow: 0 0 34px rgba(233, 144, 34, 0.13);
}

.stat-label {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-top: var(--space-3);
}

/* === HORIZONTAL SCROLL === */
.hs-wrapper {
  overflow: hidden;
  position: relative;
}

.hs-track {
  display: flex;
  flex-wrap: nowrap;
}

.hs-panel {
  min-width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* === PARALLAX === */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
}

.parallax-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 13, 5, 0.55) 0%,
    rgba(3, 13, 5, 0.34) 50%,
    rgba(3, 13, 5, 0.89) 100%
  );
  z-index: 1;
}

/* === SCROLL REVEAL CLASSES === */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--duration-slow) var(--ease-golden),
              transform var(--duration-slow) var(--ease-golden);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-55px);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(55px);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.89);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition: all var(--duration-normal) var(--ease-golden);
}

.nav.scrolled {
  background: rgba(3, 13, 5, 0.89);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  padding: var(--space-4) 0;
  box-shadow: 0 3px 13px rgba(3, 13, 5, 0.55), 0 0 34px rgba(3, 13, 5, 0.21);
  border-bottom: 1px solid rgba(8, 144, 55, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--fib-glacier);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--duration-normal) var(--ease-golden);
}

.nav-brand:hover {
  text-shadow: 0 0 13px rgba(233, 233, 233, 0.13);
}

.nav-brand .leaf {
  color: var(--fib-gold);
  font-size: 1.5rem;
  transition: all var(--duration-normal) var(--ease-golden);
}

.nav-brand:hover .leaf {
  text-shadow: 0 0 8px rgba(233, 144, 34, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--fib-glacier);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  position: relative;
  padding-bottom: var(--space-2);
  transition: all var(--duration-normal) var(--ease-golden);
}

.nav-links a:hover {
  color: var(--fib-gold);
  text-shadow: 0 0 13px rgba(233, 144, 34, 0.13);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fib-gold);
  box-shadow: 0 0 8px rgba(233, 144, 34, 0.34);
  transition: width var(--duration-normal) var(--ease-golden);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fib-glacier);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-3);
  transition: all var(--duration-normal) var(--ease-golden);
}

.nav-toggle:hover {
  color: var(--fib-gold);
}

/* === FOOTER === */
.footer {
  background: rgb(5, 21, 8);
  border-top: 1px solid rgba(8, 144, 55, 0.13);
  padding: var(--space-7) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer h4 {
  color: var(--fib-glacier);
  margin-bottom: var(--space-5);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: var(--space-3);
}

.footer a {
  color: var(--fib-chalk);
  font-size: 0.95rem;
  transition: all var(--duration-normal) var(--ease-golden);
}

.footer a:hover {
  color: var(--fib-gold);
  text-shadow: 0 0 8px rgba(233, 144, 34, 0.13);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(8, 144, 55, 0.08);
  font-size: var(--font-sm);
  color: var(--fib-rock);
}

.footer-bottom a {
  color: var(--fib-rock);
  transition: all var(--duration-normal) var(--ease-golden);
}

.footer-bottom a:hover {
  color: var(--fib-gold);
}

/* === PARTNER LOGOS === */
.partner-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
  flex-wrap: wrap;
  padding: var(--space-6) 0;
}

.partner-logo {
  height: 55px;
  opacity: 0.55;
  filter: grayscale(1) brightness(2);
  transition: all var(--duration-normal) var(--ease-golden);
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

/* === CREDENTIAL ICONS === */
.credential-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.credential {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(8, 34, 13, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(8, 144, 55, 0.08);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  transition: all var(--duration-normal) var(--ease-golden);
}

.credential:hover {
  border-color: rgba(8, 144, 55, 0.21);
  box-shadow: 0 2px 8px rgba(3, 13, 5, 0.34);
}

.credential svg {
  width: 16px;
  height: 16px;
  fill: var(--fib-jewel);
}

/* === INPUT FIELDS === */
input, textarea, select {
  transition: all var(--duration-normal) var(--ease-golden);
  box-shadow: inset 0 2px 3px rgba(3, 13, 5, 0.21);
}

input:focus, textarea:focus, select:focus {
  box-shadow: inset 0 2px 3px rgba(3, 13, 5, 0.21), 0 0 13px rgba(233, 144, 34, 0.08);
  border-color: rgba(233, 144, 34, 0.34);
  outline: none;
}

/* === PROGRESS BAR === */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--fib-gold), var(--fib-golden-hour));
  box-shadow: 0 0 8px rgba(233, 144, 34, 0.34);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 200;
}

/* === MOBILE === */
@media (max-width: 768px) {
  :root {
    --font-base: 1.125rem;  /* Slightly smaller on mobile */
  }

  .golden-split,
  .golden-split-reverse {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(3, 13, 5, 0.95);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    padding: var(--space-5);
    gap: var(--space-4);
    border-bottom: 1px solid rgba(8, 144, 55, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  h1 { font-size: clamp(var(--font-md), 10vw, var(--font-lg)); }
  h2 { font-size: clamp(1.75rem, 6vw, var(--font-md)); }

  .section { padding: var(--space-7) 0; }
  .section-deep { padding: var(--space-8) 0; }

  .stat-value {
    font-size: var(--font-md);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 var(--space-4);
  }
}

/* === UTILITY === */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--space-3); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: var(--space-3); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

/* === SELECTION === */
::selection {
  background: var(--fib-gold);
  color: rgb(3, 13, 5);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgb(3, 13, 5);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(233, 144, 34, 0.34), rgba(144, 89, 8, 0.34));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(233, 144, 34, 0.55), rgba(144, 89, 8, 0.55));
}

/* === PAGE-SPECIFIC BACKGROUND PATTERNS === */
.bg-pattern-dots {
  background-image: radial-gradient(circle, rgba(8, 144, 55, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.bg-pattern-fibonacci {
  background-image:
    radial-gradient(ellipse at 61.8% 38.2%, rgba(233, 144, 34, 0.03) 0%, transparent 55%),
    radial-gradient(ellipse at 38.2% 61.8%, rgba(8, 144, 55, 0.03) 0%, transparent 55%);
}
