/* FAQ page. Reset, tokens, navbar and footer are copied from public/css/pricing.css,
   buttons from public/css/home.css. Change ?v= in the page on every edit. */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --teal-900: #0D2E4E;
  --teal-800: #0d2040;
  --teal-700: #102a52;
  --teal-600: #163565;
  --teal-500: #1e4d8c;
  --orange: #c8420a;
  --orange-bright: #e04d10;
  --orange-glow: rgba(200, 66, 10, 0.35);
  --gold: #d4a040;
  --cream: #f0f6ff;
  --warm-white: #f5f9ff;
  --text-dark: #111;
  --text-mid: #4a4a4a;
  --text-light: #787878;
  --green: #62BC46;
  --brand-blue: #0D2E4E;
  --brand-green: #62BC46;
  --brand-grey: #E7E7E7;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: #f1f1f1
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 4px
}

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(13, 46, 78, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 60px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar.scrolled .nav-logo {
    color: #fff;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transform: scale(5);
    transform-origin: left center;
    vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-mobile-only { display: none; }

@media (min-width: 769px) {
  .navbar > .nav-logo { flex: 1 1 0; }
  .navbar > .nav-links { flex: 0 0 auto; }
  .navbar > .nav-auth-group { flex: 1 1 0; display: flex; justify-content: flex-end; align-items: center; }
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange) !important; }
.nav-links a.active { color: var(--orange) !important; font-weight: 700; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}
.nav-close { display: none; }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-chevron { font-size: 9px; transition: transform 0.25s; line-height: 1; opacity: 0.7; }
.nav-item-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(7,24,44,0.97); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-top: 2px solid var(--orange);
  border-radius: 12px; min-width: 215px; padding: 6px;
  opacity: 0; visibility: hidden; transition: all 0.22s ease;
  z-index: 200; box-shadow: 0 20px 50px rgba(0,0,0,0.45); pointer-events: none;
}
.dropdown-menu::before { content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: all;
}
.dropdown-menu a {
  display: block; padding: 10px 14px; color: rgba(255,255,255,0.8) !important;
  font-size: 13.5px; font-weight: 500; border-radius: 8px;
  transition: background 0.18s, color 0.18s; white-space: nowrap; text-decoration: none;
}
.dropdown-menu a:hover { background: rgba(200,66,10,0.18) !important; color: #e86428 !important; }

.nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--orange-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--orange-glow)
}

/* ── TYPE TOKENS ── */
:root {
  --ff-sans: 'DM Sans', sans-serif;
  --ff-serif: 'Cormorant Garamond', serif;
  --ff-mono: 'DM Mono', monospace;

  --fs-display: clamp(36px, 4.5vw, 60px);
  --fs-h1:      clamp(30px, 3.6vw, 48px);
  --fs-h2:      clamp(26px, 2.6vw, 36px);
  --fs-h3:      clamp(20px, 1.8vw, 26px);
  --fs-h4:      17px;
  --fs-lead:    18px;
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-eyebrow: 12px;
  --fs-btn:     15px;

  --lh-tight: 1.1;
  --lh-snug:  1.25;
  --lh-body:  1.65;
}

body { font-family: var(--ff-sans); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ── BUTTONS ── */
.btn-main {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-bright) 100%);
  color: #fff;
  height: 58px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 16px 40px rgba(200,66,10,0.35);
  letter-spacing: 0.3px;
}
.btn-main:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 38px rgba(200,66,10,0.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  height: 58px;
  padding: 0 26px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  transition: all 0.3s;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}
/* ── HERO BACKGROUND ── */
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(13,46,78,0.82) 0%, rgba(13,46,78,0.65) 50%, rgba(13,46,78,0.80) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,100,200,0.22) 0%, transparent 65%);
  top: -200px; right: -100px; pointer-events: none; z-index: 2;
  animation: pulseglow 6s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,90,180,0.35) 0%, transparent 65%);
  bottom: -100px; left: -50px; pointer-events: none; z-index: 2;
}

@keyframes pulseglow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.dot-grid {
  position: absolute; z-index: 3; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ── FOOTER ── */
footer {
  background: var(--teal-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 60px 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/WhatsApp Image 2026-03-10 at 5.35.08 PM (1).jpeg") center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-brand img {
  height: 40px;
  width: auto;
  transform: scale(5);
  transform-origin: left center;
  vertical-align: middle;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  margin-top: 100px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--orange);
}

.social-icon {
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.social-icon:hover {
  background: rgba(200, 66, 10, 0.3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11.5px;
  line-height: 1.75;
  max-width: 800px;
}

/* ── NAVBAR AND FOOTER, MOBILE ── */
@media (max-width: 768px) {
  .navbar, .navbar.scrolled {
    display: grid !important; grid-template-columns: 1fr 100px 1fr; gap: 0;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    background: rgba(13, 46, 78, 0.98) !important;
    backdrop-filter: blur(20px);
  }
  .navbar { position: fixed; top: 0; left: 0; right: 0; }
        .nav-toggle { grid-column: 1; justify-self: start; display: flex; align-items: center; }
  .navbar .nav-logo { grid-column: 2; margin: 0; order: unset; }
  .navbar .nav-auth-group { grid-column: 3; justify-self: end; overflow: visible !important; display: flex !important; }
  .navbar .nav-auth-group .nav-login-link { display: none; }
  .navbar .nav-logo img { transform: scale(2.5) !important; transform-origin: center center !important; }
  .navbar .nav-auth-group {
    display: flex !important;
    order: 1;
    gap: 0 !important;
  }
  .navbar .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .nav-toggle {
    display: block;
    order: -1;
  }
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13, 46, 78, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
    padding: 90px 24px 18px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-item-dropdown .dropdown-menu { position: static; box-shadow: none; padding-left: 12px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; background: transparent; backdrop-filter: none; border: none; } .nav-item-dropdown:hover .dropdown-menu, .nav-item-dropdown.is-open .dropdown-menu, .nav-item-dropdown:focus-within .dropdown-menu { position: static !important; transform: none !important; left: auto !important; top: auto !important; }
  .nav-mobile-only { display: none; }
  .nav-links.active .nav-mobile-only { display: block; }
        .nav-close { display: flex; align-items: center; justify-content: center; position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 18px; cursor: pointer; line-height: 1; z-index: 10; }
  .nav-close:hover { background: rgba(255,255,255,0.22); }
  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
  .nav-backdrop.active { display: block; }
  footer { padding: 60px 20px 32px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-brand img { transform: scale(3) !important; transform-origin: left center; margin-bottom: 30px; }
  .footer-brand { margin-bottom: 0; }
  .footer-tagline { margin-top: 0; }
}

/* ── HERO ── */
.faq-hero {
  background: var(--teal-900);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.faq-hero .hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}
.dot-grid-top { top: 40px; right: 380px; width: 160px; height: 120px; }
.dot-grid-bottom { bottom: 80px; left: 40px; width: 100px; height: 80px; opacity: 0.5; }
.faq-hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 20px 100px;
}
.faq-hero h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
}
.hero-accent { color: var(--orange); }
.faq-hero p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  margin: 0 auto;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── FAQ ── */
.faq {
  background: #fff;
  padding: 100px 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-left {
  position: sticky;
  top: 100px;
}
.faq-eyebrow {
  display: block;
  color: var(--orange);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.faq-left h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--teal-900);
  margin-bottom: 24px;
}
.faq-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.faq-topics a {
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  color: var(--teal-900);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-topics a:hover {
  color: var(--orange);
  border-color: rgba(200, 66, 10, 0.3);
}
.faq-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.faq-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(200, 66, 10, 0.15);
  border: 1px solid rgba(200, 66, 10, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}
.faq-contact-text { min-width: 0; }
.faq-contact-text strong {
  display: block;
  font-size: 13px;
  color: var(--teal-900);
  font-weight: 700;
}
.faq-contact-text a {
  font-size: 12px;
  color: var(--text-mid);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.faq-contact-text a:hover { color: var(--orange); }

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-margin-top: 100px;
}
.faq-group-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--teal-900);
  margin-bottom: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.faq-item.open {
  background: #fafafa;
  border-color: rgba(200, 66, 10, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.faq-q-heading { font: inherit; }
.faq-q {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--teal-900);
}
.faq-q:hover { color: var(--orange); }
.faq-q:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
  border-radius: 14px;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 66, 10, 0.12);
  border: 1px solid rgba(200, 66, 10, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--orange);
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(200, 66, 10, 0.22);
}
/* Grid rows animate to the answer's real height, and closed answers are hidden
   from keyboards and screen readers too. */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s ease, visibility 0.35s;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
}
.faq-a-clip {
  overflow: hidden;
  min-height: 0;
}
.faq-a-inner {
  padding: 0 28px 24px;
  font-size: var(--fs-small);
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-a-inner a { color: var(--orange); }

/* ── FINAL CTA ── */
.faq-cta {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  padding: 100px 0;
  text-align: center;
}
.faq-cta h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
}
.faq-cta .faq-eyebrow { color: var(--orange-bright); }
.faq-cta p {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}
.faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.faq-cta .btn-main,
.faq-cta .btn-ghost { justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-left { position: static; }
  .faq-topics {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .faq-topics a { border-radius: 50px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .faq, .faq-cta { padding: 60px 0; }
  .faq-hero-content { padding: 100px 20px 60px; }
  .dot-grid-top { right: 40px; }
  /* The closed menu sits just off-screen; its shadow must not show on the page. */
  .nav-links:not(.active) { box-shadow: none; }
  .faq-q { padding: 18px 20px; }
  .faq-a-inner { padding: 0 20px 20px; }
}

@media (max-width: 640px) {
  .faq-cta-buttons .btn-main,
  .faq-cta-buttons .btn-ghost { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .faq, .faq-cta { padding: 40px 0; }
  .faq-right { gap: 36px; }
}

@media print {
  .faq-a { grid-template-rows: 1fr; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow { animation: none; }
  .faq-a, .faq-icon { transition: none; }
}
