/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --navy:      #0C1A2E;
  --gold:      #C8872B;
  --parchment: #F6F4EF;
  --white:     #FFFFFF;
  --text:      #1A1A1A;
  --muted:     #64748B;
  --gold-tint: #FDF6ED;
  --gold-dark: #A06820;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ── Base ──────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--parchment);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}
a { color: inherit; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.section    { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-primary              { background: var(--gold); color: var(--white); }
.btn-primary:hover        { background: var(--gold-dark); }
.btn-secondary            { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover      { background: var(--navy); color: var(--white); }
.btn-ghost                { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover          { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-lg                   { padding: 1rem 2rem; font-size: var(--text-base); }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-md); }

/* ── Trust bar ─────────────────────────────────────────────────────────── */
.trust-bar       { background: var(--navy); color: var(--white); padding: 1rem 0; }
.trust-bar-inner { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust-item      { font-size: var(--text-sm); display: flex; align-items: center; gap: .5rem; }
.trust-item + .trust-item::before { content: "|"; color: rgba(255,255,255,.3); margin-right: .5rem; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  max-width: 200px;
  line-height: 1.2;
}
.nav-links            { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a          { text-decoration: none; color: var(--text); font-size: var(--text-sm); font-weight: 500; transition: color .2s; }
.nav-links a:hover    { color: var(--gold); }
.nav-actions          { display: flex; align-items: center; gap: 1rem; }
.nav-phone            { color: var(--navy); font-weight: 600; font-size: var(--text-sm); text-decoration: none; }
.nav-phone:hover      { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span               { display: block; width: 24px; height: 2px; background: var(--navy); transition: all .3s; }
.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); }

.mobile-menu       { display: none; background: var(--navy); }
.mobile-menu.open  { display: block; }
.mobile-menu ul    { list-style: none; }
.mobile-menu li a  {
  display: block;
  padding: .875rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: var(--text-base);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.mobile-menu li a:hover         { background: rgba(255,255,255,.1); }
.mobile-apply-link              { color: var(--gold) !important; font-weight: 600 !important; }

/* ── Mobile sticky CTA bar ─────────────────────────────────────────────── */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  display: none;
}
.btn-mobile-cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  background: var(--navy);
  color: var(--white);
}
.btn-mobile-cta--gold { background: var(--gold); }

@media (max-width: 768px) {
  .nav-links, .nav-phone, .nav-actions .btn { display: none; }
  .hamburger        { display: flex; }
  .mobile-cta-bar   { display: flex; }
  body              { padding-bottom: 56px; }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer       { background: var(--navy); color: rgba(255,255,255,.85); padding: 4rem 0 0; }
.footer-grid       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer-logo       { font-family: var(--font-display); font-size: var(--text-lg); color: var(--white); font-weight: 700; margin-bottom: .75rem; }
.footer-tagline    { color: var(--gold); font-size: var(--text-sm); font-weight: 600; letter-spacing: .05em; }
.site-footer h4    { color: var(--white); font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-family: var(--font-body); }
.site-footer ul    { list-style: none; }
.site-footer ul li { margin-bottom: .5rem; font-size: var(--text-sm); }
.site-footer ul a  { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: var(--white); }
.footer-contact li { margin-bottom: .75rem; font-size: var(--text-sm); color: rgba(255,255,255,.7); }
.footer-contact a  { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
}
.footer-bottom-links       { display: flex; gap: 1.5rem; }
.footer-bottom-links a     { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--white); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .footer-grid { grid-template-columns: 1fr; } }

/* ── Page hero ─────────────────────────────────────────────────────────── */
.page-hero      { background: var(--navy); color: var(--white); padding: 5rem 0 4rem; }
.page-hero h1   { color: var(--white); }
.page-hero p    { color: rgba(255,255,255,.8); margin-top: 1rem; font-size: var(--text-lg); }

/* ── Reviews ───────────────────────────────────────────────────────────── */
.stars       { color: var(--gold); font-size: var(--text-lg); letter-spacing: -.05em; }
.review-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s; border-left: 3px solid var(--gold); }
.review-card:hover { box-shadow: var(--shadow-md); }

/* ── Accordion ─────────────────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid rgba(0,0,0,.1); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}
.accordion-trigger::after             { content: "+"; font-size: var(--text-xl); color: var(--gold); transition: transform .2s; flex-shrink: 0; }
.accordion-item.open .accordion-trigger::after { content: "\2212"; }
.accordion-content                    { padding: 0 0 1.25rem; color: var(--muted); display: none; }
.accordion-item.open .accordion-content { display: block; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-weight: 500; margin-bottom: .5rem; font-size: var(--text-sm); }
input, textarea, select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color .2s;
  background: var(--white);
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,135,43,.15);
}
textarea { min-height: 120px; resize: vertical; }
.form-success { padding: 1rem; border-radius: var(--radius-md); margin-top: 1rem; display: none; background: #D1FAE5; color: #065F46; }
.form-error   { padding: 1rem; border-radius: var(--radius-md); margin-top: 1rem; display: none; background: #FEE2E2; color: #991B1B; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }
.text-navy   { color: var(--navy); }
.bg-navy     { background: var(--navy); }
.bg-parchment{ background: var(--parchment); }
.bg-gold-tint{ background: var(--gold-tint); }
.font-display{ font-family: var(--font-display); }
.text-center { text-align: center; }
.mt-1  { margin-top: var(--space-1); }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
