/* =========================================================
   GOLDBITES — DESIGN SYSTEM
========================================================= */

:root {
  --emerald-deep: #062D23;
  --emerald-dark: #0A3B2D;
  --emerald: #0F4A36;
  --gold: #D4AF37;
  --gold-light: #E7C766;
  --gold-warm: #F3D37A;
  --ivory: #F8F3E4;
  --white: #FFFFFF;
  --dark: #111111;
  --muted: #B9B6A9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1400px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-gold: 0 12px 32px rgba(212, 175, 55, 0.18);
  --shadow-soft: 0 20px 50px rgba(6, 45, 35, 0.35);

  --header-h: 84px;
}

/* =========================================================
   RESET
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--ivory);
  overflow-x: hidden;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--dark); }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--emerald-deep);
  padding: 12px 20px; z-index: 999; font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; fill: currentColor; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  color: var(--emerald-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(212,175,55,0.28); }
.btn-outline {
  background: transparent;
  border-color: rgba(248,243,228,0.5);
  color: var(--ivory);
}
.btn-outline:hover { background: rgba(248,243,228,0.1); border-color: var(--ivory); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(248,243,228,0.35);
  padding: 11px 20px;
}
.btn-ghost:hover { background: rgba(248,243,228,0.08); }
.btn-dark {
  background: var(--emerald-deep);
  color: var(--ivory);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--dark); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 700;
  background: rgba(6, 45, 35, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand-logo { height: 42px; width: auto; }

.main-nav > ul { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ivory);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
.dropdown {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 200px;
  background: var(--emerald-dark);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: var(--shadow-soft);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--ivory);
}
.dropdown li a:hover { background: rgba(212,175,55,0.14); color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(340px, 86vw);
  height: calc(100dvh - var(--header-h));
  background: var(--emerald-dark);
  border-left: 1px solid rgba(212,175,55,0.2);
  z-index: 600;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 13px 6px;
  font-size: 1.02rem;
  color: var(--ivory);
  border-bottom: 1px solid rgba(248,243,228,0.08);
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.mobile-actions .btn { justify-content: center; }

.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(6,45,35,0.55);
  z-index: 550;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 78% 8%, var(--emerald) 0%, var(--emerald-dark) 45%, var(--emerald-deep) 100%);
  padding-block: clamp(48px, 7vw, 92px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(212,175,55,0.16), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(212,175,55,0.08), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.08;
  color: var(--ivory);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(248,243,228,0.82);
  max-width: 46ch;
  margin-bottom: 28px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-bottom: 34px;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(248,243,228,0.85);
  font-weight: 500;
}
.trust-icon { font-size: 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); width: 100%; }
.hero-card {
  position: absolute;
  right: 6%;
  bottom: -8%;
  width: min(220px, 46%);
  background: linear-gradient(165deg, rgba(10,59,45,0.96), rgba(6,45,35,0.98));
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}
.hero-card-top { display: flex; justify-content: flex-start; margin-bottom: 8px; }
.hero-card-logo { height: 18px; width: auto; filter: brightness(1.4); }
.hero-card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ivory);
  margin-bottom: 10px;
  line-height: 1.25;
}
.hero-card-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 2px; }
.hero-card-price { font-size: 1.15rem; font-weight: 700; color: var(--gold-light); }
.hero-card-change { font-size: 0.75rem; margin-top: 2px; }
.hero-card-change.up { color: #7FD9A0; }
.hero-card-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.hero-card-actions span {
  font-size: 0.62rem;
  text-align: center;
  padding: 7px 2px;
  background: rgba(212,175,55,0.12);
  border-radius: 6px;
  color: var(--gold-light);
  font-weight: 600;
}

/* =========================================================
   RATES STRIP
========================================================= */
.rates-strip {
  background: var(--emerald-dark);
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}
.rates-strip-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-block: 20px;
  flex-wrap: wrap;
}
.rate-item { display: flex; align-items: center; gap: 12px; }
.rate-icon { font-size: 1.6rem; }
.rate-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; }
.rate-value { font-size: 1.15rem; font-weight: 700; color: var(--ivory); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rate-change { font-size: 0.76rem; font-weight: 600; }
.rate-change.up { color: #7FD9A0; }
.rate-change.down { color: #E68080; }
.rate-divider { width: 1px; height: 40px; background: rgba(212,175,55,0.25); }
.rates-strip-inner .btn { margin-left: auto; }

/* =========================================================
   SECTION SHARED
========================================================= */
.section { padding-block: clamp(52px, 8vw, 100px); }
.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--emerald-deep);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1rem;
  color: #5b5b52;
  max-width: 62ch;
}
.center { text-align: center; margin-inline: auto; }
.placeholder-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 18px;
  font-style: italic;
}

/* =========================================================
   JOURNEY CARDS
========================================================= */
.journey { background: var(--white); text-align: center; }
.journey .section-eyebrow, .journey .section-title, .journey .section-subtitle { margin-inline: auto; }
.journey-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.journey-card {
  background: var(--emerald-deep);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid rgba(212,175,55,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.journey-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.journey-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
}
.journey-media img { width: 100%; height: 100%; object-fit: cover; }
.journey-card h3 { color: var(--ivory); font-size: 1.15rem; margin-bottom: 6px; }
.journey-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.85rem; color: var(--gold-light);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(212,175,55,0.14);
  transition: background 0.2s ease, transform 0.2s ease;
}
.card-link:hover { background: rgba(212,175,55,0.24); transform: translateX(2px); }

/* =========================================================
   JEWELLERY SECTION
========================================================= */
.jewellery-section { background: linear-gradient(180deg, var(--ivory), #F1EAD3); }
.jewellery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.jewellery-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.metal-toggle {
  display: inline-flex;
  background: var(--emerald-deep);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.toggle-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.toggle-btn.is-active[data-metal="gold"] {
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  color: var(--emerald-deep);
}
.toggle-btn.is-active[data-metal="silver"] {
  background: linear-gradient(135deg, #E7EAEC, #C7CDD1);
  color: var(--emerald-deep);
}

.carousel-arrows { display: flex; gap: 10px; }
.arrow-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(15,74,54,0.25);
  background: var(--white);
  color: var(--emerald-deep);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.arrow-btn:hover { background: var(--emerald-deep); color: var(--gold-light); transform: translateY(-1px); }

.carousel { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(.25,.8,.35,1);
}
.jewel-card {
  flex: 0 0 auto;
  width: calc((100% - 4 * 20px) / 5);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(15,74,54,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jewel-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px rgba(6,45,35,0.14); }
.jewel-media { aspect-ratio: 1/1; overflow: hidden; }
.jewel-media img { width: 100%; height: 100%; object-fit: cover; }
.jewel-body { padding: 14px 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jewel-body h3 { font-size: 0.98rem; color: var(--emerald-deep); }
.jewel-body p { font-size: 0.78rem; color: #756; color: #746f5f; margin-top: 2px; }
.jewel-arrow { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }

/* =========================================================
   WHY GOLDBITES
========================================================= */
.why-section { background: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.why-visual {
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 100% at 50% 20%, var(--emerald), var(--emerald-deep));
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.why-visual-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 70%, rgba(212,175,55,0.35), transparent 60%);
}
.why-visual-glow::after {
  content: '🔐';
  position: absolute;
  font-size: 3.4rem;
  left: 50%; top: 55%;
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}
.why-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-item {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  border: 1px solid rgba(15,74,54,0.08);
}
.why-icon { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.why-item h3 { font-size: 0.95rem; margin-bottom: 4px; color: var(--emerald-deep); }
.why-item p { font-size: 0.8rem; color: #6b675a; }

.why-legacy {
  background: linear-gradient(160deg, var(--gold-warm), var(--gold));
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.legacy-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--emerald-deep); line-height: 1.25; margin-bottom: 10px; }
.legacy-sub { font-size: 0.88rem; color: rgba(6,45,35,0.75); }

/* =========================================================
   INVESTMENT PLANS
========================================================= */
.plans-section { background: linear-gradient(180deg, #F1EAD3, var(--ivory)); }
.plans-inner { display: grid; grid-template-columns: 1fr; gap: 32px; }
.plans-heading { max-width: 60ch; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  border: 1px solid rgba(15,74,54,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(6,45,35,0.1); }
.plan-icon { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.plan-card h3 { font-size: 1.02rem; color: var(--emerald-deep); margin-bottom: 6px; }
.plan-card p { font-size: 0.82rem; color: #6b675a; }

.plans-stats {
  background: var(--emerald-deep);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.stats-title { color: var(--ivory); font-weight: 600; font-size: 0.95rem; }
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stats-row div { display: flex; flex-direction: column; }
.stats-row strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-light); }
.stats-row span { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   INSTAGRAM
========================================================= */
.instagram-section { background: var(--white); }
.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.link-view-all { font-weight: 600; color: var(--emerald-deep); font-size: 0.9rem; }
.link-view-all:hover { color: var(--gold); }

.ig-carousel-wrap { display: flex; align-items: center; gap: 12px; }
.ig-carousel { overflow: hidden; flex: 1; }
.ig-track { display: flex; gap: 16px; transition: transform 0.45s cubic-bezier(.25,.8,.35,1); }
.ig-item {
  flex: 0 0 auto;
  width: calc((100% - 5 * 16px) / 6);
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-item:hover img { transform: scale(1.06); }

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials-section { background: linear-gradient(180deg, var(--ivory), #F1EAD3); }
.testimonial-carousel-wrap { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.testimonial-carousel { overflow: hidden; flex: 1; }
.testimonial-track { display: flex; gap: 22px; transition: transform 0.45s cubic-bezier(.25,.8,.35,1); }
.testimonial-card {
  flex: 0 0 auto;
  width: calc((100% - 2 * 22px) / 3);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  margin: 0;
  border: 1px solid rgba(15,74,54,0.08);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.testimonial-card blockquote {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #3d3b33;
  line-height: 1.6;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card figcaption strong { display: block; font-size: 0.9rem; color: var(--emerald-deep); }
.testimonial-card figcaption span { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   STATISTICS
========================================================= */
.stats-section { background: var(--emerald-deep); text-align: center; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold-light); }
.stat span { font-size: 0.85rem; color: var(--muted); }
.stats-section .placeholder-note { color: var(--muted); margin-top: 24px; }

/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
  background: linear-gradient(120deg, var(--gold-warm), var(--gold));
}
.final-cta-inner {
  padding-block: clamp(40px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.final-cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--emerald-deep); margin-bottom: 8px; }
.final-cta p { color: rgba(6,45,35,0.75); font-weight: 500; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer { background: var(--emerald-deep); color: var(--ivory); }
.footer-inner {
  padding-block: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
}
.footer-logo { height: 34px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-links a:hover { background: rgba(212,175,55,0.15); border-color: var(--gold); }
.footer-col h3 { font-size: 0.92rem; color: var(--gold-light); margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: var(--muted); }
.footer-col a:hover { color: var(--ivory); }

.footer-newsletter h3 { font-size: 0.92rem; color: var(--gold-light); margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; }
.footer-newsletter p { font-size: 0.84rem; color: var(--muted); margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(248,243,228,0.06);
  color: var(--ivory);
  font-size: 0.86rem;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-status { font-size: 0.8rem; color: var(--gold-light); margin-top: 10px; min-height: 1em; }

.footer-bottom { border-top: 1px solid rgba(212,175,55,0.15); }
.footer-bottom-inner {
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-inner p { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   RESPONSIVE
========================================================= */

/* Header nav collapses earlier than other tablet rules so the full
   9-item nav never wraps or crowds the header between ~1024–1180px */
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .hamburger { display: flex; }
}

/* Slightly denser nav so long labels stay on one line before the
   hamburger takes over at 1180px */
@media (min-width: 1181px) and (max-width: 1400px) {
  .main-nav > ul { gap: 10px; }
  .nav-link { font-size: 0.85rem; }
  .header-actions { gap: 8px; }
  .btn-ghost, .header-actions .btn-gold { padding: 10px 16px; font-size: 0.85rem; }
}

/* Tablet landscape / small desktop */
@media (max-width: 1279px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .jewel-card { width: calc((100% - 3 * 20px) / 4); }
  .ig-item { width: calc((100% - 4 * 16px) / 5); }
  .why-inner { grid-template-columns: 1fr 1fr; }
  .why-legacy { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-newsletter { grid-column: span 3; }
}

@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .hero-copy { text-align: left; }

  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .jewel-card { width: calc((100% - 2 * 20px) / 3); }
  .ig-item { width: calc((100% - 3 * 16px) / 4); }
  .testimonial-card { width: calc((100% - 1 * 22px) / 2); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; }
  .why-legacy { grid-column: span 1; }
}

/* Tablet portrait */
@media (max-width: 767px) {
  .journey-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .jewel-card { width: calc((100% - 1 * 20px) / 2); }
  .ig-item { width: calc((100% - 2 * 16px) / 3); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-newsletter { grid-column: span 2; }
  .rates-strip-inner { justify-content: center; }
  .rates-strip-inner .btn { margin-left: 0; width: 100%; justify-content: center; }
  .rate-divider { display: none; }
}

/* Mobile */
@media (max-width: 479px) {
  .journey-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .jewel-card { width: calc(100% - 40px); }
  .ig-item { width: calc((100% - 1 * 16px) / 2); }
  .testimonial-card { width: calc(100% - 40px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand, .footer-newsletter { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-inner { text-align: center; justify-content: center; }
  .hero-card { position: static; width: 100%; margin-top: 16px; }
  .hero-visual { display: flex; flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 374px) {
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   GOLDBITES PROFILE MENU
   ===================================================== */

#goldbitesProfileMenu {
    width: 150px;
    background: #063d32;
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    z-index: 99999;
}

/* Menu buttons */

#goldbitesProfileMenu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 12px;

    border: none;
    background: transparent;

    color: #ffffff;

    font-size: 14px;
    text-align: left;

    cursor: pointer;

    border-radius: 5px;
}

/* Hover */

#goldbitesProfileMenu button:hover {
    background: rgba(212, 175, 55, 0.18);
    color: #f4c542;
}

/* Icon */

#goldbitesProfileMenu button span:first-child {
    width: 20px;
    text-align: center;
}


/* Keep the home-page client comments legible if section styles are cached. */
.testimonials-section {
  background: linear-gradient(180deg, #fbf7e9, #f1ead3);
  color: #24352d;
  overflow: visible;
}

.testimonials-section .testimonials-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px) 48px;
  box-sizing: border-box;
}

.testimonials-section .testimonial-heading,
.testimonials-section .testimonials-heading {
  color: #bd8d18;
  line-height: 1.15;
}

.testimonials-section .testimonial-grid {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 18px);
}

.testimonials-section .testimonial-card {
  width: 100% !important;
  min-width: 0;
  min-height: 185px;
  height: auto !important;
  margin: 0;
  padding: clamp(18px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(15, 74, 54, 0.12);
  border-radius: 12px;
  box-sizing: border-box;
}

.testimonials-section .testimonial-text {
  display: block;
  margin: 12px 0;
  color: #3d3b33;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}

.testimonials-section .testimonial-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5a72b;
  background: rgba(244, 197, 66, 0.12);
  color: #9b7411;
  border-radius: 50%;
  font: 700 12px/1 Inter, Arial, sans-serif;
}

.testimonials-section .testimonial-user-info {
  min-width: 0;
}

.testimonials-section .testimonial-user-info h3 {
  color: #0f4a36;
  font-size: 13px;
}

.testimonials-section .testimonial-user-info p {
  color: #6b675a;
  font-size: 11px;
}

.testimonials-section .goldbites-stats {
  margin-top: clamp(32px, 4vw, 50px);
}

.testimonials-section .stat-item strong {
  color: #9b7411;
}

.testimonials-section .stat-item h4 {
  color: #0f4a36;
  font-size: 11px;
}

.testimonials-section .stat-item p {
  color: #6b675a;
  font-size: 9px;
}

@media (max-width: 900px) {
  .testimonials-section .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .testimonials-section .testimonials-container {
    padding: 0 16px 36px;
  }

  .testimonials-section .testimonials-heading {
    padding: 30px 0 24px;
    font-size: clamp(25px, 7vw, 32px);
  }

  .testimonials-section .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .testimonials-section .testimonial-card {
    min-height: 155px;
    padding: 18px;
  }

  .testimonials-section .testimonial-text {
    font-size: 14px;
  }

  .testimonials-section .goldbites-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    margin-top: 28px;
    padding: 20px 0;
  }

  .testimonials-section .stat-item:nth-child(2n) {
    border-right: none;
  }
}

  
