:root {
  --bg: #f7f6f2;
  --bg-alt: #efede6;
  --surface: #ffffff;
  --text: #1c2321;
  --muted: #5b6662;
  --line: #e0ddd3;
  --accent: #0f6b5c;
  --accent-ink: #ffffff;
  --accent-soft: #dcefe9;
  --hl: #e8b04b;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(20 30 25 / .05), 0 8px 24px rgb(20 30 25 / .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111614;
    --bg-alt: #161d1a;
    --surface: #1b2420;
    --text: #e9eeeb;
    --muted: #9aa8a2;
    --line: #2a3530;
    --accent: #3fb59c;
    --accent-ink: #0b1210;
    --accent-soft: #1e3a33;
    --hl: #f0c060;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; }
.mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-size: .8rem; letter-spacing: .02em;
}
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a { text-decoration: none; font-size: .95rem; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.nav nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav nav a.nav-cta { color: var(--accent-ink); background: var(--accent); }
.nav nav a.nav-cta:hover { filter: brightness(1.08); background: var(--accent); color: var(--accent-ink); }
@media (max-width: 640px) {
  .brand-name { display: none; }
  .nav nav a:not(.nav-cta) { padding: 8px 8px; font-size: .9rem; }
}
@media (max-width: 380px) { .nav nav a[href="#branches"] { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 12px; border: 1.5px solid transparent; transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-icon { width: 20px; height: 20px; }

/* hero */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) {
  .hero { padding: 96px 0 112px; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; gap: 64px; }
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 1.25rem; }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--hl) 55%, transparent) 62%); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { margin: 0; position: relative; max-width: 420px; justify-self: center; width: 100%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px;
  background: var(--accent-soft); z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; border-radius: 28px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 879px) { .hero-photo { order: -1; max-width: 260px; justify-self: start; } }

/* sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 40em; margin: -0.5rem 0 2rem; }

.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 2px solid var(--accent); padding-top: 18px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: block; font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; font-variant-numeric: tabular-nums; }

.branches { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .branches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .branches { grid-template-columns: repeat(3, 1fr); } }
.branches li {
  display: flex; align-items: center; gap: 14px; padding: 20px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.branches svg { color: var(--accent); flex-shrink: 0; width: 28px; height: 28px; }

.about { display: grid; gap: 16px; }
@media (min-width: 880px) { .about { grid-template-columns: 1fr 2fr; gap: 64px; } }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}

.contact { text-align: center; }
.contact-inner { max-width: 640px; }
.contact h2 { margin-bottom: 1rem; }
.contact p { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
