/* ---------- Tokens ---------- */
:root {
  --accent: #C94343;
  --accent-dark: #A93636;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --border: #e6e4dd;
  --max: 1100px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand-logo { height: 36px; width: auto; }

.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--accent); }

@media (max-width: 540px) {
  .nav { gap: 18px; }
  .brand-logo { height: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 600;
}
.hero h1 {
  max-width: 18ch;
  margin-bottom: 24px;
}
.accent { color: var(--accent); }

.hero .lead {
  max-width: 60ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, transform .05s ease, border-color .15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title { margin-bottom: 8px; }
.section-sub {
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.contact-simple { margin-left: auto; margin-right: auto; }

/* ---------- Services grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.97rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.stats {
  display: grid;
  gap: 18px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-simple {
  text-align: center;
  max-width: 640px;
}
.contact-simple .section-title { margin-bottom: 16px; }
.contact-lead {
  font-size: 1.1rem;
  margin-bottom: 36px;
  color: var(--ink-soft);
}
.contact-meta {
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--muted);
}
.btn-lg {
  font-size: 1.15rem;
  padding: 16px 32px;
  letter-spacing: -0.005em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c8c6c0;
  padding: 40px 0;
  font-size: 0.92rem;
}
.site-footer strong { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; gap: 18px; }
}
.footer-nav { display: flex; gap: 22px; justify-content: center; }
.footer-nav a { color: #c8c6c0; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright { color: #8d8b85; text-align: right; }
@media (max-width: 700px) { .copyright { text-align: left; } }

/* ---------- Legal pages ---------- */
.legal {
  padding: 80px 0;
  max-width: 760px;
}
.legal h1 { font-size: 2rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.97rem; }
.legal ul { padding-left: 22px; }
.legal a { word-break: break-word; }
