/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  --navy: #1B2D5B;
  --white: #FFFFFF;
  --gray-light: #F5F6F8;
  --gold: #B8943F;
  --gold-hover: #9a7a32;
  --text-dark: #1A1A2E;
  --text-muted: #5A6475;
  --border: #E2E6ED;
  --success: #2E7D52;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(27,45,91,0.10);
  --shadow-lg: 0 8px 32px rgba(27,45,91,0.14);
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --section-pad: 64px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
p { margin-bottom: 1rem; }

/* =====================
   LAYOUT UTILITIES
   ===================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; }
.section--gray { background: var(--gray-light); }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  text-align: center;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(184,148,63,0.35);
}
.btn-primary:hover { background: var(--gold-hover); box-shadow: 0 6px 20px rgba(184,148,63,0.40); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 18px; width: 100%; }

/* =====================
   NAVIGATION
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: bold;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav__logo:hover { text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__phone {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__phone svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .nav__phone-text { display: none; }
  .nav__cta { display: none; }
}

/* =====================
   HERO
   ===================== */
.hero {
  padding: 72px 0 80px;
  background: var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EBF4F0;
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero__title { margin-bottom: 20px; }
.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.65;
}

/* Hero form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.form-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.form-group input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,45,91,0.12);
}
.form-group input.error { border-color: #c0392b; }
.form-error { color: #c0392b; font-size: 12px; margin-top: 4px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-submit-wrap { margin-top: 20px; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 60px; }
  .form-card { padding: 28px 20px; }
}

/* =====================
   HOW IT WORKS
   ===================== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step__title { font-size: 18px; margin-bottom: 10px; }
.step__desc { color: var(--text-muted); font-size: 15px; margin: 0; }

@media (max-width: 700px) {
  .steps__grid { grid-template-columns: 1fr; gap: 20px; }
  .step { padding: 24px 20px; text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .step__number { flex-shrink: 0; margin: 0; }
}

/* =====================
   WHAT GETS REMOVED
   ===================== */
.removes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.remove-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.remove-item__icon { flex-shrink: 0; color: var(--success); }
.remove-item__text { font-size: 15px; }
.removes__note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #FFF8EC;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .removes__grid { grid-template-columns: 1fr; }
}

/* =====================
   PRICING
   ===================== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: var(--white);
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.pricing-card__price {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card__period { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 20px; }
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-light);
}
.pricing-card__features li:last-child { border: none; }
.pricing-card__features svg { flex-shrink: 0; color: var(--success); margin-top: 2px; }
.pricing__note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-card__stars { color: var(--gold); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card__quote {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author { font-size: 13px; color: var(--text-muted); font-weight: 600; }

@media (max-width: 700px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* =====================
   FAQ ACCORDION
   ===================== */
.faq__list { margin-top: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}
.faq-question:hover { color: var(--navy); }
.faq-question__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, border-color 0.2s;
  color: var(--text-muted);
}
.faq-item.open .faq-question__icon { transform: rotate(45deg); border-color: var(--navy); color: var(--navy); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer__inner {
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================
   TRUST BAR
   ===================== */
.trust-bar {
  background: var(--navy);
  padding: 28px 0;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.trust-item__icon { color: var(--gold); }
.trust-item__text { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }

@media (max-width: 600px) {
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 32px;
  color: rgba(255,255,255,0.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}
.footer__tagline { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer__disclaimer { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 12px; }

@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* =====================
   SECTION HEADERS
   ===================== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 8px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 17px; }

/* =====================
   FORM LOADING STATE
   ===================== */
.btn-primary[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================
   THANK YOU PAGE
   ===================== */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.thankyou-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.thankyou-card {
  text-align: center;
  max-width: 560px;
}
.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #EBF4F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--success);
}
.thankyou-card h1 { font-size: 32px; margin-bottom: 16px; }
.thankyou-card p { color: var(--text-muted); font-size: 17px; }

/* =====================
   UTILITY
   ===================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
