:root {
  --bg: #f6f3ed;
  --band: #eee9df;
  --surface: #ffffff;
  --ink: #1c2422;
  --muted: #59635f;
  --line: #e3ddd2;
  --brand: #23544a;
  --brand-dark: #1a4139;
  --brand-soft: #e2ece7;
  --accent: #e6a445;
  --bad: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 36, 34, .05), 0 6px 20px rgba(28, 36, 34, .06);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2359635f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 68px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ico-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 243, 237, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; line-height: 1.1; letter-spacing: -.01em; }
.logo svg { width: 34px; height: 34px; }
.logo small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.lang { position: relative; display: flex; align-items: center; color: var(--muted); }
.lang svg { position: absolute; left: 10px; width: 18px; height: 18px; pointer-events: none; }
.lang select {
  -webkit-appearance: none; appearance: none;
  height: 40px; padding: 0 30px 0 34px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: transparent var(--chevron) no-repeat right 11px center / 11px 8px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer;
}
.lang select:hover { border-color: #cfc7b8; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; text-decoration: none;
  color: #fff; background: var(--brand);
  border: 1.5px solid var(--brand); border-radius: 10px; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--brand); background: transparent; border-color: #c6d6ce; }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.btn-light { flex: 1; color: var(--brand); background: #fff; border-color: #fff; }
.btn-light:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.top .btn { height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { padding: 64px 0 76px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin: 0 0 18px; max-width: 12em; font-size: clamp(36px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
.lead { margin: 0 0 30px; max-width: 33em; font-size: 18.5px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 10px; font-weight: 600; }
.points svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--brand); stroke-width: 2.2; }

.popular { padding: 22px 24px 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.popular h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.popular h2 + .row { border-top: 0; }
.row b { flex: none; font-size: 18px; font-weight: 800; }
.all { display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--brand); text-decoration: none; }
.all:hover { text-decoration: underline; }

/* Sections */
.sec { padding: 80px 0; }
.band { background: var(--band); }
.head { max-width: 640px; margin-bottom: 36px; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.head p { margin: 0; font-size: 17px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; color: var(--brand); background: var(--brand-soft); border-radius: 12px; }
.ico svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.01em; }
.card p { margin: 0 0 20px; color: var(--muted); }
.prices { list-style: none; margin: auto 0 0; padding: 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.prices b { flex: none; font-weight: 800; }
.prices .u { margin-left: 2px; font-size: .85em; font-weight: 600; color: var(--muted); }
.prices .est { flex: 0 1 auto; text-align: right; font-weight: 700; color: var(--brand); }
.note { margin: 22px 0 0; max-width: 60em; font-size: 14.5px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 26px 26px 28px; background: var(--surface); border-radius: var(--radius); }
.num { display: block; margin-bottom: 12px; font-size: 34px; line-height: 1; font-weight: 800; color: var(--brand); }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

/* Request */
.req .cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
form.card { position: relative; padding: 30px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14.5px; font-weight: 700; }
.opt { font-weight: 500; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff var(--chevron) no-repeat right 15px center / 11px 8px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.err { display: none; font-size: 13.5px; font-weight: 600; color: var(--bad); }
.field.bad input, .field.bad select { border-color: var(--bad); }
.field.bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { width: 100%; height: 52px; margin-top: 4px; }
.send[disabled] { opacity: .7; cursor: default; }
.status { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.status.ok { color: var(--brand-dark); background: var(--brand-soft); }
.status.fail { color: var(--bad); background: #fbe9e7; }
.privacy { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }

.contact { padding: 30px; color: #fff; background: var(--brand); border-radius: var(--radius); }
.contact h3 { margin: 0 0 8px; font-size: 21px; }
.contact p { margin: 0 0 18px; color: rgba(255, 255, 255, .8); }
.tel { display: inline-block; margin-bottom: 16px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.tel:hover { text-decoration: underline; }
.msg { display: flex; flex-wrap: wrap; gap: 10px; }
.info { display: grid; gap: 14px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.info dt { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.info dd { margin: 2px 0 0; font-weight: 700; }

/* Footer */
.foot { padding: 0 0 40px; font-size: 14.5px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.foot .wrap::before { content: ""; flex-basis: 100%; height: 1px; margin-bottom: 16px; background: var(--line); }

/* Phone bar */
.mbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
}
.mbar .btn { flex: 1; padding: 0 12px; }

@media (max-width: 900px) {
  .nav, .top .btn { display: none; }
  .lang { margin-left: auto; }
  .hero .wrap, .req .cols { grid-template-columns: 1fr; gap: 36px; }
  .mbar { display: flex; }
  body { padding-bottom: 72px; }
}
@media (max-width: 700px) {
  .grid, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 12px; }
  .logo { font-size: 16px; white-space: nowrap; }
  .lang { flex: none; }
  .lang svg { left: 8px; width: 16px; height: 16px; }
  .lang select { padding: 0 26px 0 29px; font-size: 13px; background-position: right 9px center; }
  .hero { padding: 36px 0 16px; }
  .sec { padding: 56px 0; }
  .card, form.card, .contact { padding: 22px; }
  .two { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
}
