@font-face {
  font-family: "YS Text";
  src: url("../fonts/text-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Text";
  src: url("../fonts/text-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Text";
  src: url("../fonts/text-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YS Text";
  src: url("../fonts/text-heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-theme="red"] {
  --accent: #971637;
  --accent-hover: #7c122d;
  --accent-text: #fff;
  --mark-text: #fff;
  --ink: #111;
  --text: #1c1c1c;
  --muted: #6a6a6a;
  --hint: #8b8b8b;
  --line: rgba(151, 22, 55, 0.08);
  --line-strong: rgba(151, 22, 55, 0.14);
  --bg: #f4f0f1;
  --bg-2: #fff;
  --bg-3: #ebe4e6;
  --bg-warm: #f7eef1;
  --blue: #971637;
  --blue-hover: #7c122d;
  --radius: 16px;
  --radius-l: 28px;
  --header: 64px;
  --wrap: 1200px;
  --font: "YS Text", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 12px 40px rgba(151, 22, 55, 0.08);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
  color: #fff;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.crumbs a {
  color: inherit;
}
.crumbs span[aria-hidden] {
  opacity: 0.45;
}

.spec {
  width: 100%;
  border-collapse: collapse;
}
.spec th,
.spec td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.4;
}
.spec th {
  width: 36%;
  padding-right: 24px;
  font-weight: 400;
  color: var(--muted);
}
.spec td {
  font-weight: 500;
  color: var(--ink);
}
.spec-line {
  display: block;
}
.spec-line + .spec-line {
  margin-top: 8px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.timeline li {
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.timeline span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.timeline h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.timeline p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.article {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 40px;
  align-items: center;
}
.about-row .article {
  display: block;
}
.page .about-row {
  margin-top: 8px;
  align-items: start;
}
.page .article h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.page .o-nas-office {
  margin-top: 56px;
  align-items: start;
  gap: 40px;
}
.o-nas-office .section__head {
  max-width: none;
  margin-bottom: 0;
}
.o-nas-office .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  align-items: stretch;
}
.o-nas-office .fact {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 18px 16px 16px;
  box-sizing: border-box;
}
.o-nas-office .fact b {
  font-size: 20px;
  line-height: 1.2;
}
.o-nas-office .fact span {
  margin-top: 6px;
  min-height: 2.6em;
  line-height: 1.3;
}
.fact a {
  color: var(--accent);
}
.article h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.article p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
.article p + p {
  margin-top: 14px;
}

.o-nas-office {
  margin-top: 64px;
}
.office {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.office .facts {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.office .fact {
  border-top: 0;
  padding-top: 0;
}
.office img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-l);
  background: var(--bg-2);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.office.is-in img {
  transform: scale(1);
}
.motion .office:not(.is-in) img {
  transform: scale(1.04);
}
.office figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.timeline.shots li {
  padding-top: 0;
  border-top: 0;
}
.timeline.shots img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--bg-2);
}
.team {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
}
.team img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-l);
  background: var(--bg-2);
}
.team figcaption,
.car-photo figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.car-photo {
  margin: 0;
}
.car-photo img {
  width: 100%;
  height: auto;
  max-width: 556px;
  margin: 0 auto;
}
.page-photo {
  margin: 0 0 28px;
}
.page-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: var(--bg-2);
  border-radius: var(--radius-l);
}

/* Disclaimer bar — required for Direct */
.disclaimer {
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 0;
  border-bottom: 0;
}
.disclaimer strong {
  color: var(--ink);
  font-weight: 500;
}
.disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  padding: 8px 0;
}
.promo__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.promo p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo b {
  font-weight: 700;
}
.promo span {
  font-weight: 400;
  font-size: 13px;
  opacity: 0.95;
}
.promo a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo a:hover {
  color: #fff;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header);
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
  overflow: visible;
}
.header.is-stuck {
  border-bottom-color: var(--line-strong);
}
.header__in {
  position: relative;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover {
  text-decoration: none;
  color: var(--ink);
}
.logo img {
  display: block;
  height: 36px;
  width: auto;
}
.logo--mark img {
  width: 40px;
  height: 40px;
}
.nav {
  display: none;
  grid-template-columns: 1fr 1fr minmax(180px, 0.9fr);
  align-content: start;
  gap: 4px 32px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px 24px 24px;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
  border: 1px solid rgba(17, 17, 17, 0.06);
  z-index: 70;
  overflow: auto;
  max-height: min(70vh, calc(100svh - var(--header) - 16px));
}
.nav.is-open {
  display: grid;
}
.nav a {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 0;
  line-height: 1.3;
}
.nav a:hover {
  color: #000;
  text-decoration: none;
}
.nav a[aria-current="page"] {
  color: var(--accent);
}
.header__cab,
.nav__cab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  flex-shrink: 0;
  box-sizing: border-box;
}
.header__cab:hover,
.nav__cab:hover {
  background: transparent;
  color: #000;
  text-decoration: none;
}
.header__cab svg,
.nav__cab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.nav__cab {
  display: inline-flex;
  align-self: auto;
  height: auto;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  gap: 0;
}
.nav__cab:hover {
  background: transparent;
  color: var(--accent);
}
.nav__cab svg {
  display: none;
}
.header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  z-index: 2;
}
.header__phone,
.header__hours,
.header__right > .btn {
  display: none;
}
.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.header__phone {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header__phone:hover {
  color: var(--ink);
  text-decoration: none;
}
.header__hours {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  white-space: normal;
  max-width: 12em;
  text-align: right;
  line-height: 1.25;
}
.nav-toggle {
  display: none;
}
.nav-toggle em {
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: #000;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 8px;
  min-width: 0;
}
.header-nav a,
.header-more {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
}
.header-nav a:hover,
.header-more:hover {
  color: #000;
  text-decoration: none;
}
.header-nav a[aria-current="page"] {
  color: #000;
}
.header-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111;
  font-size: 15px;
  font-weight: 500;
}
.header-more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.header-more:hover {
  background: #ececec;
  color: #111;
  text-decoration: none;
}
.header-more[aria-expanded="true"] {
  background: #f4e6ea;
  color: var(--accent);
}
.header-more[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn--y {
  background: var(--accent);
  color: #fff;
}
a.btn.btn--y,
a.btn.btn--y:visited,
a.btn.btn--y:hover {
  color: #fff;
}
.btn--y:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn--ghost {
  background: var(--bg-2);
  color: #000;
}
.btn--ghost:hover {
  background: #ececec;
  color: #000;
}
.btn--lg {
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 48px 0 72px;
}
.home .hero {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: 36px 0 48px;
  overflow: visible;
}
.home .hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px 72px;
  width: min(calc(100% - 48px), 1080px);
}
.home .hero__intro {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  overflow: visible;
  padding-left: 0;
}
.home .hero h1 {
  max-width: none;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  overflow: visible;
  padding-left: 0.12em;
  text-indent: 0;
  margin-left: -0.12em;
}
.home .hero__lead {
  margin-top: 16px;
  max-width: none;
  font-size: 18px;
  line-height: 1.4;
  padding-left: 0.12em;
  margin-left: -0.12em;
}
.home .card--calc {
  flex: 0 1 400px;
  width: 100%;
  max-width: 400px;
  padding: 28px;
  transform: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px 56px;
  align-items: start;
}
.hero__left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.hero__grid .hero-offers {
  max-width: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 12ch;
}
.hero__lead {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 36ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-offers {
  margin-top: 22px;
  max-width: 520px;
  width: 100%;
  min-width: 0;
}
.hero-offers__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-offers__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.45s ease;
}
.hero-offers__slide.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-offers__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-offers__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(88, 12, 28, 0.88));
  color: #fff;
}
.hero-offers__slide span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
}
.hero-offers__slide p {
  margin: 6px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.hero-offers__dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.hero-offers__dots button {
  flex: 1;
  max-width: 44px;
  height: 3px;
  border: 0;
  border-radius: 99px;
  background: var(--line-strong);
  padding: 0;
  cursor: pointer;
}
.hero-offers__dots button.is-on {
  background: var(--accent);
}
.hero-offers__dots button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.fact {
  padding: 18px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fact b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}
.fact span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* Cards */
.card {
  background: #fff;
  border: 0;
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card--calc {
  position: relative;
  z-index: 1;
  padding: 32px;
  scroll-margin-top: calc(var(--header) + 16px);
}
.card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.card__hint {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.seg button {
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg button.is-active {
  background: #fff;
  color: #000;
}

.psk {
  background: var(--bg);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.psk__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}
.psk__value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #000;
}
.psk__rate {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.range {
  margin-bottom: 18px;
}
.range__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.range__row span {
  font-size: 13px;
  color: var(--muted);
}
.range__row b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.range__slider {
  --pct: 0%;
  position: relative;
  height: 44px;
}
.range__slider::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  border-radius: 99px;
  background: linear-gradient(
    to right,
    var(--accent) 0,
    var(--accent) var(--pct),
    #e4dce0 var(--pct),
    #e4dce0 100%
  );
  pointer-events: none;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(151, 22, 55, 0.22);
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: transparent;
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  background: transparent;
  border: 0;
}
input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(151, 22, 55, 0.22);
}

.calc-out {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 8px 0 20px;
}
.calc-out div {
  background: var(--bg);
  border-radius: 20px;
  padding: 16px 18px;
}
.range__scale {
  display: flex;
  justify-content: space-between;
  margin-top: -6px;
  font-size: 12px;
  color: var(--hint);
}
.calc-out span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.calc-out b {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.calc-out b.is-tick {
  animation: tick 0.28s ease;
}
@keyframes tick {
  from {
    opacity: 0.45;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fine {
  margin-top: 12px;
  font-size: 12px;
  color: var(--hint);
  line-height: 1.4;
}
.calc-refi {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}
.calc-refi a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.calc-lead {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.calc-lead__step {
  display: grid;
  gap: 12px;
}
.calc-lead__step[hidden] {
  display: none;
}
.card--calc .field input {
  background: var(--bg-2);
}

/* Sections */
.section {
  padding: 88px 0;
}
.section--alt {
  background: #fff;
}
.section__head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section__head h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.section__head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}
.section--alt .step {
  border: 0;
}
.section:not(.section--alt) .step {
  border: 1px solid var(--line);
}
.step__n {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 14px;
}

.svc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.svc--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
a.tile {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.tile:hover {
  text-decoration: none;
  color: inherit;
  border-color: var(--accent);
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 32px;
}
.tile {
  background: #fff;
  border: 0;
  border-radius: var(--radius-l);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.section--alt .tile {
  border: 0;
}
.tile h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.tile p,
.tile li {
  color: var(--muted);
  font-size: 14px;
}
.tile ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.tile li + li {
  margin-top: 6px;
}

.photo-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 280px;
  background: #ddd center/cover no-repeat;
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.trust article {
  background: #fff;
  border: 0;
  border-radius: var(--radius-l);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.trust b {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}
.trust p {
  color: var(--muted);
  font-size: 14px;
}

/* Form */
.lead {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.form {
  display: grid;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  color: var(--muted);
}
.field input,
.field select {
  height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--bg-2);
  padding: 0 14px;
  font-size: 16px;
  color: #000;
  outline: none;
}
.field input:focus,
.field select:focus {
  background: #fff;
  border-color: #000;
}
.field input.is-invalid {
  border-color: #d00;
  background: #fff;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.check input {
  margin-top: 3px;
  accent-color: #000;
}
.success.is-err {
  background: #fdeeee;
  color: var(--accent);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lead-modal.is-open {
  display: flex;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}
.lead-modal__box {
  position: relative;
  width: min(100%, 420px);
  background: #fff;
  border-radius: var(--radius-l);
  padding: 28px 24px 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.lead-modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.lead-modal__box h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.lead-modal__box > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.lead-modal form {
  display: grid;
  gap: 12px;
}
body.lead-open {
  overflow: hidden;
}

/* FAQ */
.faq {
  border-top: 0;
  display: grid;
  gap: 10px;
}
.faq__item {
  border-bottom: 0;
  background: #fff;
  border-radius: var(--radius-l);
  padding: 0 8px 0 20px;
  box-shadow: var(--shadow);
}
.faq__item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 36px 20px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  position: relative;
  color: #000;
}
.faq__item button::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__item.is-open button::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
}
.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}
.faq__inner {
  overflow: hidden;
  min-height: 0;
  padding-right: 8px;
}
.faq__item.is-open .faq__inner {
  padding-bottom: 20px;
}
.faq__inner p {
  margin: 0 0 10px;
}
.faq__inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq__inner li {
  position: relative;
  margin-top: 6px;
  padding-left: 1.15em;
}
.faq__inner li::before {
  content: "—";
  position: absolute;
  left: 0;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.reviews-line {
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
}
.reviews-wait {
  color: var(--muted);
  font-size: 15px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.review-card {
  background: var(--bg);
  border: 0;
  border-radius: var(--radius-l);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  box-shadow: none;
}
.review-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}
.review-card header b {
  font-size: 16px;
}
.review-card__src {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.review-card__stars {
  margin-left: auto;
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 13px;
}
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.page .review-card {
  background: #fff;
  box-shadow: var(--shadow);
}
.page .reviews-grid {
  margin-top: 16px;
}
.reviews-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 28px;
}
.reviews-panel {
  --reviews-blue: #3d7cfe;
  --reviews-blue-soft: #eef4ff;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 780px;
}
.reviews-panel h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  flex-shrink: 0;
}
.reviews-panel iframe {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
}
.reviews-panel__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.reviews-org {
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.reviews-org__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.reviews-org__title strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.reviews-org__title span {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.reviews-org__rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-top: 10px;
}
.reviews-org__rate b {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.reviews-org__stars {
  color: #f5b301;
  letter-spacing: 2px;
  font-size: 16px;
}
.reviews-org__rate p {
  margin: 0;
  width: 100%;
  font-size: 13px;
  color: var(--muted);
}
.reviews-org__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.reviews-org__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f3f5f7;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.reviews-org__btn:hover {
  background: #e8eaed;
  color: #1a1a1a;
  text-decoration: none;
}
.reviews-org__btn--main,
.reviews-org__btn--main:visited {
  background: var(--reviews-blue);
  color: #fff;
}
.reviews-org__btn--main:hover {
  background: #2f6ef0;
  color: #fff;
}
.reviews-feed {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}
.reviews-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 18px 0 10px;
}
.reviews-more,
.reviews-more:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--reviews-blue-soft);
  color: var(--reviews-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.reviews-more:hover {
  background: #e3edff;
  color: var(--reviews-blue);
  text-decoration: none;
}
.reviews-feed .review-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  flex: none;
  min-height: auto;
  height: auto;
  padding: 16px 4px 18px;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.reviews-feed .review-card:last-child {
  border-bottom: 0;
}
.review-card__who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-card__ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--reviews-blue-soft);
  color: var(--reviews-blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card__who div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-card__who b {
  font-size: 15px;
  font-weight: 700;
}
.review-card__who time {
  font-size: 12px;
  color: var(--muted);
}
.reviews-feed .review-card__stars {
  margin-left: 0;
  color: #f5b301;
  font-size: 14px;
  letter-spacing: 2px;
}
.reviews-feed .review-card p {
  font-size: 15px;
  line-height: 1.45;
}
.biz-block {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding: 8px 0;
}
.biz-block h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  margin: 8px 0 12px;
}
.biz-block__list {
  margin: 0;
  padding: 24px;
  list-style: none;
  background: var(--bg-2);
  border-radius: var(--radius-l);
}
.biz-block__list li + li {
  margin-top: 12px;
}
.office-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.office-photos figure {
  margin: 0;
}
.office-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}
.office-photos figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.map {
  border: 0;
  border-radius: var(--radius-l);
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: var(--bg-2);
}
.contact-list {
  display: grid;
  gap: 18px;
}
.contact-list h3 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 4px;
}
.contact-list a,
.contact-list p {
  font-size: 18px;
  color: #000;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-list a:hover {
  text-decoration: none;
}
.contact-list .social {
  margin-top: 4px;
}
.page .contacts {
  margin-top: 28px;
  align-items: stretch;
}
.page .map {
  min-height: 480px;
}

/* Footer */
.footer {
  background: #000;
  color: #c8c8c8;
  padding: 40px 0 28px;
  font-size: 13px;
  line-height: 1.5;
}
.footer a {
  color: #fff;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__top p {
  margin-top: 16px;
  color: #8d8d8d;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  width: fit-content;
}
.footer-brand:hover {
  color: #fff;
  text-decoration: none;
}
.footer-brand__mark {
  width: 56px;
  height: 56px;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer-brand__mark img {
  width: 52px;
  height: 52px;
  display: block;
}
.footer-brand__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-policy {
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: #9a90a4 !important;
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-policy:hover {
  color: #fff !important;
}
.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.social a {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  line-height: 0;
}
.social a:hover {
  text-decoration: none;
  opacity: 0.8;
}
.social img {
  width: 32px;
  height: 32px;
  display: block;
}
.footer .social img {
  filter: brightness(0) invert(1);
}
.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li + li {
  margin-top: 8px;
}
.footer__legal {
  margin-top: 24px;
  color: #8d8d8d;
  font-size: 12px;
}
.footer__legal p + p {
  margin-top: 8px;
}
.plus18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}
.footer .plus18 {
  color: #fff;
  border-color: #8d8d8d;
}

.mobile-bar {
  display: none;
}
.nav__extra {
  display: grid;
  gap: 10px;
  grid-column: 3;
  grid-row: 1 / span 10;
  margin: 0;
  padding: 4px 0 0 24px;
  border-top: 0;
  border-left: 1px solid var(--line);
  align-content: start;
}
.nav__extra a {
  font-size: 16px;
  font-weight: 400;
  padding: 6px 0;
}
.nav__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.nav__social a {
  padding: 0;
  line-height: 0;
}
.nav__social img {
  width: 28px;
  height: 28px;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.28);
  z-index: 70;
}
body.nav-open .nav-backdrop {
  display: block;
}

.page {
  padding: 40px 0 72px;
}
.page .card--calc {
  max-width: 480px;
  margin-top: 20px;
}
.page h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.page .lead-text {
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 32px;
}
.prose {
  max-width: 78ch;
}
.prose h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 32px 0 10px;
}
.prose h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}
.prose p,
.prose li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.prose p + p {
  margin-top: 10px;
}
.prose ul {
  padding-left: 18px;
}
.prose .psk-block {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.prose .psk-block strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.docs {
  display: grid;
  gap: 8px;
}
.doc-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-2);
  border-radius: 12px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
.doc-link:hover {
  background: #ececec;
  text-decoration: none;
  color: #000;
}
.doc-link span {
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 960px) {
  .hero__grid,
  .lead,
  .contacts,
  .footer__top,
  .grid-2,
  .svc,
  .article,
  .about-row,
  .office,
  .biz-block,
  .office-photos,
  .reviews-board,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .reviews-panel {
    height: 680px;
  }
  .svc--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
  }
  .steps,
  .trust,
  .facts,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .o-nas-office .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .header__phone,
  .header__right > .btn {
    display: none;
  }
  .header-nav {
    gap: 18px;
    margin-left: 0;
  }
  .header-nav a,
  .header-more {
    font-size: 15px;
  }
  .header__hours {
    font-size: 10px;
    max-width: 8em;
    margin-top: 0;
    line-height: 1.2;
  }
  .header__in {
    gap: 12px;
    padding-right: env(safe-area-inset-right);
    overflow: visible;
  }
  .header-nav {
    margin-left: auto;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
  }
  .header-nav a {
    display: inline;
    font-size: 13px;
  }
  .header-nav a[href="kontakty.html"] {
    display: none;
  }
  .header-more {
    height: 32px;
    padding: 0 12px 0 14px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .header__right {
    gap: 4px;
    margin-left: 10px;
  }
  .header__cab {
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 0;
    justify-content: center;
    border-radius: 0;
  }
  .header__cab-text {
    display: none;
  }
  .header__cab svg {
    width: 22px;
    height: 22px;
  }
  .nav__cab {
    display: inline-flex;
    align-self: auto;
    height: auto;
    margin: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    gap: 0;
  }
  .nav__cab:hover {
    background: transparent;
    color: var(--ink);
  }
  .nav__cab svg {
    display: none;
  }
  .nav {
    position: fixed;
    grid-template-columns: 1fr 1fr;
    left: 12px;
    right: 12px;
    top: var(--header);
    z-index: 90;
    padding: 16px 18px 20px;
  }
  .nav a {
    font-size: 16px;
    font-weight: 400;
  }
  .nav-toggle {
    display: none;
  }
  .nav__extra {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 8px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .nav__extra a {
    font-size: 16px;
    font-weight: 400;
  }
  .nav__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav__social a {
    line-height: 0;
  }
  .nav__social img {
    width: 32px;
    height: 32px;
  }
  .logo {
    max-width: calc(100% - 104px);
  }
  .logo img {
    height: 36px;
    max-width: 100%;
  }
  .map {
    min-height: 280px;
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 60;
    box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.06);
  }
  .mobile-bar .btn {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 999px;
  }
  .mobile-bar .btn--ghost {
    background: #f3f3f3;
    color: #111;
  }
  body:has(.mobile-bar) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body.lead-open .mobile-bar {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }
  .steps,
  .trust,
  .facts,
  .calc-out,
  .timeline,
  .svc--2 {
    grid-template-columns: 1fr;
  }
  .o-nas-office .facts {
    grid-template-columns: 1fr;
  }
  .o-nas-office .fact span {
    min-height: 0;
  }
  .office img,
  .office-photos img {
    min-height: 220px;
    height: 240px;
  }
  .team,
  .timeline.shots {
    grid-template-columns: 1fr;
  }
  .team img {
    height: 320px;
  }
  .spec th,
  .spec td {
    display: block;
    width: 100%;
    padding-right: 0;
  }
  .spec th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  .spec td {
    padding-top: 0;
  }
  .hero {
    padding: 20px 0 32px;
  }
  .hero h1 {
    font-size: clamp(28px, 8.4vw, 40px);
    max-width: none;
  }
  .hero__lead {
    font-size: 16px;
    max-width: none;
  }
  .hero-offers {
    max-width: none;
  }
  .hero-offers__slide figcaption {
    padding: 32px 16px 14px;
  }
  .hero-offers__slide p {
    font-size: 18px;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    height: auto;
    min-height: 52px;
    padding: 12px 16px;
    line-height: 1.25;
  }
  .section {
    padding: 40px 0;
  }
  .section__head h2,
  .page h1 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .page {
    padding: 28px 0 56px;
  }
  .page .lead-text {
    font-size: 16px;
  }
  .card--calc {
    padding: 16px;
  }
  .psk {
    padding: 12px 14px;
  }
  .psk__value {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
  .seg button {
    font-size: 13px;
    padding: 0 8px;
  }
  .logo img {
    height: 32px;
  }
  .disclaimer {
    font-size: 12px;
    padding: 8px 0;
  }
  .promo {
    font-size: 13px;
    padding: 7px 0;
  }
  .promo__in {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 12px;
  }
  .footer {
    padding: 28px 0 24px;
  }
  .footer__legal {
    overflow-wrap: anywhere;
  }
  .field input,
  .field select,
  .auth__field input {
    font-size: 16px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bar-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

.seg button {
  transition: background 0.2s ease, color 0.2s ease;
}
.timeline li {
  transition: border-color 0.35s ease;
}
.timeline li.is-in {
  border-top-color: var(--accent);
}

body.home .hero {
  min-height: 0;
  display: block;
  padding: 32px 0 12px;
  overflow: visible;
}
body.home .hero .hero__grid.wrap {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px 32px;
  width: min(calc(100% - 40px), 1160px);
}
body.home .hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  padding: 0;
  margin: 0;
  max-width: none;
}
body.home .hero .hero__lead {
  overflow: visible;
  padding: 0;
  margin: 10px 0 20px;
  font-size: 16px;
  line-height: 1.4;
  max-width: none;
}
body.home .card--calc {
  max-width: none;
  flex: none;
  width: auto;
  height: 100%;
  padding: 28px 24px 22px;
}
body.home .card--calc .range--sum .range__row {
  align-items: baseline;
}
body.home .card--calc .range--sum .range__row span {
  font-size: 14px;
  color: var(--muted);
}
body.home .card--calc .range--sum .range__row b {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
body.home .ca-terms {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}
body.home .ca-term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
body.home .ca-term span {
  font-size: 15px;
  color: var(--muted);
}
body.home .ca-term b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.home .ca-term.is-active {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--accent);
}
body.home .ca-term.is-active span,
body.home .ca-term.is-active b {
  color: var(--ink);
}
body.home .hero__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 100%;
}
body.home .hero__car {
  display: block;
  width: 100%;
  flex: 1.6 1 340px;
  min-height: 340px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 28px;
  background: #f3f3f3;
}
body.home .hero-plus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  flex: 0 0 auto;
}
body.home .hero-plus article {
  background: #fff;
  border-radius: 20px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
body.home .hero-plus h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  color: var(--ink);
}
body.home .hero-plus p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.ca-checks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ca-checks li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.4;
}
.ca-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.ca-terms {
  display: grid;
  gap: 8px;
  margin: 4px 0 18px;
}
.ca-term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.ca-term span {
  font-size: 15px;
  color: var(--muted);
}
.ca-term b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ca-term.is-active {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.ca-term.is-active span,
.ca-term.is-active b {
  color: var(--ink);
}
.ca-stats {
  padding: 28px 0 48px;
}
.ca-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ca-stats__grid div {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.ca-stats__grid b {
  display: block;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--ink);
}
.ca-stats__grid span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.4;
}
.ca-block {
  padding: 12px 0 56px;
}
.ca-block--alt {
  background: #fff;
  padding: 56px 0;
}
.ca-block h2 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.ca-plus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ca-plus article {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.ca-block--alt .ca-plus article,
.ca-block--alt .ca-steps li {
  background: var(--bg);
  box-shadow: none;
}
.ca-plus h3,
.ca-steps h3 {
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ca-plus p,
.ca-steps p,
.ca-note {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.ca-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ca-steps li {
  background: var(--bg);
  border-radius: 20px;
  padding: 12px 12px 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ca-steps img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #fff;
}
.ca-steps h3 {
  padding: 0 6px;
}
.ca-steps p {
  padding: 0 6px;
}
.ca-photo {
  width: min(100%, 560px);
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 0 16px;
  background: #fff;
}
.ca-note {
  max-width: 52em;
  margin-bottom: 12px;
}
.home .footer.ca-foot {
  background: #111;
  color: #c8c8c8;
  padding: 28px 0;
}
.home .footer.ca-foot a {
  color: #fff;
}
@media (max-width: 960px) {
  body.home .hero .hero__grid.wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  body.home .card--calc {
    order: 0;
    position: relative;
    z-index: 2;
    height: auto;
  }
  body.home .hero__visual {
    order: 1;
    min-height: 0;
  }
  body.home .hero__car {
    flex: none;
    min-height: 260px;
    height: 280px;
  }
  .ca-stats__grid,
  .ca-plus,
  .ca-steps,
  body.home .hero-plus {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .ca-stats__grid,
  .ca-plus,
  .ca-steps,
  body.home .hero-plus {
    grid-template-columns: 1fr;
  }
}
