/* ==========================================================================
   Приватний перевізник — стилі сайту
   Палітра: асфальт, синій дорожній знак, жовтий сигнал, крафт-картон
   ========================================================================== */

@font-face { font-family: "Unbounded"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/onest-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/onest-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/onest-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/onest-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f2f4f7;
  --white: #ffffff;
  --ink: #17202e;
  --muted: #4a5568;
  --line: #d8dee7;
  --line-strong: #b9c3d1;
  --blue: #1846c4;
  --blue-deep: #0f2f8a;
  --blue-soft: #e8eefb;
  --yellow: #ffc928;
  --yellow-deep: #f0b400;
  --kraft: #d8b47c;
  --kraft-soft: #f5ede0;
  --green: #157a47;
  --green-soft: #e3f3ea;
  --amber: #8a5a00;
  --amber-soft: #fff1cc;
  --red: #b4361f;

  --display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Onest", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --hdr: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
table { border-collapse: collapse; width: 100%; }

h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.14; }
h1 { font-size: clamp(1.8rem, 1.05rem + 2.9vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.05rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(780px + 2 * var(--pad)); }
.nowrap { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: .75rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--blue-deep); text-decoration-thickness: 2.5px; }

/* ---------- Icons ---------- */
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .7rem 1.25rem; border-radius: var(--r-md); border: 2px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--call { background: var(--yellow); color: var(--ink); }
.btn--call:hover { background: var(--yellow-deep); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--primary:focus-visible { outline-color: var(--ink); }
.btn--line { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover:not([disabled]) { border-color: var(--blue); color: var(--blue); }
.btn--text { background: none; color: var(--muted); padding-left: .5rem; padding-right: .5rem; }
.btn--text:hover:not([disabled]) { color: var(--ink); }
.btn--wide { width: 100%; }
.cta { display: flex; flex-wrap: wrap; gap: .65rem; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hdr { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.hdr__in { display: flex; align-items: center; gap: 1rem; min-height: var(--hdr); }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; min-width: 0; }
.vanmark { width: 40px; height: 28px; flex: none; }
.logo__t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo__t b { font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__t small { font-size: .78rem; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: 1.35rem; }
.nav__list a { text-decoration: none; font-weight: 600; font-size: .97rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--yellow); }
.lang { display: flex; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.lang a { text-decoration: none; font-size: .82rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--ink); }

.hdr__phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; color: var(--blue); white-space: nowrap; padding: .55rem .9rem; border-radius: var(--r-md); background: var(--blue-soft); }
.hdr__phone:hover { background: #d9e4fa; }

.burger { display: none; align-items: center; gap: .5rem; background: none; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: .5rem .75rem; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.burger__lines { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.burger__lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.burger[aria-expanded="true"] .burger__lines { border-color: transparent; }
.burger[aria-expanded="true"] .burger__lines::after { top: 3px; transform: rotate(45deg); box-shadow: 0 0 0 0 currentColor; }
.burger[aria-expanded="true"] .burger__lines::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__list { gap: 1rem; }
  .hdr__phone span { display: none; }
}
@media (max-width: 959px) {
  .burger { display: inline-flex; }
  .hdr__phone { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(23, 32, 46, .35); padding: .5rem var(--pad) 1.25rem; display: none; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .lang { align-self: flex-start; margin-top: 1rem; }
  .lang a { font-size: .95rem; padding: .4rem .9rem; }
}
@media (max-width: 440px) {
  .burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .burger { padding: .5rem .7rem; }
  .logo__t b { font-size: .88rem; }
}
@media (max-width: 340px) { .logo__t small { display: none; } }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .85rem .4rem .7rem; border-radius: 999px; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.status--free { background: var(--green-soft); color: var(--green); }
.status--free .status__dot { box-shadow: 0 0 0 0 rgba(21, 122, 71, .5); animation: pulse 2.2s ease-out infinite; }
.status--busy, .status--free_from { background: var(--amber-soft); color: var(--amber); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21, 122, 71, .45); } 70% { box-shadow: 0 0 0 9px rgba(21, 122, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 122, 71, 0); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4.25rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.hero__h { max-width: 16ch; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.hero__points { gap: .5rem 1.5rem; }
.hero__points li { font-size: .98rem; }
.hero__prices { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.hero__prices li { font-size: 1rem; color: var(--muted); }
.hero__prices b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }
.hero__media { position: relative; padding-bottom: 3.25rem; }
.hero__pic img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }

.plate { position: absolute; left: clamp(.75rem, 3vw, 1.5rem); right: clamp(.75rem, 3vw, 1.5rem); bottom: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: .85rem 1.15rem .9rem;
  background-image: radial-gradient(circle at 9px 9px, #9aa5b4 2.2px, transparent 2.8px), radial-gradient(circle at calc(100% - 9px) 9px, #9aa5b4 2.2px, transparent 2.8px), radial-gradient(circle at 9px calc(100% - 9px), #9aa5b4 2.2px, transparent 2.8px), radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #9aa5b4 2.2px, transparent 2.8px);
  box-shadow: 0 10px 24px -14px rgba(23, 32, 46, .45); }
.plate__model { display: block; font-family: var(--display); font-weight: 700; font-size: .9rem; padding-bottom: .5rem; margin-bottom: .55rem; border-bottom: 1.5px solid var(--line); }
.plate__grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .4rem 1rem; }
.plate dt { font-size: .74rem; color: var(--muted); line-height: 1.25; }
.plate dd { font-family: var(--display); font-weight: 500; font-size: clamp(.82rem, .75rem + .3vw, .98rem); white-space: nowrap; }
@media (max-width: 520px) {
  .plate__grid { grid-template-columns: auto auto; justify-content: start; column-gap: 2rem; }
  .plate__grid > div:last-child { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: baseline; }
  .hero__media { padding-bottom: 5.5rem; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--white); }
.sec--line { border-top: 1px solid var(--line); }
.sec--flush { padding-top: 0; }
.sec__head { display: flex; flex-direction: column; gap: .6rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); max-width: 720px; }
.sec__head p { color: var(--muted); font-size: 1.07rem; }
.more { margin-top: 1.75rem; }

/* ---------- About / benefits ---------- */
.about { background: var(--white); }
.about__top { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.about__intro { display: flex; flex-direction: column; gap: 1rem; }
.about__intro p { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.about__media img { width: 100%; border-radius: var(--r-lg); }
.benefits { display: grid; gap: 1.75rem 2rem; }
.benefits li { display: flex; flex-direction: column; gap: .45rem; padding-top: 1rem; border-top: 3px solid var(--yellow); }
.benefits h3 { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.benefits p { color: var(--muted); }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .about__top { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Fit tool (signature) ---------- */
.fit { background: var(--kraft-soft); border-top: 1px solid #eadcc4; border-bottom: 1px solid #eadcc4; }
.fit__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.fit__intro { display: flex; flex-direction: column; gap: .6rem; max-width: 720px; }
.fit__intro p { color: var(--muted); }
.fit__items { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--white); border-radius: var(--r-lg); border: 1px solid #eadcc4; padding: .35rem 1.1rem; align-self: start; }
.fit__item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.fit__item:last-child { border-bottom: 0; }
.fit__item.is-on .fit__name { font-weight: 600; }
.fit__ctl { display: inline-flex; align-items: center; gap: .35rem; }
.fit__ctl button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); font-size: 1.25rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.fit__ctl button:hover { border-color: var(--blue); color: var(--blue); }
.fit__ctl output { min-width: 1.8rem; text-align: center; font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums; }
.fit__viz { display: flex; flex-direction: column; gap: 1rem; align-self: start; background: var(--white); border-radius: var(--r-lg); border: 1px solid #eadcc4; padding: clamp(1rem, 3vw, 1.75rem); }
.fit__svg { width: 100%; height: auto; }
.fit__fill { transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.fit__svg.is-over > rect:first-of-type { stroke: var(--red); }
.fit__result { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; min-height: 3.2rem; }
.fit__pct { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fit__pct.is-over { color: var(--red); }
.fit__result span { color: var(--muted); max-width: 32ch; }
.fit__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.fit__note { font-size: .88rem; color: var(--muted); }
@media (max-width: 1079px) {
  .fit__viz { order: -1; position: -webkit-sticky; position: sticky; top: calc(var(--hdr) + .5rem); z-index: 5; gap: .6rem; padding: .85rem 1rem; box-shadow: 0 14px 28px -20px rgba(23, 32, 46, .5); }
  .fit__intro { order: -2; }
  .fit__svg { max-width: 300px; }
  .fit__pct { font-size: 1.6rem; }
  .fit__result { min-height: 0; }
  .fit__result span { font-size: .95rem; }
  .fit__actions .btn { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }
  .fit__note { display: none; }
}
@media (min-width: 760px) {
  .fit__items { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .fit__item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (min-width: 1080px) {
  .fit__grid { grid-template-columns: 1.15fr .85fr; grid-template-areas: "intro intro" "items viz"; }
  .fit__intro { grid-area: intro; }
  .fit__items { grid-area: items; }
  .fit__viz { grid-area: viz; position: sticky; top: calc(var(--hdr) + 1rem); }
}

/* ---------- Services list ---------- */
.svc { border-top: 1.5px solid var(--ink); }
.svc__row { border-bottom: 1px solid var(--line); }
.svc__link { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "img body" "img price"; gap: .3rem 1.1rem; align-items: center; padding: 1rem 0; text-decoration: none; }
.svc__img { grid-area: img; width: 96px; height: 96px; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { grid-area: body; display: flex; flex-direction: column; gap: .2rem; }
.svc__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.02rem, .95rem + .4vw, 1.3rem); letter-spacing: -.01em; }
.svc__text { color: var(--muted); font-size: .98rem; display: none; }
.svc__price { grid-area: price; font-weight: 600; color: var(--blue); }
.svc__link:hover .svc__title { color: var(--blue); }
@media (min-width: 760px) {
  .svc__link { grid-template-columns: 168px 1fr auto; grid-template-areas: "img body price"; gap: 1.75rem; padding: 1.25rem 0; }
  .svc__img { width: 168px; height: 118px; }
  .svc__text { display: block; max-width: 56ch; }
  .svc__price { white-space: nowrap; font-size: 1.05rem; padding: .45rem .9rem; border: 1.5px solid var(--line-strong); border-radius: 999px; color: var(--ink); }
  .svc__link:hover .svc__price { border-color: var(--blue); color: var(--blue); }
}

/* ---------- Tariffs ---------- */
.tariffs { display: grid; gap: 1.5rem; }
.tariffs__table { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.sec--tint .tariffs__table { background: var(--paper); border-color: transparent; }
.tariffs__table tr + tr th, .tariffs__table tr + tr td { border-top: 1px solid var(--line); }
.tariffs__table th, .tariffs__table td { text-align: left; padding: 1.1rem 1.25rem; vertical-align: baseline; }
.tariffs__table th { font-weight: 600; font-size: 1.05rem; }
.tariffs__price { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1rem + .9vw, 1.65rem); white-space: nowrap; letter-spacing: -.01em; }
.tariffs__note { color: var(--muted); }
@media (max-width: 759px) {
  .tariffs__table, .tariffs__table tbody, .tariffs__table tr, .tariffs__table th, .tariffs__table td { display: block; }
  .tariffs__table tr { display: grid; grid-template-columns: 1fr auto; padding: 1rem 1.1rem; }
  .tariffs__table tr + tr { border-top: 1px solid var(--line); }
  .tariffs__table tr + tr th, .tariffs__table tr + tr td { border-top: 0; }
  .tariffs__table th, .tariffs__table td { padding: 0; }
  .tariffs__note { grid-column: 1 / -1; font-size: .95rem; margin-top: .25rem; }
}
.ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; }
.ticks li { display: flex; align-items: flex-start; gap: .5rem; font-weight: 600; }
.ticks .ico { color: var(--green); margin-top: .15rem; }
.ticks--list { flex-direction: column; gap: .75rem; }
.ticks--list li { font-weight: 400; }

/* ---------- Steps ---------- */
.steps__list { display: grid; gap: 1.75rem; counter-reset: step; }
.steps__list li { counter-increment: step; display: flex; flex-direction: column; gap: .45rem; padding-top: 1rem; border-top: 1.5px solid var(--ink); }
.steps__list li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--blue); margin-bottom: .35rem; }
.steps__list p { color: var(--muted); }
@media (min-width: 760px) { .steps__list { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 1080px) { .steps__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Gallery ---------- */
.gal { background: var(--ink); color: #fff; }
.gal .sec__head p { color: #b9c3d1; }
.gal__strip { --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2)); display: flex; gap: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding: 0 var(--edge) 1rem; scroll-padding: 0 var(--edge); scrollbar-color: #4a5568 transparent; }
.gal__strip::after { content: ""; flex: 0 0 1px; }
.gal__strip:focus-visible { outline-offset: -3px; }
.gal__item { flex: 0 0 auto; width: min(70vw, 340px); scroll-snap-align: start; }
.gal__item img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r-md); background: #2a3444; }

/* ---------- Reviews ---------- */
.rev__list { display: grid; gap: 1.25rem; }
.rev__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .75rem; }
.rev__stars { color: #e0a100; letter-spacing: .12em; }
.rev__text p { font-size: 1.02rem; }
.rev__who { font-weight: 600; margin-top: auto; }
.rev__who span { font-weight: 400; color: var(--muted); }
@media (min-width: 760px) { .rev__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rev__list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: transform .2s; }
.faq__item[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat; }
.faq__item summary:hover { color: var(--blue); }
.faq__a { padding: 0 2.75rem 1.25rem 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--blue-soft); }
.contact__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact__direct { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.contact__lead { color: var(--muted); max-width: 46ch; }
.contact__phone { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); color: var(--blue); text-decoration: none; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.contact__phone:hover { color: var(--blue-deep); }
.contact__list { display: flex; flex-direction: column; gap: .75rem; }
.contact__list li { display: flex; align-items: center; gap: .7rem; }
.contact__list .ico { color: var(--blue); }
.contact__list a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.contact__list a:hover { color: var(--blue); text-decoration-color: currentColor; }

.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(15, 47, 138, .45); }
.form__h { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.form__sub { color: var(--muted); margin-top: -.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: .75rem .9rem; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--white); font-size: 1.0625rem; line-height: 1.4; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 70, 196, .2); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__err { color: var(--red); font-size: .92rem; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__note a { color: inherit; }
.form__msg { font-weight: 600; min-height: 0; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: var(--green); background: var(--green-soft); padding: .8rem 1rem; border-radius: 10px; }
.form__msg.is-err { color: var(--red); background: #fbe9e5; padding: .8rem 1rem; border-radius: 10px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner pages ---------- */
.crumbs { padding-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

.phero { padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem); }
.phero--plain { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.phero__grid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.phero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.phero h1 { max-width: 20ch; }
.phero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem); color: var(--muted); max-width: 58ch; margin-top: 1rem; }
.phero__copy .phero__lead { margin-top: 0; }
.phero__price { font-size: 1.02rem; color: var(--muted); }
.phero__price b { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-right: .35rem; }
.phero__media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 960px) { .phero__grid { grid-template-columns: 1.1fr .9fr; } }

.split { display: grid; gap: 2rem; }
.split__aside h2 { margin-bottom: 1.25rem; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.6fr; gap: 4rem; }
  .split__aside { position: sticky; top: calc(var(--hdr) + 1.5rem); align-self: start; }
}

.prose { max-width: 68ch; }
.prose h1 { margin-bottom: 1.5rem; }
.prose h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: .9rem; }
.prose ul { margin: .75rem 0; display: flex; flex-direction: column; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; }
.prose a { color: var(--blue); }

.photos { display: grid; gap: 1rem; }
.photos__item img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 760px) { .photos { grid-template-columns: repeat(2, 1fr); } .photos__item img { height: 420px; } }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1.75rem; }
.calc__intro { display: flex; flex-direction: column; gap: .6rem; }
.calc__intro p { color: var(--muted); }
.calc__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.calc__mode { border: 0; padding: 4px; margin: 0; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: var(--r-md); }
.calc__mode label { position: relative; cursor: pointer; }
.calc__mode input { position: absolute; opacity: 0; top: 0; left: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.calc__mode span { display: block; text-align: center; padding: .7rem 1rem; border-radius: 9px; font-weight: 600; }
.calc__mode input:checked + span { background: var(--white); box-shadow: 0 1px 3px rgba(23, 32, 46, .18); }
.calc__mode input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
.calc__row { display: grid; grid-template-columns: 1fr 8.5rem; align-items: center; gap: 1rem; }
.calc__row label { font-weight: 600; }
.calc__row input { min-height: 52px; padding: .6rem .8rem; border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: 1.15rem; font-variant-numeric: tabular-nums; text-align: center; width: 100%; }
.calc__row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 70, 196, .2); }
.calc__out { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1.5px solid var(--ink); padding-top: 1rem; }
.calc__out b { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__note { color: var(--muted); font-size: .92rem; }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 4rem; } }

.examples { border-top: 1.5px solid var(--ink); }
.examples li { display: grid; gap: .2rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr auto; }
.examples__what { font-weight: 600; }
.examples__how { color: var(--muted); grid-column: 1; }
.examples__sum { font-family: var(--display); font-weight: 700; font-size: 1.2rem; grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
@media (min-width: 760px) {
  .examples li { grid-template-columns: 1.2fr 1fr auto; align-items: baseline; }
  .examples__how { grid-column: 2; }
  .examples__sum { grid-column: 3; grid-row: 1; }
}

.thanks { min-height: 40vh; }
.thanks .cta { margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #c9d2df; padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .97rem; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__grid { display: grid; gap: 2.25rem; }
.ftr__about p { margin-top: 1rem; max-width: 40ch; }
.logo--ftr .logo__t small { color: #9aa5b4; }
.ftr__h { color: #fff; font-weight: 600; margin-bottom: .75rem; }
.ftr__links { display: flex; flex-direction: column; gap: .5rem; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #2c3748; font-size: .88rem; color: #9aa5b4; }

.ftr__bottom a { color: #9aa5b4; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Mobile contact bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-auto-flow: column; grid-template-columns: 1.6fr; grid-auto-columns: 1fr; gap: .5rem; padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(23, 32, 46, .35); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: var(--r-md); text-decoration: none; font-weight: 600; font-size: .95rem; }
.mbar__call { background: var(--yellow); }
.mbar__msg { background: var(--paper); border: 1.5px solid var(--line); }
@media (max-width: 959px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .mbar { display: none; } }
@media (max-width: 359px) { .mbar__msg span { display: none; } }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .hdr, .mbar, .fit, .form, .gal { display: none !important; }
  body { background: #fff; padding: 0; }
}
