@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #1B3F5C;
  --navy-dark: #143049;
  --navy-light: #2C5576;
  --grey: #585858;
  --grey-light: #F2F2F2;
  --gold: #C5A56F;
  --gold-dark: #A68A5A;
  --bg: #F7F5F2;
  --white: #FFFFFF;
  --text: #222222;
  --muted: #6B7280;
  --border: #E2E2E2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 40px rgba(27, 63, 92, 0.10);
  --shadow-sm: 0 4px 12px rgba(27, 63, 92, 0.06);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1160px;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: min(92%, var(--max-width)); margin-inline: auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); line-height: 1; }
.logo-text span { display: block; font-size: 0.55rem; letter-spacing: 0.08em; color: var(--grey); font-family: var(--font-body); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--navy); }
.header-phone {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: var(--white);
  padding: 0.55rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  text-decoration: none;
}
.header-phone:hover { background: var(--navy-dark); color: var(--white); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .mobile-menu-btn { display: block; }
  .header-phone span { display: none; }
}

/* Hero */
.hero { padding: 3.5rem 0 4rem; background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--navy); margin: 0 0 1rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: 1.15rem; color: var(--grey); margin-bottom: 1.5rem; max-width: 520px; }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.98rem; }
.hero-bullets li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* Form card */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; position: relative; }
.form-head { margin-bottom: 1.25rem; }
.form-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin: 0 0 0.25rem; }
.form-subtitle { color: var(--muted); font-size: 0.9rem; margin: 0; }
.progress { height: 6px; background: var(--grey-light); border-radius: 3px; overflow: hidden; margin-bottom: 1.25rem; }
.progress-bar { height: 100%; background: var(--gold); width: 0%; transition: width 0.3s ease; }
.step-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.step-question { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin: 0 0 1rem; }
.options { display: grid; gap: 0.65rem; }
.option {
  display: flex; align-items: center; gap: 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; cursor: pointer; background: var(--white); transition: all 0.15s ease;
}
.option:hover, .option:focus-within { border-color: var(--navy); background: #FAFBFC; }
.option.selected { border-color: var(--navy); background: rgba(27,63,92,0.04); }
.option input { width: 20px; height: 20px; accent-color: var(--navy); }
.option-text { font-weight: 500; }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27,63,92,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; color: var(--grey); }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }
.form-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: none; border-radius: var(--radius-sm); padding: 0.9rem 1.6rem;
  font-family: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform 0.1s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-accent { background: var(--gold); color: var(--navy-dark); }
.btn-accent:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.success-box { text-align: center; padding: 2rem 1rem; }
.success-box h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--navy); margin: 0 0 1rem; text-align: center; }
.section-subtitle { color: var(--grey); text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(27,63,92,0.08); display: grid; place-items: center; color: var(--navy); font-size: 1.25rem; margin-bottom: 1rem; }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--grey); font-size: 0.95rem; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-family: var(--font-display); }

.reviews { position: relative; }
.review-slider { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.review-card { flex: 0 0 min(320px, 85%); scroll-snap-align: start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.5rem; }
.review-text { font-size: 0.95rem; color: var(--grey); margin-bottom: 1rem; }
.review-author { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.review-meta { font-size: 0.8rem; color: var(--muted); }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; background: none; border: none; font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--navy); text-align: left; cursor: pointer; }
.faq-answer { display: none; padding: 0 0 1rem; color: var(--grey); }
.faq-item.open .faq-answer { display: block; }

.trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; align-items: center; margin-top: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--grey); }

.cta-section { background: var(--navy); color: var(--white); text-align: center; padding: 3.5rem 0; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.5rem; }
.cta-section .btn-accent { min-width: 240px; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 0.75rem 1rem; display: none;
}
@media (max-width: 900px) {
  .sticky-cta { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .cards-3, .process { grid-template-columns: 1fr; }
  body { padding-bottom: 70px; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 2.5rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-legal { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* Start page hub */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hub-card { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: box-shadow 0.15s, border-color 0.15s; }
.hub-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--text); }
.hub-card strong { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: 0.25rem; }
.hub-card span { font-size: 0.85rem; color: var(--grey); }
@media (max-width: 700px) { .hub-grid { grid-template-columns: 1fr; } }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.error-text { color: #B91C1C; font-size: 0.85rem; margin-top: 0.35rem; }
