/* ---------- Tokens ---------- */
:root {
  --ink: #1B1F22;
  --ink-soft: #454C51;
  --muted: #6A7075;
  --bg: #FBFBF8;
  --bg-alt: #F1F2EC;
  --line: #DADCD3;
  --brand: #1B1F22;
  --brand-deep: #000000;
  --brand-tint: #EFE6D0;
  --accent: #9C7A2E;
  --accent-deep: #7C5F22;
  --dark: #1B1F22;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(27, 31, 34, 0.06), 0 1px 2px rgba(27, 31, 34, 0.04);
  --shadow-md: 0 12px 32px rgba(27, 31, 34, 0.10);
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent-deep); text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-tint); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 248, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.main-nav a:not(.btn):hover { color: var(--accent-deep); }
.main-nav .nav-cta { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 72px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.eyebrow-light { color: #C9A55A; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--ink); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C5F22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; box-shadow: var(--shadow-md); }
.hc-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 16px; }
.hc-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.hc-list li:last-child { border-bottom: 0; }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.hc-foot { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding-block: 20px; font-size: .9rem; font-weight: 600; color: var(--muted); text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-sub { font-size: 1.08rem; color: var(--muted); margin: 0; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { font-size: .98rem; }
.card ul { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.card li { font-size: .94rem; padding-left: 18px; position: relative; color: var(--ink-soft); }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); }
.problem h3 { font-size: 1.05rem; }
.problem h3::before { content: "C"; display: block; font-size: 2.2rem; line-height: .8; color: var(--accent); margin-bottom: 6px; }
.problem p { margin: 0; font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 16px; }
.step p { margin: 0; font-size: .96rem; }

/* Why */
.section-dark { background: var(--dark); color: #C9CCC4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-lead { font-size: 1.08rem; margin-bottom: 28px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.why-list p { margin: 0; font-size: .94rem; }

/* Who */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--brand-tint); color: var(--accent-deep); font-weight: 600; font-size: .95rem; }
.area { margin: 24px 0 0; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--accent-deep); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list dt { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { color: var(--ink); font-weight: 500; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow-md); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--brand-tint); }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; text-align: center; }

/* Footer */
.site-footer { background: var(--dark); color: #9A9F97; padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; font-size: .92rem; }
.footer-inner img { height: 36px; width: auto; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.1rem; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.visible { opacity: 1; pointer-events: auto; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .problems { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 8px 24px 20px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 14px; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .cards, .steps, .problems, .why-list, .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 22px; }
  .trust-row { gap: 8px 20px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
