/* Global Website Refresh (non-home pages)
   Keeps visual language aligned with the redesigned homepage.
*/

body.theme-v2 {
  --bg: #f7f5f0;
  --bg-alt: #efece5;
  --surf: #ffffff;
  --raised: #fbfaf7;
  --border: rgba(17, 19, 24, 0.1);
  --border-md: rgba(17, 19, 24, 0.16);
  --teal: #0f766e;
  --teal-dim: rgba(15, 118, 110, 0.08);
  --teal-border: rgba(15, 118, 110, 0.24);
  --gold: #b8922a;
  --gold-dim: rgba(184, 146, 42, 0.09);
  --gold-border: rgba(184, 146, 42, 0.24);
  --text: #111318;
  --muted: #6c665d;
  --dim: #3a362f;
  background:
    radial-gradient(ellipse 60% 45% at 10% -8%, rgba(184, 146, 42, 0.14), transparent 72%),
    radial-gradient(ellipse 45% 34% at 92% 2%, rgba(184, 146, 42, 0.08), transparent 74%),
    #f7f5f0;
  color: var(--text);
}

.theme-v2 .page-hero {
  background:
    radial-gradient(ellipse 70% 50% at 78% 35%, rgba(184, 146, 42, 0.09), transparent),
    radial-gradient(ellipse 45% 45% at 8% 85%, rgba(184, 146, 42, 0.06), transparent),
    #f7f5f0;
  border-bottom: 1px solid #e5e0d5;
}

.theme-v2 .page-hero .lead,
.theme-v2 .lead,
.theme-v2 .body-sm,
.theme-v2 .caption,
.theme-v2 p,
.theme-v2 li {
  color: var(--dim);
}

.theme-v2 .card,
.theme-v2 .track-card,
.theme-v2 .social-card,
.theme-v2 .step,
.theme-v2 .policy .highlight-box {
  background: #ffffff;
  border-color: #e7dfd2;
}

.theme-v2 .tag-muted,
.theme-v2 .capability-pill,
.theme-v2 input[type=text],
.theme-v2 input[type=email],
.theme-v2 input[type=tel],
.theme-v2 textarea,
.theme-v2 select {
  background: #ffffff;
  color: var(--text);
  border-color: #d8d1c4;
}

.theme-v2 .btn-outline {
  border-color: #d6cfbf;
  color: #2f2d27;
}

.theme-v2 .btn-outline:hover {
  border-color: #b8aa8d;
  color: #1a1a18;
}

.theme-v2 .footer,
.theme-v2 footer {
  background: #111318;
  color: #efede8;
}

.theme-v2 .footer p,
.theme-v2 .footer a,
.theme-v2 footer p,
.theme-v2 footer a {
  color: rgba(239, 237, 232, 0.72);
}

.theme-v2 .footer a:hover,
.theme-v2 footer a:hover {
  color: #ffffff;
}

.theme-v2 section,
.theme-v2 .policy,
.theme-v2 .inner,
.theme-v2 .page-hero {
  position: relative;
  z-index: 1;
}

.theme-v2 h1,
.theme-v2 h2,
.theme-v2 h3,
.theme-v2 .page-hero h1,
.theme-v2 .page-hero h2,
.theme-v2 .results-title,
.theme-v2 .intro-title {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e5e0d5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-nav-brand span {
  color: #b8922a;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav-links a {
  color: #5c5a54;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  color: #111318;
}

.site-nav-cta {
  background: #12141a;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.03em;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  white-space: nowrap;
}

.site-nav-cta:hover {
  opacity: 0.9;
}

.site-nav-mobile-toggle {
  border: 1px solid #ddd6c7;
  background: #fff;
  color: #111;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  display: none;
}

.site-nav-mobile {
  display: none;
  border-top: 1px solid #ece7db;
  padding: 10px 20px 16px;
  background: rgba(255, 255, 255, 0.98);
}

.site-nav-mobile a {
  display: block;
  padding: 10px 0;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 14px;
}

.site-nav-mobile a.active {
  color: #111;
  font-weight: 600;
}

.site-nav-mobile .site-nav-cta-mobile {
  margin-top: 8px;
  background: #12141a;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.theme-v2 .reveal-v2 {
  opacity: 0;
  transform: translateY(16px);
}

.theme-v2 .reveal-v2.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 900px) {
  .site-nav-links,
  .site-nav-cta {
    display: none;
  }

  .site-nav-mobile-toggle {
    display: inline-block;
  }

  .site-nav-mobile.open {
    display: block;
  }
}

/* ── UNIFIED SITE FOOTER ── */
.site-footer {
  background: #0d0d0d !important;
  padding: 56px 0 32px;
  font-family: 'Inter', sans-serif;
  color: #fff;
}
.site-footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.site-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.site-footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.site-footer-brand-name span { color: #E9C46A; }
.site-footer-tagline { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; max-width: 220px; }
.site-footer-col-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  margin-bottom: 14px;
}
.site-footer-links { display: flex; flex-direction: column; gap: 8px; }
.site-footer-links a { font-size: 13px; color: rgba(255,255,255,0.5) !important; text-decoration: none; transition: color 0.15s; }
.site-footer-links a:hover { color: #fff !important; }
.site-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.site-footer-socials { display: flex; gap: 16px; }
.site-footer-socials a { font-size: 12px; color: rgba(255,255,255,0.4) !important; text-decoration: none; transition: color 0.15s; }
.site-footer-socials a:hover { color: #fff !important; }
@media (max-width: 768px) {
  .site-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
}
