/* КонтрактКПП — warm stone / steel / brass design system */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f4f2ed;
  --bg-soft: #ebe8e1;
  --bg-card: #faf9f6;
  --ink: #15191e;
  --ink-soft: #3a4249;
  --ink-muted: #6b737c;
  --steel: #2a5a74;
  --steel-light: #3d7391;
  --steel-soft: rgba(42, 90, 116, 0.12);
  --brass: #b08d57;
  --brass-soft: rgba(176, 141, 87, 0.18);
  --line: rgba(21, 25, 30, 0.1);
  --line-strong: rgba(21, 25, 30, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(21, 25, 30, 0.08);
  --shadow-lg: 0 28px 64px rgba(21, 25, 30, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --wrap: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 600px at 88% 8%, rgba(42, 90, 116, 0.09), transparent 62%),
    radial-gradient(ellipse 700px 500px at 4% 92%, rgba(176, 141, 87, 0.1), transparent 58%),
    radial-gradient(ellipse 500px 400px at 50% 40%, rgba(235, 232, 225, 0.65), transparent 70%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

section {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* ─── Typography ─── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow--light::before {
  background: rgba(255, 255, 255, 0.45);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h2 em {
  font-style: italic;
  color: var(--steel);
}

.h2--light {
  color: var(--white);
}

.h2--light em {
  color: var(--brass);
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.65;
}

.lead--light {
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn-primary {
  background: var(--steel);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(42, 90, 116, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--steel-light);
  box-shadow: 0 14px 28px rgba(42, 90, 116, 0.32);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  transform: translateY(-2px);
  background: #222830;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--steel);
  color: var(--steel);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  transform: translateY(-2px);
}

/* ─── Nav ─── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}

.nav.stuck {
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__in {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--steel), #1e4458);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-name em {
  font-style: italic;
  color: var(--steel);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--steel);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line, rgba(21, 25, 30, 0.14));
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink, #15191e);
  position: relative;
}

.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink, #15191e);
}

.nav__burger span::before {
  top: -6px;
}

.nav__burger span::after {
  top: 6px;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__phone a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav__phone a:hover {
  color: var(--steel);
}

/* ─── Hero ─── */

.hero {
  padding: calc(var(--nav-h) + 48px) 0 72px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--steel-soft);
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--steel);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero__bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  list-style: none;
}

.hero__bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero__badge {
  position: absolute;
  top: -14px;
  right: -10px;
  z-index: 2;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  animation: rise 0.8s var(--ease) both;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: var(--brass);
}

/* ─── Stats ─── */

.stats {
  padding: 72px 0 88px;
}

.stats__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.7s var(--ease) both;
}

.stat:nth-child(2) { animation-delay: 0.06s; }
.stat:nth-child(3) { animation-delay: 0.12s; }
.stat:nth-child(4) { animation-delay: 0.18s; }

.stat__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat__num em {
  font-style: normal;
  color: var(--steel);
}

.stat__lbl {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ─── Marquee ─── */

.marquee {
  padding: 18px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee__inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.marquee__label {
  flex-shrink: 0;
  padding: 10px 24px;
  background: var(--steel);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  padding-inline: 24px;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.marquee__sep {
  opacity: 0.35;
  font-size: 0.85rem;
}

/* ─── Split layout ─── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.shot {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.shot__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(21, 25, 30, 0.82));
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.shot__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.92);
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── About rules ─── */

.about {
  padding: 96px 0;
}

.about-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-rules__item {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.about-rules__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.about-rules__item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─── List (why us) ─── */

.list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.list__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.list__row:last-child {
  border-bottom: none;
}

.list__n {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--steel-soft);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.list__row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.list__row p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─── Catalog ─── */

.cats {
  padding: 96px 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 420px at 100% 0%, rgba(42, 90, 116, 0.28), transparent 65%);
  pointer-events: none;
}

.cats__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
  position: relative;
}

.cats__meta {
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.cats__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}

.cat {
  background: var(--bg-card);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.cat:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(21, 25, 30, 0.18);
}

.cat__img {
  aspect-ratio: 5 / 4;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.cat__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.cat__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--steel);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cat__tag--dark {
  background: var(--ink);
}

.cat__tag--brass {
  background: var(--brass);
}

.cat__body {
  padding: 20px;
}

.cat__brand {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

.cat__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cat__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.cat__specs dt {
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}

.cat__specs dd {
  font-weight: 700;
  margin-top: 2px;
}

.cat__price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
}

.cat__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 2px;
}

.cat__price-old {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.cats__foot {
  margin-top: 36px;
  text-align: center;
  position: relative;
}

.cats__foot p {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── Steps ─── */

.steps {
  padding: 96px 0;
}

.steps__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
  animation: rise 0.7s var(--ease) both;
}

.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }

.step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--steel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─── Trust / logistics sections ─── */

.section-pad {
  padding: 96px 0;
}

.section-pad--soft {
  background: var(--bg-soft);
}

.section-pad--dark {
  background: #1c2228;
  color: var(--white);
}

.trust-points {
  margin-top: 28px;
}

.trust-points .list__row {
  border-color: var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.trust-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.del-list {
  margin-top: 28px;
}

.del-list .list__row {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-color: rgba(255, 255, 255, 0.12);
}

.del-list .list__n {
  background: rgba(176, 141, 87, 0.18);
  color: var(--brass);
}

.del-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}

.shot--wide img {
  aspect-ratio: 5 / 4;
}

.shot__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(180deg, transparent, rgba(21, 25, 30, 0.85));
}

.shot__overlay-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
}

/* ─── Reviews ─── */

.reviews {
  padding: 96px 0;
}

.reviews__head {
  margin-bottom: 36px;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.review {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.review__stars {
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.review__text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review__author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.review__meta {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.yandex-box {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 12px;
  min-height: 180px;
}

.ya-embed {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  cursor: pointer;
}

.ya-embed:hover .ya-embed__open {
  color: var(--ink, #15191e);
}

.ya-embed__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 12px;
  font-size: 0.92rem;
}

.ya-embed__open {
  color: var(--steel, #2a5a74);
  font-weight: 700;
}

.ya-embed__frame {
  width: 100%;
  height: min(72vh, 820px);
  border: 0;
  border-radius: 14px;
  background: #f5f4f2;
  pointer-events: none;
}

.yandex-fallback {
  padding: 28px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.yandex-fallback[hidden] {
  display: none;
}

/* ─── FAQ ─── */

.faq {
  padding: 96px 0;
  background: var(--bg-soft);
}

.faq__list {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--steel);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 72ch;
}

/* ─── CTA ─── */

.cta {
  padding: 72px 0;
}

.cta__inner {
  padding: 56px 40px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, var(--ink) 0%, #243038 100%);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 80% 20%, rgba(42, 90, 116, 0.35), transparent 60%);
  pointer-events: none;
}

.cta__inner > * {
  position: relative;
}

.cta__inner .h2 {
  margin: 14px 0 16px;
}

.cta__inner .lead {
  margin-inline: auto;
  margin-bottom: 28px;
}

.cta__checks {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ─── Contacts ─── */

.contacts {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.contact-card__lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-card__info {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-card__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 6px;
}

.contact-card__phone:hover {
  color: var(--steel);
}

.contact-card__hours {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ─── Footer ─── */

.footer {
  padding: 36px 0 100px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
}

.footer__in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer .brand {
  color: var(--white);
}

.footer .brand-name em {
  color: var(--brass);
}

.footer__meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--brass);
}

.footer__link {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__link:hover {
  color: var(--brass);
}

/* ─── Float button ─── */

.float-w {
  position: fixed;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 200;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
}

.float-w.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border: none;
  border-radius: 999px;
  background: var(--steel);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(42, 90, 116, 0.38);
  max-width: calc(100vw - 44px);
  white-space: nowrap;
}

.float-btn:hover {
  transform: translateY(-2px);
  background: var(--steel-light);
}

.fb-tick {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── Quiz modal ─── */

.qbd {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  flex-direction: column;
  background: var(--white);
}

.qbd.open {
  display: flex;
}

@media (min-width: 680px) {
  .qbd {
    background: rgba(21, 25, 30, 0.72);
    backdrop-filter: blur(10px);
    padding: 32px;
  }

  .qbd.open {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.qsheet {
  background: var(--white);
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
}

@media (min-width: 680px) {
  .qsheet {
    max-width: 680px;
    flex: none;
    max-height: 90vh;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
}

.qs-top {
  padding: 20px 24px 0;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--white);
}

.qs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.qs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qs-brand .brand-mark {
  width: 34px;
  height: 34px;
}

.qs-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.qs-brand-name em {
  font-style: italic;
  color: var(--brass);
}

.qs-step {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.qs-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s;
}

.qs-close:hover {
  background: var(--steel);
  border-color: var(--steel);
}

.qs-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.qs-bar-fill {
  position: absolute;
  inset: 0;
  width: 14%;
  background: linear-gradient(90deg, var(--brass), var(--steel-light));
  transition: width 0.3s var(--ease);
}

.qs-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 24px 88px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.qs-body::-webkit-scrollbar {
  width: 4px;
}

.qs-body::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 2px;
}

.qsl {
  display: none;
  animation: slideIn 0.3s var(--ease);
}

.qsl.active {
  display: block;
}

.qsl.rev {
  animation: slideBack 0.3s var(--ease);
}

.qsl-q {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 10px;
  color: var(--ink);
}

.qsl-hint {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.55;
  background: var(--bg-soft);
  border-left: 3px solid var(--steel);
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qsl-hint strong {
  color: var(--ink);
}

.qopts,
.qchk-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qopt,
.qchk {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.qopt:hover,
.qchk:hover {
  border-color: var(--steel);
  background: var(--bg-soft);
}

.qopt.sel,
.qchk.sel {
  border-color: var(--steel);
  background: var(--steel-soft);
  box-shadow: inset 3px 0 0 var(--steel);
}

.qopt-mark,
.qchk-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--white);
  transition: all 0.15s;
}

.qopt.sel .qopt-mark,
.qchk.sel .qchk-box {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.qchk-em,
.qopt-em {
  display: none;
}

.qother-inp {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--steel);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  margin-top: 6px;
  display: none;
}

.qother-inp.show {
  display: block;
}

.qbudget,
.qinp {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.qbudget {
  margin-bottom: 8px;
}

.qbudget:focus,
.qinp:focus {
  border-color: var(--steel);
  background: var(--bg-soft);
}

.qmulti-note {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 10px;
}

.qcontact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qcm-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}

.qcm-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.qcm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  font-family: var(--font-body);
  transition: all 0.15s;
}

.qcm:hover {
  border-color: var(--steel);
  color: var(--ink);
}

.qcm.sel {
  border-color: var(--steel);
  background: var(--steel-soft);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--steel);
}

.qcm svg,
.qcm img {
  flex-shrink: 0;
}

.qsubmit {
  width: 100%;
  padding: 16px;
  margin-top: 6px;
  border: none;
  border-radius: 999px;
  background: var(--steel);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.qsubmit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--steel-light);
}

.qsubmit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.qprivacy {
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}

.qprivacy a {
  color: var(--steel);
}

.qty {
  display: none;
  text-align: center;
  padding: 28px 10px;
  animation: slideIn 0.4s var(--ease);
}

.qty.show {
  display: block;
}

.qty-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
}

.qty h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.qty p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: 10px;
}

.qty p strong {
  color: var(--ink);
}

.qty-accent {
  margin-top: 18px !important;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--brass);
  color: var(--ink) !important;
  font-weight: 700 !important;
  display: inline-block;
}

.qs-foot,
.qs-foot-note,
.qs-note {
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 0 24px 10px;
  line-height: 1.5;
}

.qs-foot-note a,
.qs-note a {
  color: var(--steel);
}

.qs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 24px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
}

.qback,
.qnext {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.15s;
}

.qback {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
}

.qback:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.qnext {
  background: var(--ink);
  color: var(--white);
}

.qnext:hover:not(:disabled) {
  background: #222830;
}

.qnext:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Animations ─── */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes slideBack {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: none; }
}

/* ─── Mobile ─── */

@media (max-width: 960px) {
  :root {
    --nav-h: 68px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: grid;
  }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line, rgba(21, 25, 30, 0.12));
    border-radius: 16px;
    padding: 1rem 1.1rem;
    gap: 0.85rem;
    box-shadow: 0 18px 40px rgba(21, 25, 30, 0.12);
    z-index: 40;
  }

  .nav__phone a {
    font-size: 0.82rem;
  }

  .nav__phone .btn {
    padding: 12px 16px;
    font-size: 0.78rem;
  }

  .hero__grid,
  .split,
  .stats__head,
  .stats__grid,
  .about-rules,
  .cats__grid,
  .steps__grid,
  .review-cards,
  .trust-grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .hero__bullets {
    grid-template-columns: 1fr;
  }

  .cats__head {
    grid-template-columns: 1fr;
  }

  .cats__meta {
    text-align: left;
  }

  .marquee__inner {
    flex-direction: column;
  }

  .marquee__label {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .del-list .list__row {
    grid-template-columns: auto 1fr;
  }

  .del-meta {
    grid-column: 2;
    padding-left: 0;
  }

  .cta__inner {
    padding: 40px 22px;
  }

  .qcm-btns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wrap,
  .nav__in {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .stats__grid {
    gap: 12px;
  }

  .footer__in {
    flex-direction: column;
    align-items: flex-start;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qfinal__title {
  text-transform: none;
  font-size: clamp(1.5rem, 4vw, 1.85rem) !important;
  margin-bottom: 0.45rem;
}

.qfinal__sub {
  color: var(--ink-2, var(--text-2));
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.qfinal__phone {
  font-size: 1.05rem;
  padding: 1rem 1.05rem;
  margin-bottom: 0.75rem;
}

.qfinal__or {
  margin: 1.15rem 0 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-2, var(--text-2));
  line-height: 1.45;
  text-align: center;
}

.qfinal__social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.qfinal__link {
  font-weight: 750;
  color: var(--steel, #2a5a74);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 90, 116, 0.25);
  background: rgba(42, 90, 116, 0.06);
  text-decoration: none;
}

.qfinal__link:hover {
  background: rgba(42, 90, 116, 0.12);
}

.qexpert {
  border: 1px solid var(--line, rgba(21, 25, 30, 0.12));
  border-radius: 16px;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.7);
}

.qexpert__top {
  font-size: 0.98rem;
  margin-bottom: 0.55rem;
}

.qexpert__top strong {
  font-weight: 800;
}

.qexpert__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-2, var(--text-2));
  font-size: 0.88rem;
  display: grid;
  gap: 0.25rem;
}

/* ─── Multi-page ─── */

.page-hero {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 0.5rem;
}

.teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.teaser {
  display: block;
  padding: 1.25rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line, rgba(21, 25, 30, 0.12));
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.25s;
}

.teaser:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 90, 116, 0.35);
  box-shadow: 0 14px 30px rgba(21, 25, 30, 0.08);
}

.teaser h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.teaser p {
  color: var(--ink-2, var(--text-2));
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 0 0.9rem;
}

.teaser .more {
  font-weight: 700;
  color: var(--steel, #2a5a74);
  font-size: 0.9rem;
}

.band {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(42, 90, 116, 0.06);
  border: 1px solid rgba(42, 90, 116, 0.16);
}

.band p {
  max-width: 48ch;
  margin: 0;
  color: var(--ink-2, var(--text-2));
}

.privacy-page {
  max-width: 72ch;
  line-height: 1.65;
  color: var(--ink-2, var(--text-2));
}

.privacy-page h1,
.privacy-page h2,
.privacy-page h3 {
  color: var(--ink, #15191e);
}

@media (max-width: 960px) {
  .teasers {
    grid-template-columns: 1fr;
  }

  .footer__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
