@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ==========================================================================
   Numeros Vision — Master Unified Theme & Design System (Venus Pearl & Jupiter Gold)
   Brand Tagline: Anviel Every Charm
   Palette: Venus Pearl (#FFFDF7, #F7F3EA), Jupiter Gold (#C9A227, #8B6914, #E2B84B),
            Mercury Emerald (#16835B). Strictly Zero Black on Icons/Logos.
   ========================================================================== */

:root {
  --bg: #FFFDF7;
  --bg-mid: #F7F3EA;
  --bg-card: #FFFFFF;
  --gold: #C9A227;
  --gold-light: #E2B84B;
  --gold-dark: #8B6914;
  --border: rgba(180, 155, 110, 0.22);
  --border-gold: rgba(201, 162, 39, 0.38);
  --text-primary: #523E28; /* Warm Deep Jupiter Bronze — ZERO black */
  --text-muted: #7A654D;   /* Warm Medium Bronze */
  --text-faint: #7A654D;   /* Warm deep taupe (WCAG 2.2 AA 4.6:1 compliant) */
  --radius: 14px;
  --radius-lg: 24px;
  --accent-emerald: #16835B;

  /* ── CANONICAL MASTER SPACING & LAYOUT SYSTEM ── */
  --nv-container-max: 1240px;
  --nv-container-reading: 880px;
  --nv-container-calc: 720px;
  --nv-container-pad: clamp(16px, 3.5vw, 24px);

  --nv-section-py: clamp(48px, 6vw, 76px);
  --nv-hero-pt: clamp(48px, 7vw, 84px);
  --nv-hero-pb: clamp(36px, 5vw, 60px);

  --nv-space-xs: 8px;
  --nv-space-sm: 14px;
  --nv-space-md: 20px;
  --nv-space-lg: 32px;
  --nv-space-xl: 48px;

  --nv-card-pad: clamp(22px, 3.5vw, 36px);
  --nv-card-radius: 20px;
  --nv-card-gap: clamp(16px, 2.5vw, 24px);
}

/* ── CANONICAL UNIFIED LAYOUT CONTAINERS & ALIGNMENT ── */
.container,
.nv-container,
.portal-wrap,
.pricing-wrap,
.about-wrap,
.contact-wrap,
.policy-wrap,
.dashboard-wrap,
.dash-wrap,
.cdp-wrap,
.consult-wrap,
.demo-wrap,
.catalogue-wrap,
.reports-wrap,
.hub-wrap,
.insights-wrap,
.sample-wrap,
.cg-desktop-main-wrap,
.cg-band-inner,
.cg-mainheader-bar,
.cg-hero-fold,
#services,
.shop-section,
.cg-horo,
.cg-spec,
.how-it-works,
.footer-cg-inner,
.footer-bottom-legal,
.horo-services-section {
  max-width: var(--nv-container-max, 1240px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--nv-container-pad, clamp(16px, 3.5vw, 24px)) !important;
  padding-right: var(--nv-container-pad, clamp(16px, 3.5vw, 24px)) !important;
  box-sizing: border-box !important;
}

.guide-wrap,
.article-wrap,
.reading-wrap,
.legal-wrap,
.blog-wrap,
.a11y-wrap,
.cookie-wrap,
.faq-wrap,
.method-wrap,
.calc-wrap,
.page-wrap {
  max-width: var(--nv-container-reading, 880px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--nv-container-pad, clamp(16px, 3.5vw, 24px)) !important;
  padding-right: var(--nv-container-pad, clamp(16px, 3.5vw, 24px)) !important;
  box-sizing: border-box !important;
}

.section-py,
.nv-section,
section.nv-section {
  padding-top: var(--nv-section-py, clamp(48px, 6vw, 76px));
  padding-bottom: var(--nv-section-py, clamp(48px, 6vw, 76px));
}

.sec-header,
.hero-sec {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.tool-hero {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--nv-hero-pt, clamp(48px, 7vw, 84px));
  padding-bottom: var(--nv-hero-pb, clamp(32px, 4vw, 48px));
  padding-left: var(--nv-container-pad, clamp(16px, 3.5vw, 24px));
  padding-right: var(--nv-container-pad, clamp(16px, 3.5vw, 24px));
  box-sizing: border-box;
}

.calc-card,
.calculator-card {
  border-radius: var(--nv-card-radius, 20px) !important;
  padding: var(--nv-card-pad, clamp(22px, 3.5vw, 36px)) !important;
  box-sizing: border-box;
}

.faq-section {
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--nv-section-py, clamp(48px, 6vw, 76px));
  padding-bottom: var(--nv-section-py, clamp(48px, 6vw, 76px));
}

/* ── UNIVERSAL MOBILE RESPONSIVE COLLAPSE & FORM SAFEGUARDS ── */
@media (max-width: 640px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  .grid-2col,
  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }
  .form-control,
  input[type="text"],
  input[type="date"],
  input[type="tel"],
  input[type="email"],
  select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari when focusing inputs */
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Accessibility Keyboard Focus Indicators (WCAG 2.2 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nv-btn-cta:focus-visible,
.calculator-card:focus-visible,
.radio-pill:focus-visible {
  outline: 2px solid var(--gold, #C9A227) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25) !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Responsive Fluid Typography & Overflow Safeguards */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .tool-title, .brand-title {
  color: #8B6914;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, .hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.75;
  margin: 0 auto 48px auto;
  font-weight: 400;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2, .section-title, .tool-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.65rem, 4.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 3.5vw, 1.8rem);
  line-height: 1.25;
}

h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  line-height: 1.3;
}

section[id], .birth-section[id], div[id] {
  scroll-margin-top: 130px;
}

/* ───── SITE HEADER & NAVIGATION ───── */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(180, 155, 110, 0.08);
  display: flex;
  flex-direction: column;
}

.nav-primary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(180, 155, 110, 0.18);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.brand-logo-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-seal-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 12px rgba(201,162,39,0.28));
  display: block;
  border-radius: 50%;
}

.brand-text-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: fit-content;
}

.brand-title {
  font-family: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  font-size: 1.36rem;
  font-weight: 700;
  color: #9E7B15;
  background: linear-gradient(135deg, #9E7611 0%, #C9A227 40%, #E2B84B 80%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0;
}

.brand-gold-bar {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #C9A227 0%, #E2B84B 25%, #FCE182 50%, #E2B84B 75%, #C9A227 100%);
  margin: 3px 0 4px 0;
  border-radius: 1px;
}

.brand-tagline {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #16835B;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.68rem;
  color: #16835B;
  background: rgba(22,131,91,0.08);
  border: 1px solid rgba(22,131,91,0.22);
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16835B;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nav-tabs-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(201, 162, 39, 0.09);
  border: 1.2px solid var(--border-gold);
  color: #8B6914;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.nav-tabs-icon-btn:hover {
  background: rgba(201, 162, 39, 0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(201, 162, 39, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, #C9A227 0%, #E2B84B 100%);
  color: #FFFDF7;
  font-weight: 600;
  padding: 8px 18px;
  font-size: 0.76rem;
  border-radius: 100px;
  border: 1px solid #C9A227;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  color: #FFFDF7;
}

.btn-ghost {
  background: rgba(255, 253, 247, 0.6);
  color: #8B6914;
  font-weight: 600;
  padding: 8px 16px;
  font-size: 0.76rem;
  border-radius: 100px;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(201, 162, 39, 0.12);
  color: #9E7B15;
}

.b2b-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #16835B;
  background: rgba(22, 131, 91, 0.08);
  border: 1.2px solid rgba(22, 131, 91, 0.32);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.b2b-header-pill:hover {
  background: rgba(22, 131, 91, 0.16);
  border-color: #16835B;
  color: #0E5A3E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 131, 91, 0.15);
}

.b2b-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #16835B;
  background: rgba(22, 131, 91, 0.08);
  border: 1px solid rgba(22, 131, 91, 0.32);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  margin-left: 4px;
}
.b2b-tab-link:hover {
  background: rgba(22, 131, 91, 0.16);
  border-color: #16835B;
  color: #0E5A3E;
  transform: translateY(-1px);
}

/* Nav Tabs Row */
.nav-tabs-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(255, 253, 247, 0.98);
  border-top: 1px solid rgba(201, 162, 39, 0.16);
  box-sizing: border-box;
  overflow: hidden;
}

.nav-scroll-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  background: linear-gradient(90deg, rgba(255,253,247,0.98) 60%, rgba(255,253,247,0));
  border: none;
  color: #8B6914;
  cursor: pointer;
  z-index: 5;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.nav-scroll-btn.right {
  background: linear-gradient(270deg, rgba(255,253,247,0.98) 60%, rgba(255,253,247,0));
}
.nav-scroll-btn.visible {
  display: flex;
}
.nav-scroll-btn:hover {
  color: #C9A227;
  background: rgba(201, 162, 39, 0.12);
}

.nav-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 6px;
  padding: 4px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  text-align: left;
}
.nav-tabs-bar.has-overflow {
  justify-content: flex-start !important;
}
.nav-tabs-bar::-webkit-scrollbar { display: none; }

.nav-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: none;
  font-family: 'Inter', sans-serif;
  border-radius: 6px 6px 0 0;
  flex-shrink: 0;
}
.nav-tab-link:hover {
  color: #8B6914;
  border-bottom-color: var(--border-gold);
  background: rgba(201,162,39,0.06);
}
.nav-tab-link.active {
  color: #8B6914;
  border-bottom-color: var(--gold);
  font-weight: 600;
  background: rgba(201,162,39,0.10);
}

.tab-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #9E7B15;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-sign svg {
  width: 14px;
  height: 14px;
  display: block;
}
.nav-tab-link:hover .tab-sign {
  background: rgba(201, 162, 39, 0.22);
  border-color: #C9A227;
  color: #C9A227;
  transform: scale(1.12) rotate(4deg);
}
.nav-tab-link.active .tab-sign {
  background: linear-gradient(135deg, #C9A227 0%, #E2B84B 100%);
  border-color: #C9A227;
  color: #FFFDF7;
  transform: scale(1.08);
}

.charm-tab-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #C9A227;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(201, 162, 39, 0.16);
  font-style: normal;
}
.nav-tab-link:hover .charm-tab-sign,
.nav-dropdown-btn:hover .charm-tab-sign,
.drawer-accordion-btn:hover .charm-tab-sign,
.bottom-tab-item:hover .charm-tab-sign {
  background: rgba(201, 162, 39, 0.22);
  border-color: #C9A227;
  color: #8B6914;
  transform: scale(1.14) rotate(6deg);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.30);
}
.nav-tab-link.active .charm-tab-sign,
.nav-dropdown-btn.active .charm-tab-sign,
.drawer-accordion-btn.active .charm-tab-sign,
.bottom-tab-item.active .charm-tab-sign {
  background: linear-gradient(135deg, #C9A227 0%, #E2B84B 100%);
  border-color: #C9A227;
  color: #FFFDF7;
  transform: scale(1.10);
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.40);
}

/* ══════════════════════════════════════════════════════════════
   REFERENCE IMAGE DROPDOWN NAVIGATION & ACCORDION SYSTEM
   UI/UX: Top bar category dropdowns with chevron signs '⌵'
   Dropdown Card: Clean white card, rounded 14px, gold border
   Hover Effect: Underline on hover with pointer cursor
   Both Web (desktop hover/click) & App (mobile drawer accordions)
══════════════════════════════════════════════════════════════ */

.nav-dropdown-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px 6px 0 0;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.nav-dropdown-btn:hover {
  color: var(--text-primary);
  border-bottom-color: var(--border-gold);
  background: rgba(201,162,39,0.06);
}

.nav-dropdown-btn.active,
.nav-dropdown-group.open .nav-dropdown-btn {
  color: #8B6914;
  border-bottom-color: var(--gold);
  font-weight: 600;
  background: rgba(201,162,39,0.10);
}

/* Downward chevron sign symbol '⌵' */
.nav-chevron-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1;
  color: #8B6914;
  margin-left: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.nav-dropdown-group:hover .nav-chevron-sign,
.nav-dropdown-group.open .nav-chevron-sign,
.nav-dropdown-wrapper:hover .nav-chevron-sign,
.nav-dropdown-wrapper.open .nav-chevron-sign,
.drawer-accordion-group.open .nav-chevron-sign {
  transform: rotate(180deg);
  color: #C9A227;
}

/* The reference dropdown card container */
.nav-reference-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(180, 155, 110, 0.18), 0 2px 8px rgba(201, 162, 39, 0.08);
  padding: 12px 10px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 1300;
  box-sizing: border-box;
}

/* Display on hover or when open class is active */
.nav-dropdown-group:hover .nav-reference-dropdown,
.nav-dropdown-group.open .nav-reference-dropdown {
  display: flex;
  animation: navCardFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes navCardFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dropdown item links matching reference image */
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.80rem;
  font-weight: 500;
  transition: all 0.18s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.nav-dropdown-link-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.nav-dropdown-link-title {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.nav-dropdown-link-desc {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.74rem;
  color: #6A6052;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.005em;
}

/* CRITICAL UX FROM REFERENCE IMAGE: Hover underline on item name */
.nav-dropdown-link:hover {
  background: rgba(201, 162, 39, 0.08);
  color: #8B6914;
}

.nav-dropdown-link:hover .nav-dropdown-link-title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.nav-dropdown-link:hover .tab-sign {
  background: rgba(201, 162, 39, 0.22);
  border-color: #C9A227;
  color: #C9A227;
  transform: scale(1.12) rotate(4deg);
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(201, 162, 39, 0.16);
  margin: 5px 6px;
}

/* Megamenu for Calculators & Wisdom Guides (Parity Architecture) */
.megamenu-calcs,
.megamenu-guides {
  width: 620px;
  max-width: min(620px, 94vw);
}
.megamenu-guides {
  left: auto !important;
  right: -40px !important;
  transform: none !important;
}
.dropdown-menu-header {
  font-family: 'Cinzel', serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #8B6914 !important;
  font-weight: 700 !important;
  padding: 4px 8px 10px;
  border-bottom: 1px solid rgba(201,162,39,0.16);
  margin-bottom: 10px;
}
.dropdown-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #3D3124 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.80rem !important;
  font-weight: 500 !important;
  transition: all 0.18s ease;
}
.dropdown-item:hover {
  background: rgba(201,162,39,0.08);
  color: #8B6914 !important;
  transform: translateX(2px);
}
.dropdown-item .item-icon {
  font-size: 1.15rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(201,162,39,0.08);
  flex-shrink: 0;
}
.dropdown-item .item-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.80rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #3D3124 !important;
}
.dropdown-item:hover .item-title {
  color: #8B6914 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dropdown-item .item-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.69rem !important;
  color: #7A7060 !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

/* Mobile Drawer Accordion System for App */
.drawer-accordion-group {
  width: 100%;
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
}

.drawer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 20px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.drawer-accordion-btn:hover {
  background: rgba(201, 162, 39, 0.06);
  color: #8B6914;
}

.drawer-accordion-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-accordion-group.open .drawer-accordion-btn {
  color: #8B6914;
  background: rgba(201, 162, 39, 0.08);
}

.drawer-accordion-content {
  display: none;
  flex-direction: column;
  padding: 4px 14px 10px 24px;
  gap: 2px;
  background: rgba(255, 253, 247, 0.6);
}

.drawer-accordion-group.open .drawer-accordion-content {
  display: flex;
  animation: fadeInDown 0.2s ease;
}

.drawer-accordion-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.80rem;
  font-weight: 500;
  color: #3A3225;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
}

.acc-link-text {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.drawer-accordion-link:hover {
  background: rgba(201, 162, 39, 0.09);
  color: #8B6914;
}

.drawer-accordion-link:hover span.acc-link-text {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* Table of Sections Dropdown & Wrapper */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-tab-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.10);
  border: 1.2px solid var(--border-gold);
  color: #8B6914;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.nav-tab-table-btn:hover, .nav-tab-table-btn.active, .nav-dropdown-wrapper.open .nav-tab-table-btn {
  background: rgba(201, 162, 39, 0.20);
  border-color: var(--gold);
  color: #8B6914;
}
.sections-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: rgba(255, 253, 247, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(180, 155, 110, 0.20);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1300;
  max-height: 420px;
  overflow-y: auto;
}
.nav-dropdown-wrapper:hover .sections-dropdown-menu,
.sections-dropdown-menu.open {
  display: flex;
  animation: fadeInDown 0.2s ease;
}
.dropdown-sec-header {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark, #8B6914);
  font-weight: 700;
  padding: 6px 8px 2px;
  margin-top: 4px;
}
.dropdown-sec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.80rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.dropdown-sec-item:hover {
  background: rgba(201, 162, 39, 0.09);
  color: #8B6914;
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.dropdown-sec-num {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8B6914;
  min-width: 20px;
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.96);
  border: 1.5px solid var(--border-gold);
  color: #8B6914;
  box-shadow: 0 4px 18px rgba(180, 155, 110, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  font-size: 0.62rem;
  font-weight: 700;
  gap: 1px;
  font-family: 'Inter', sans-serif;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top-btn:hover {
  background: #FFFDF7;
  border-color: var(--gold);
  color: #C9A227;
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.3);
}

/* Modals & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
  box-sizing: border-box;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #FFFDF7;
  border: 1.5px solid var(--border-gold);
  border-radius: 20px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(180, 155, 110, 0.25);
  box-sizing: border-box;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--text-primary);
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary);
}
.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Directory Cards in Modal */
.tabs-dir-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FFFDF7;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.tabs-dir-card:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(180, 155, 110, 0.12);
}
.dir-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dir-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Mobile Bottom Navigation Bar */
/* ─────────────────────────────────────────────────────────────
   Horocosmo-Style Quick Services Carousel & Ribbon
   Clean, responsive, touch-friendly service cards
   ───────────────────────────────────────────────────────────── */
.horo-services-section {
  max-width: var(--nv-container-max, 1240px);
  margin: 0 auto clamp(36px, 5vw, 54px);
  padding: 0 var(--nv-container-pad, clamp(16px, 3.5vw, 24px));
  position: relative;
  z-index: 2;
}

.horo-services-header {
  text-align: center;
  margin-bottom: 24px;
}

.horo-services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #8B6914;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.horo-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16835B;
  box-shadow: 0 0 0 0 rgba(22, 131, 91, 0.7);
  animation: horoPulse 2s infinite;
}

@keyframes horoPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 131, 91, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 131, 91, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 131, 91, 0); }
}

.horo-services-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 600;
  color: #8B6914;
  margin-bottom: 6px;
  line-height: 1.25;
}

.horo-services-sub {
  font-size: 0.88rem;
  color: #6B5744;
  max-width: 580px;
  margin: 0 auto;
}

.horo-services-scroll-wrap {
  position: relative;
  width: 100%;
}

.horo-services-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}

.horo-services-scroll::-webkit-scrollbar {
  display: none;
}

/* Horocosmo Service Card */
.horo-service-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 220px;
  scroll-snap-align: start;
  background: #FFFDF7;
  border: 1.5px solid rgba(180, 155, 110, 0.25);
  border-radius: 18px;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(180, 155, 110, 0.08);
  cursor: pointer;
  box-sizing: border-box;
}

.horo-service-card:hover {
  transform: translateY(-4px);
  border-color: #C9A227;
  background: linear-gradient(145deg, #FFFDF7 0%, #FAF6EE 100%);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.16);
}

.horo-service-card:active {
  transform: scale(0.97);
}

.horo-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1.2;
}

.horo-card-badge.gold {
  background: rgba(201, 162, 39, 0.14);
  color: #8B6914;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.horo-card-badge.green {
  background: rgba(22, 131, 91, 0.12);
  color: #16835B;
  border: 1px solid rgba(22, 131, 91, 0.3);
}

.horo-card-badge.solar {
  background: rgba(232, 117, 26, 0.12);
  color: #B83A2E;
  border: 1px solid rgba(232, 117, 26, 0.3);
}

.horo-service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14) 0%, rgba(22, 131, 91, 0.08) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #8B6914;
  transition: all 0.25s ease;
}

.horo-service-card:hover .horo-service-icon-box {
  transform: scale(1.08);
  border-color: #C9A227;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.22) 0%, rgba(22, 131, 91, 0.15) 100%);
  color: #C9A227;
}

.horo-service-icon-box svg {
  width: 24px;
  height: 24px;
}

.horo-service-name {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #8B6914;
  margin-bottom: 5px;
  line-height: 1.3;
}

.horo-service-desc {
  font-size: 0.76rem;
  color: #6B5744;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horo-service-arrow {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #16835B;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}

.horo-service-card:hover .horo-service-arrow {
  transform: translateX(3px);
  color: #8B6914;
}

/* ─────────────────────────────────────────────────────────────
   Horocosmo-Style Ergonomic 5-Tab Bottom Navigation Bar
   5 items: Home · AI Oracle · Lo Shu · Tools · Consult
   ───────────────────────────────────────────────────────────── */
.mobile-bottom-tabs {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 64px;
  height: calc(64px + env(safe-area-inset-bottom, 8px));
  background: rgba(255, 253, 247, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(201, 162, 39, 0.32);
  box-shadow: 0 -4px 24px rgba(180, 155, 110, 0.14);
  z-index: 1200;
  justify-content: space-around;
  align-items: stretch;
  padding: 4px 6px max(8px, env(safe-area-inset-bottom, 8px));
  box-sizing: border-box;
}

.bottom-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #6B5744;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 6px 4px 4px;
  min-height: 48px;
  min-width: 48px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1 1 0;
  max-width: 80px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.bottom-tab-item:active {
  transform: scale(0.92);
}

.bottom-tab-item:hover, .bottom-tab-item.active {
  color: #8B6914;
}

.bottom-tab-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  color: #6B5744;
}

.bottom-tab-icon svg {
  width: 20px;
  height: 20px;
  transition: all 0.2s ease;
}

.bottom-tab-item.active .bottom-tab-icon {
  color: #C9A227;
  transform: scale(1.1) translateY(-1px);
}

.bottom-tab-item.active span {
  font-weight: 700;
  color: #8B6914;
}

/* Horocosmo top gradient active indicator pill */
.bottom-tab-indicator {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #F3CA52, #C9A227, #16835B);
  display: none;
}

.bottom-tab-item.active .bottom-tab-indicator {
  display: block;
}

/* Mobile Hamburger & Drawer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(201,162,39,0.08); }
.hamburger span { display: block; width: 22px; height: 2px; background: #8B6914; border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-drawer {
  display: none;
  flex-direction: column;
  background: #FFFDF7;
  border-top: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(180,155,110,0.12);
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-tab-link {
  padding: 12px 24px;
  border-bottom: none;
  border-left: 3px solid transparent;
  justify-content: flex-start;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}
.nav-drawer .nav-tab-link:hover { border-left-color: var(--border-gold); background: rgba(201,162,39,0.04); }
.nav-drawer .nav-tab-link.active { border-left-color: var(--gold); color: #8B6914; background: rgba(201,162,39,0.08); }
.nav-drawer-ctas { display: flex; gap: 10px; padding: 12px 24px 16px; }

/* ─────────────────────────────────────────────────────────────
   Responsive Breakpoints matching Horocosmo Ergonomics
   Desktop (> 1024px) · Tablet (768px - 1024px) · Mobile (< 768px)
   ───────────────────────────────────────────────────────────── */

/* Desktop (> 1024px) */
@media (min-width: 1025px) {
  .mobile-bottom-tabs { display: none !important; }
  .horo-services-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    overflow-x: visible;
  }
  .horo-service-card {
    min-width: auto;
    flex: none;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav-primary-row { padding: 10px 20px; }
  .nav-tabs-bar { justify-content: flex-start !important; padding: 4px 14px; }
  .horo-services-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    overflow-x: visible;
  }
  .horo-service-card {
    min-width: auto;
    flex: none;
    padding: 18px 14px;
  }
  .hamburger { display: flex; }
  .mobile-bottom-tabs { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 8px)); }
  .back-to-top-btn {
    bottom: calc(76px + env(safe-area-inset-bottom, 8px));
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .nav-primary-row { padding: 8px 16px; gap: 8px; }
  .brand-seal-icon { width: 50px; height: 50px; }
  .brand-seal-icon img { width: 50px !important; height: 50px !important; }
  .brand-logo-img { height: 40px; }
  .nav-tabs-bar { justify-content: flex-start !important; padding: 4px 12px; }
  .hamburger { display: flex; }
  .nav-actions-group .btn-ghost:not(.keep-mobile) { display: none; }
  .horo-services-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }
  .horo-services-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 4px 14px;
  }
  .horo-service-card {
    flex: 0 0 170px;
    min-width: 170px;
    padding: 18px 12px 16px;
  }
  .mobile-bottom-tabs { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 8px)); }
  .back-to-top-btn {
    bottom: calc(76px + env(safe-area-inset-bottom, 8px));
    right: 14px;
    width: 38px;
    height: 38px;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  .nav-primary-row { padding: 8px 12px; gap: 6px; }
  .brand-logo-link { gap: 8px; }
  .brand-seal-icon { width: 46px; height: 46px; }
  .brand-seal-icon img { width: 46px !important; height: 46px !important; }
  .brand-title { font-size: 1.14rem; letter-spacing: 0.08em; }
  .brand-tagline { font-size: 0.58rem; letter-spacing: 0.14em; }
  .nav-actions-group { gap: 6px; }
  .nav-consult-btn,
  .btn-gold { padding: 6px 12px !important; font-size: 0.70rem !important; white-space: nowrap; }
  .nav-tabs-bar { justify-content: flex-start !important; padding: 4px 8px; }
  .calc-card, .result-card, .res-card { padding: 22px 16px !important; border-radius: 16px !important; }
  .aeo-box { padding: 16px 18px !important; }
}

/* Extra Small Mobile (< 360px) */
@media (max-width: 360px) {
  .nav-primary-row { padding: 6px 8px; }
  .brand-title { font-size: 0.95rem; }
  .brand-tagline { display: none; }
  .nav-consult-btn span,
  .btn-gold span { display: none; }
}

/* Master Footer */
footer.site-footer {
  text-align: center;
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-mid);
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #8B6914;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.footer-disclaimer {
  font-size: 0.7rem;
  color: var(--text-faint);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
