:root {
  --bg: #F7F4EE;
  --surface: #FFFFFF;
  --band: #EFEAE1;
  --ink: #14253D;
  --ink-soft: #3A4A60;
  --muted: #667285;
  --line: #E2DCD1;
  --primary: #173A66;
  --primary-hover: #0F2B4F;
  --accent: #7FB2E5;
  --accent-soft: #E3EDF8;
  --wa: #25D366;
  --wa-ink: #0B3B1E;
  --viber: #7360F2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 37, 61, .05), 0 8px 28px rgba(20, 37, 61, .07);
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.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; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1FBE5B; }
.btn-viber { background: var(--viber); color: #fff; }
.btn-viber:hover { background: #5F4BE0; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent-soft); }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-lg { padding: .95em 1.5em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .icon { width: 19px; height: 19px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(226, 220, 209, .7);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.logo-mark { width: 32px; height: 32px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 8px;
  border-radius: 10px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .85rem;
}
.lang:hover { border-color: var(--ink); }

/* hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
h1.eyebrow { letter-spacing: 0; line-height: 1.4; }
.display { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 .5em; color: var(--ink); }
.eyebrow { display: inline-block; font-size: .86rem; font-weight: 600; color: var(--primary); background: var(--accent-soft); padding: .4em .9em; border-radius: 999px; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips .icon { color: #1F9D55; }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; }
.float-card {
  position: absolute; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow);
  font-size: .9rem; border: 1px solid rgba(226, 220, 209, .6);
}
.float-status { left: 0; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.float-status strong { display: block; font-weight: 600; }
.float-status span:not(.dot) { color: var(--muted); font-size: .84rem; }
.dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #DDF6E6; color: #1F9D55; }
.float-tag { right: 2%; top: 6%; padding: 8px 14px; font-weight: 600; color: var(--primary); }

/* sections */
.section { padding: 84px 0; }
.section-band { background: var(--band); }
.section-title { max-width: 22em; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 38em; margin-bottom: 40px; }
#benefits .section-title { margin-bottom: 36px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--primary); margin-bottom: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; background: var(--surface); border-radius: var(--radius); }
.step p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 16px; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; max-width: 920px; }
.plan { position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 26px; border: 1.5px solid var(--line); }
.plan-featured { border-color: var(--primary); box-shadow: var(--shadow); }
.price { margin: 6px 0 20px; }
.amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.unit { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .97rem; }
.ticks .icon { color: #1F9D55; margin-top: 4px; }
.plan-list { background: var(--accent-soft); border-color: transparent; }
.plan-list h3 { margin-bottom: 18px; }
.plan-note { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid rgba(23, 58, 102, .12); font-weight: 600; color: var(--primary); font-size: .95rem; }
.offer {
  max-width: 920px;
  margin-top: 26px; display: flex; align-items: center; gap: 18px;
  background: var(--primary); color: #fff; border-radius: var(--radius); padding: 22px 26px;
}
.offer p { margin: 0; font-weight: 500; font-size: 1.05rem; flex: 1; }
.offer-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .14); flex: none; }

/* areas */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zone { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.zone:first-child { grid-column: span 2; }
.zone h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.zone h3 .icon { color: var(--primary); }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { background: var(--bg); border-radius: 999px; padding: 6px 13px; font-weight: 500; font-size: .93rem; }
.areas-other { margin: 22px 0 0; }
.footnote { margin: 18px 0 0; max-width: 920px; font-size: .86rem; color: var(--muted); }
.footnote a { color: var(--muted); }
.guide-link { margin: 12px 0 0; font-weight: 600; }
.guide-link a { text-decoration: none; }
.guide-link a:hover { text-decoration: underline; }

/* order */
.order { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1.5px solid var(--line); }
.contact-links { display: grid; gap: 4px; margin-top: 8px; }
.contact-link { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--primary); }
.contact-link .icon { color: var(--primary); }
.order-form { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--bg); border-radius: var(--radius-sm); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper input { width: 64px; min-height: 46px; text-align: center; font: inherit; font-weight: 700; font-size: 1.15rem; color: var(--ink); border: 1.5px solid var(--line); border-radius: 11px; background: var(--surface); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--primary); font: inherit; font-size: 1.4rem; font-weight: 600; line-height: 1; cursor: pointer; }
.step-btn:hover { border-color: var(--primary); }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px;
  min-height: 46px;
}
.field textarea { resize: vertical; }
/* date picker */
.datefield { position: relative; }
.date-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 11px 13px;
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink); text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 11px; cursor: pointer;
}
.date-btn .icon { color: var(--primary); }
.date-btn { overflow: hidden; }
.date-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-btn:hover, .date-btn[aria-expanded="true"] { border-color: var(--primary); }
.date-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--accent-soft); }
.date-btn[aria-invalid="true"] { border-color: #B42318; }
.calendar {
  position: absolute; top: calc(100% - 2px); left: 0; z-index: 30; width: 312px; margin-top: 6px; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(20, 37, 61, .16);
  font-weight: 400;
}
.cal-quick { display: flex; gap: 8px; margin-bottom: 12px; }
.cal-quick button {
  flex: 1; padding: 8px 10px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--primary);
  background: var(--accent-soft); border: 0; border-radius: 999px; cursor: pointer;
}
.cal-quick button:hover { background: #D4E3F4; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-size: .98rem; color: var(--ink); text-transform: capitalize; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: var(--primary); cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: var(--bg); }
.cal-nav:disabled { color: var(--line); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow { font-size: .74rem; font-weight: 600; color: var(--muted); padding: 4px 0 6px; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; font: inherit; font-size: .93rem; font-weight: 500;
  color: var(--ink); background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.cal-day:hover:not(:disabled) { background: var(--accent-soft); }
.cal-day:disabled { color: #C9C3B8; cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-day.is-selected { background: var(--primary); color: #fff; }
.field-error { min-height: 0; color: #B42318; font-size: .82rem; font-weight: 500; }
.field-error:empty { display: none; }
.form-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--primary); font-size: .9rem; font-weight: 500; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B42318; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.estimate { border-top: 1px solid var(--line); padding-top: 16px; }
.estimate-lines { list-style: none; padding: 0; margin: 0 0 8px; font-size: .93rem; color: var(--ink-soft); }
.estimate-lines li { display: flex; justify-content: space-between; padding: 3px 0; }
.estimate-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.estimate-total strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.estimate p { margin: 2px 0 0; }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; }
.send-row .btn-wa { flex: 1 1 100%; }
.send-row .btn-viber, .send-row .btn-ghost { flex: 1 1 0; }
.form-status { margin: 0; min-height: 1.2em; font-size: .92rem; font-weight: 600; color: #1F7A45; }
.form-status.error { color: #B42318; }

/* faq */
.faq { max-width: 860px; }
.faq-list { display: grid; gap: 10px; margin-top: 28px; }
details { background: var(--surface); border-radius: var(--radius-sm); padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* prose */
.prose-section { padding-top: 56px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p { color: var(--ink-soft); }
.prose.center .btn { margin-top: 8px; }

/* guide pages */
.crumbs { margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose .lead { font-size: 1.12rem; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: .45em; }
.table-wrap { overflow-x: auto; margin: 0 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .94rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg); font-size: .84rem; color: var(--ink-soft); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tr.is-ours { background: var(--accent-soft); }
.compare tr.is-ours th, .compare tr.is-ours td { color: var(--primary); font-weight: 700; }
.cta-box { margin: 40px 0 24px; padding: 26px; border-radius: var(--radius); background: var(--primary); color: #fff; }
.cta-box h2 { margin: 0 0 8px; font-size: 1.4rem; color: #fff; }
.cta-box p { color: #DCE6F2; }
.cta-box .cta-row { margin: 16px 0 0; }
.related { color: var(--ink-soft); }

/* footer */
.site-footer { background: var(--ink); color: #DCE3EC; padding: 56px 0 28px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .muted { color: #A9B5C4; }
.site-footer .small { display: flex; align-items: center; gap: 6px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; }
.footer-guides { display: grid; gap: 10px; align-content: start; }
.footer-guides a { color: #E6EBF2; text-decoration: none; font-weight: 500; }
.footer-guides a:hover { text-decoration: underline; }
.footer-title { margin: 0 0 4px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #A9B5C4; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 2px 32px; align-content: start; }
.footer-links .contact-link { color: #E6EBF2; }
.footer-links .contact-link .icon { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom a { color: #C9D3DF; }
.mobile-bar { display: none; }

/* responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-inner, .order { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .zones { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 60px; }
  .brand span { font-size: 1rem; }
  .hero { padding: 36px 0 24px; }
  .cta-row .btn { flex: 1 1 100%; }
  .section { padding: 60px 0; }
  .grid-4, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
  .zone:first-child { grid-column: auto; }
  .form-grid > .field { grid-column: 1 / -1; }
  .order-form { padding: 20px 16px; }
  .offer { flex-direction: column; align-items: flex-start; }
  .offer .btn { width: 100%; }
  .float-tag { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-box .btn { flex: 1 1 100%; }
  .footer-links { grid-template-columns: 1fr; }
  .send-row .btn-viber, .send-row .btn-ghost { flex: 1 1 100%; }
  .calendar { width: 100%; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 238, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
