:root {
  --bg: #fbf9f6;
  --surface: #ffffff;
  --tint: #eef4f2;
  --ink: #13222b;
  --muted: #55636b;
  --line: #e2e6e3;
  --brand: #0f4f4c;
  --brand-2: #16706b;
  --accent: #c39a5b;
  --dark: #0d2a2b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 34, 43, .04), 0 8px 24px rgba(19, 34, 43, .06);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); }
img, svg, iframe { max-width: 100%; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 246, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; color: var(--ink); }
.brand-text strong { font-size: 1.15rem; letter-spacing: .02em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--tint); color: var(--brand); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: #fff; font: 600 .98rem var(--font); text-decoration: none; border: 1.5px solid var(--brand); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--tint); color: var(--brand); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-block { display: flex; width: 100%; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(900px 400px at 85% 0%, #e2efeb 0%, transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 920px) { .hero { padding: 88px 0 96px; } .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 56px; } }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.hl { color: var(--brand); background: linear-gradient(transparent 62%, #e8d6b5 62%); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.hero-card-label { font-size: .8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.facts { margin: 0 0 18px; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.facts dt { color: var(--muted); font-size: .92rem; flex: none; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 920px) { .section { padding: 88px 0; } }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #e9f1ef; }
.section-dark .eyebrow { color: #9fd3c9; }
.section-dark .section-head p { color: #b8cbc7; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; max-width: none; }

.page-hero { padding: 40px 0 44px; background: var(--tint); border-bottom: 1px solid var(--line); }
@media (min-width: 920px) { .page-hero { padding: 56px 0 64px; } }
.page-hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); max-width: 22ch; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: .97rem; }
.card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--brand-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.card .more { margin-top: auto; font-weight: 600; color: var(--brand-2); font-size: .92rem; }
.num { font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tint); color: var(--brand); margin-bottom: 16px; }
.article-card h3 { font-size: 1.08rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 920px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.timeline li { position: relative; padding: 0 0 28px 28px; border-left: 2px solid rgba(159, 211, 201, .35); }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #9fd3c9; }
.timeline li.now::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(195, 154, 91, .25); }
@media (min-width: 920px) {
  .timeline li { border-left: 0; border-top: 2px solid rgba(159, 211, 201, .35); padding: 24px 0 0; }
  .timeline li::before { left: 0; top: -7px; }
}
.timeline time { font-size: .85rem; font-weight: 600; color: #9fd3c9; }
.timeline h3 { margin: 6px 0 6px; color: #fff; }
.timeline p { color: #b8cbc7; font-size: .95rem; margin: 0; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand-2); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta-band { background: var(--brand); color: #fff; border-radius: 26px; padding: 36px 24px; display: grid; gap: 20px; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 48px 52px; } }
.cta-band p { color: #cfe5e1; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-actions { justify-content: flex-end; } }
.cta-band .btn:not(.btn-ghost-light) { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .btn:not(.btn-ghost-light):hover { background: #f2ebe0; }

/* Two columns, prose, side */
.two-col { display: grid; gap: 32px; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.note { font-size: .9rem; color: var(--muted); background: var(--tint); border-left: 3px solid var(--brand-2); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.section-tint .note { background: var(--surface); }
.meta { font-size: .88rem; color: var(--muted); }
.side { display: grid; gap: 16px; }
@media (min-width: 960px) { .side { position: sticky; top: 92px; } }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card h2 { font-size: 1.1rem; }
.side-cta { display: grid; gap: 10px; }
.side-cta p { color: var(--muted); margin: 0 0 4px; }
.side-small { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.tech-list { list-style: none; padding: 0; margin: 0; }
.tech-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tech-list li:last-child { border-bottom: 0; }
.tech-list span { flex: none; min-width: 42px; font-weight: 700; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.values dl { margin: 0; }
.values div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.values div:last-child { border-bottom: 0; }
.values dt { font-weight: 700; color: var(--brand); }
.values dd { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

/* Tables & legal list */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.tech-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.tech-table th, .tech-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tech-table th { background: #f6f8f7; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tech-table td:first-child { font-weight: 700; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.tech-table tr:last-child td { border-bottom: 0; }
.legal-list { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-list div { display: grid; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .legal-list div { grid-template-columns: 240px 1fr; gap: 20px; } }
.legal-list div:last-child { border-bottom: 0; }
.legal-list dt { color: var(--muted); font-size: .92rem; }
.legal-list dd { margin: 0; font-weight: 500; }

/* Contact & form */
.contact-list { margin: 0 0 24px; }
.contact-list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .85rem; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-weight: 600; font-size: 1.05rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 20px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
@media (min-width: 720px) { .lead-form { padding: 32px; } }
.form-sub { color: var(--muted); font-size: .95rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(22, 112, 107, .15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 16px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.form-error { color: #b42318; font-size: .92rem; font-weight: 500; }
.form-send { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.form-send p { margin: 0 0 4px; }

/* Footer */
.site-footer { background: #0b2223; color: #c4d4d1; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #e6f0ee; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: #9fb9b4; }
.site-footer .brand { color: #2b8a83; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { margin-top: 16px; font-size: .95rem; }
.footer-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #8fb0aa; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #9fb9b4; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal strong { color: #e6f0ee; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
