@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --terracotta: #B9502E;
  --terracotta-dark: #98401F;
  --ink: #1C1814;
  --tan: #D9BE9C;
  --cream: #F7F1E7;
  --cream-alt: #EFE4D2;
  --line: #DFD0B4;
  --white: #FFFFFF;
  --muted: #6B6153;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }

p { color: var(--ink); }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
  display: block;
}

/* HEADER */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 44px; width: 44px; object-fit: contain; }
.brand-text .name span { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-text .tagline {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
nav.main-nav { display: flex; align-items: center; gap: 14px; }
nav.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
nav.main-nav a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 600 !important;
  font-size: 13px !important;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    box-shadow: 0 8px 16px rgba(28,24,20,0.08);
  }
  nav.main-nav.nav-open { display: flex; }
  nav.main-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  nav.main-nav a.nav-cta {
    margin: 10px 24px 4px;
    text-align: center;
    border-bottom: none;
  }
  header.site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  h1 { font-size: 27px; }
  h2 { font-size: 24px; }
  .hero { padding: 40px 0 36px; }
  section { padding: 44px 0; }
  .btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
  .btn + .btn { margin-left: 0 !important; margin-top: 10px; }
  .brand-text .name { font-size: 16px; }
  .brand-text .tagline { font-size: 9px; }
  .cta-strip .btn { max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* HERO */
.hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stat .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; color: var(--terracotta); }
.hero-stat .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-panel {
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}
.hero-panel h3 { margin-bottom: 14px; }
.hero-panel ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-panel li { font-size: 14px; padding-left: 18px; position: relative; }
.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--terracotta); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* SECTIONS */
section { padding: 60px 0; }
section.alt { background: var(--cream-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* PILLAR / SERVICE CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }
.card .num-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--terracotta);
  margin-bottom: 12px;
  display: block;
}

/* PROOF / CASE STUDY BLOCKS */
.proof-block {
  border-left: 3px solid var(--terracotta);
  padding: 4px 0 4px 22px;
  margin-bottom: 30px;
}
.proof-block p { margin-bottom: 10px; }
.proof-block .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  font-weight: 700;
}

/* FACT GRID (location pages) */
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0; }
.fact { border-top: 2px solid var(--terracotta); padding-top: 10px; }
.fact .fnum { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; }
.fact .flabel { font-size: 12px; color: var(--muted); }

/* FAQ ACCORDION */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--terracotta);
  font-size: 20px;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 68ch; }

/* FOOTER */
footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 50px 0 26px;
  margin-top: 60px;
}
footer.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer.site-footer h4 { color: var(--tan); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
footer.site-footer .fbrand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 10px; color: var(--tan); }
footer.site-footer .fbrand span { color: var(--tan); }
footer.site-footer p, footer.site-footer a { font-size: 13px; color: #CFC5B4; display: block; margin-bottom: 8px; }
footer.site-footer a:hover { color: var(--tan); }
.footer-bottom {
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #3A342C;
  font-size: 12px;
  color: #8A7F6C;
}

/* PAGE HEADER (inner pages) */
.page-hero {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
  background: var(--cream-alt);
}
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 60ch; margin-top: 12px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--terracotta); }

/* MISC */
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.cta-strip {
  background: var(--terracotta);
  color: var(--white);
  padding: 44px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 14px; }
.cta-strip .btn-primary { background: var(--ink); }
.locations-inline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.locations-inline a {
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
}
.locations-inline a:hover { border-color: var(--terracotta); color: var(--terracotta); }

@media (max-width: 860px) {
  h1 { font-size: 32px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .fact-grid { grid-template-columns: 1fr 1fr; }
  footer.site-footer .wrap { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .fact-grid { grid-template-columns: 1fr; }
}
