/* =====================================================
   site.css — Shared components for newparadigm.org
   Scope: tokens, reset, nav, mobile nav, buttons, footer,
          WhatsApp float, accessible FAQ. Kept intentionally
          conservative to land safely alongside existing
          inline <style> blocks. Inline styles still win
          at same specificity; remove inline blocks from
          individual pages incrementally after visual QA.
   ===================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #0B1F3A;
  --navy-mid:    #122847;
  --navy-light:  #1A3660;
  --gold:        #C9A96E;
  --gold-light:  #DFC49A;
  --teal:        #4A90D9;
  --teal-light:  #74B8EE;
  --cream:       #F7F4EE;
  --warm-white:  #FDFCFA;
  --light-gray:  #EFECE6;
  --mid-gray:    #8A8A8A;
  --dark-gray:   #2C2C2C;
  --text:        #1A1A1A;
  --text-light:  #555555;
  --orange:      #f8a11a;
  --orange-dark: #ee940c;
  --green:       #128C4A;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-width:       1200px;
  --section-pad:     110px 24px;
  --transition:      all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* Visually-hidden utility for skip-links / SR-only text */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  line-height: 1;
}
.btn-gold       { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-red        { background: #CC2200; color: #fff; }
.btn-red:hover  { background: #aa1c00; }
.btn-navy       { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-ghost      { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-ghost:hover{ border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost-dark { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9, 22, 44, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 30px rgba(0,0,0,0.25);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo { display: flex; flex-direction: column; gap: 3px; }
.nav-logo .name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
}
.nav-logo .sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.03em; }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: #fff;
  display: block;
  transition: var(--transition);
}
.hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--navy);
  z-index: 1010;
  transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
  padding: 80px 40px 48px;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { right: 0; display: flex; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1005;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

.mobile-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}
.mobile-close:hover { color: #fff; }

/* ---------- Accessible FAQ (button-based accordion) ---------- */
.faq-q-heading { margin: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 26px;
  cursor: pointer;
  gap: 20px;
  user-select: none;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}
.faq-q:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}
.faq-q-title {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(11,31,58,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--navy);
  transition: var(--transition);
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-item.open .faq-body { max-height: 500px; }
.faq-body-inner {
  padding: 0 26px 22px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.78;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 990;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #128C4A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.38);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  background: var(--green);
  color: #fff;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.whatsapp-btn:hover { background: #0f7a3e; }
.whatsapp-btn svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
