/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --ivory:        #F4F6F9;
  --ivory-mid:    #E8ECF2;
  --forest:       #2B3F5C;
  --forest-light: #3D5478;
  --gold:         #6A8FB5;
  --gold-light:   #8AAFD4;
  --ink:          #1B2640;
  --ink-mid:      #2E3F5A;
  --ink-muted:    #607090;
  --rule:         #C8D4E3;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     7rem;
  --max-w:        1140px;
  --col-w:        680px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Base ────────────────────────────────────────────────── */
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.75em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ─── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-md); }
.col       { max-width: var(--col-w); }
.section   { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.section--dark  { background: var(--forest); color: var(--ivory); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--ivory); }
.section--rule { border-top: 1px solid var(--rule); }
.text-center { text-align: center; }

/* ─── Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.site-logo-img { height: 40px; width: auto; display: block; }
.custom-logo   { height: 40px; width: auto; }
.custom-logo-link { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: var(--ivory) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--forest-light) !important; }
.nav-toggle { display: none; cursor: pointer; background: none; border: none; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px 0; transition: all 0.2s; }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--forest); color: var(--ivory); }
.btn-primary:hover { background: var(--forest-light); }
.btn-outline { background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--ivory); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-outline-ivory { background: transparent; color: var(--ivory); border: 1px solid rgba(174,200,228,0.5); }
.btn-outline-ivory:hover { background: rgba(255,255,255,0.1); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 8rem 0 6rem;
  background: var(--forest);
  color: var(--ivory);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236A8FB5' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 { color: var(--ivory); max-width: 780px; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.15rem; color: rgba(250,248,243,0.7); max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Gold Rule ────────────────────────────────────────────── */
.gold-rule { display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: 1.5rem; }

/* ─── Pull Quote ────────────────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--forest);
  line-height: 1.45;
  margin: 3rem 0;
}

/* ─── Services Grid ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service-card { background: var(--ivory); padding: 2.5rem; transition: background 0.2s; }
.service-card:hover { background: var(--ivory-mid); }
.service-number { font-family: var(--font-serif); font-size: 2.5rem; color: var(--rule); display: block; margin-bottom: 1rem; line-height: 1; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--forest); }
.service-card p  { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; margin: 0; }

/* ─── Stat Bar ──────────────────────────────────────────────── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: var(--space-lg) 0;
}
.stat-item { background: var(--ivory); padding: 2rem 2.5rem; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 3rem; color: var(--forest); display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }

/* ─── Process Steps ─────────────────────────────────────────── */
.process-list { counter-reset: steps; }
.process-step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); padding-top: 0.1rem; }
.step-num::before { content: counter(steps, decimal-leading-zero); }
.step-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-content p  { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* ─── About ─────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-img-accent { position: absolute; bottom: -1.5rem; right: -1.5rem; width: 60%; height: 60%; border: 2px solid var(--gold); z-index: -1; }

/* ─── Contact Form ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-xl); }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--ink-muted); font-size: 0.95rem; }
.contact-detail  { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 2rem; font-size: 0.9rem; }
.contact-detail-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; display: block; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  background: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--forest); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-group { margin-bottom: 3rem; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 1.25rem 0; }
.faq-item summary { font-family: var(--font-serif); font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--forest); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-sans); font-size: 1.4rem; font-weight: 300; color: var(--gold); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 1rem 0 0.25rem; font-size: 0.95rem; color: var(--ink-muted); line-height: 1.75; }

/* ─── Page Hero (interior pages) ───────────────────────────── */
.page-hero { background: var(--forest); color: var(--ivory); padding: 5rem 0 4rem; }
.page-hero h4 { color: var(--gold-light); }
.page-hero h1 { color: var(--ivory); }
.page-hero .lead { font-size: 1.1rem; color: rgba(250,248,243,0.65); max-width: 560px; margin-top: 1rem; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--ivory); padding: var(--space-lg) 0 var(--space-md); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.footer-brand { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ivory); margin-bottom: 1rem; }
.footer-tagline { font-size: 0.9rem; color: rgba(250,248,243,0.5); line-height: 1.7; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.88rem; color: rgba(250,248,243,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-md); display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(250,248,243,0.35); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 1.5rem var(--space-md);
    gap: 1.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .hero { padding: 5rem 0 4rem; }
  .stat-bar { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
