/* Главная Соцконтракт.site. Шрифты Wix Madefor (OFL, см. wix-madefor-OFL.txt), фото — Pexels. */

@font-face { font-family: "Madefor Display"; src: url("wix-madefor-display-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Display"; src: url("wix-madefor-display-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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: "Madefor Text"; src: url("wix-madefor-text-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Text"; src: url("wix-madefor-text-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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 {
  --blue: #2248d5;
  --blue-deep: #1a39ad;
  --blue-card: #1a3cb8;
  --red: #d01f43;
  --ink: #102740;
  --ink-soft: #46586e;
  --on-blue-soft: #d6e0fb;
  --tint: #e3ebfc;
  --tint-strong: #d2dffa;
  --red-deep: #b3163a;
  --white: #fff;

  --font-display: "Madefor Display", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Madefor Text", "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --radius-small: 8px;
  --wrap: 1180px;
  --gutter: 24px;
  --section: 112px;
  --head-gap: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-text);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; }
.i { width: 20px; height: 20px; flex: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: var(--radius-small);
  background: var(--ink); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Шапка */
.site-header { background: var(--blue); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .14); }
.header-row { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.wordmark {
  font: 600 22px/1 var(--font-display); letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--blue); }
.site-header .wordmark span { color: #d3defb; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a, .footer nav a { font-size: 15px; text-decoration: none; }
.footer nav a:hover { color: var(--blue); }
.nav a { color: var(--white); text-underline-offset: 6px; }
.nav a:hover { text-decoration: underline; }
.header-cabinet {
  padding: 11px 18px; border-radius: var(--radius-small);
  background: var(--red); color: var(--white);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .2s;
}
.header-cabinet:hover { background: var(--red-deep); }

/* Кнопки */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 28px; border-radius: var(--radius-small);
  font: 700 17px/1.2 var(--font-text); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn-price { font-weight: 500; opacity: .85; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); }
.btn-price { font-variant-numeric: tabular-nums; }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--tint-strong); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--tint); }

/* Первый экран */
.hero { background: var(--tint); color: var(--ink); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 1.9rem + 2.4vw, 60px); line-height: 1.05; letter-spacing: -0.025em; max-width: 14ch; }
.hero h1 span { color: var(--blue); }
.hero-checks { display: grid; gap: 12px; margin-top: 28px; font-size: 18px; font-weight: 500; }
.hero-checks li { display: flex; gap: 12px; align-items: flex-start; }
.check-dot { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 3; }
.hero .actions { margin-top: 36px; }
.hero-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 40% 50%; border-radius: var(--radius); }
.hero-media { position: relative; }
.badge { position: absolute; display: grid; gap: 4px; padding: 18px 22px; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10, 25, 80, .22); }
.badge strong { font: 700 56px/1 var(--font-display); letter-spacing: -0.03em; }
.badge span { font-size: 15px; font-weight: 600; line-height: 1.3; }
.badge-approval { left: -28px; bottom: 28px; background: var(--red); color: var(--white); }
.badge .stars { color: #ffd23c; }
.badge .stars svg { width: 18px; height: 18px; }
/* Голографическая наклейка — как на экране покупки (components/HologramSeal.tsx) */
.seal { position: relative; flex: none; filter: drop-shadow(0 3px 4px rgba(63, 42, 6, .35)); }
.seal > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-foil { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(100.00% 50.00%,99.19% 51.72%,98.05% 53.36%,98.31% 55.08%,99.29% 56.93%,99.02% 58.64%,97.52% 60.10%,96.73% 61.65%,97.31% 63.57%,97.55% 65.45%,96.25% 66.83%,94.66% 68.04%,94.38% 69.76%,94.74% 71.82%,93.95% 73.37%,92.07% 74.29%,90.84% 75.52%,90.80% 77.52%,90.45% 79.39%,88.78% 80.30%,86.90% 80.96%,86.10% 82.51%,85.81% 84.58%,84.58% 85.81%,82.51% 86.10%,80.96% 86.90%,80.30% 88.78%,79.39% 90.45%,77.52% 90.80%,75.52% 90.84%,74.29% 92.07%,73.37% 93.95%,71.82% 94.74%,69.76% 94.38%,68.04% 94.66%,66.83% 96.25%,65.45% 97.55%,63.57% 97.31%,61.65% 96.73%,60.10% 97.52%,58.64% 99.02%,56.93% 99.29%,55.08% 98.31%,53.36% 98.05%,51.72% 99.19%,50.00% 100.00%,48.28% 99.19%,46.64% 98.05%,44.92% 98.31%,43.07% 99.29%,41.36% 99.02%,39.90% 97.52%,38.35% 96.73%,36.43% 97.31%,34.55% 97.55%,33.17% 96.25%,31.96% 94.66%,30.24% 94.38%,28.18% 94.74%,26.63% 93.95%,25.71% 92.07%,24.48% 90.84%,22.48% 90.80%,20.61% 90.45%,19.70% 88.78%,19.04% 86.90%,17.49% 86.10%,15.42% 85.81%,14.19% 84.58%,13.90% 82.51%,13.10% 80.96%,11.22% 80.30%,9.55% 79.39%,9.20% 77.52%,9.16% 75.52%,7.93% 74.29%,6.05% 73.37%,5.26% 71.82%,5.62% 69.76%,5.34% 68.04%,3.75% 66.83%,2.45% 65.45%,2.69% 63.57%,3.27% 61.65%,2.48% 60.10%,0.98% 58.64%,0.71% 56.93%,1.69% 55.08%,1.95% 53.36%,0.81% 51.72%,0.00% 50.00%,0.81% 48.28%,1.95% 46.64%,1.69% 44.92%,0.71% 43.07%,0.98% 41.36%,2.48% 39.90%,3.27% 38.35%,2.69% 36.43%,2.45% 34.55%,3.75% 33.17%,5.34% 31.96%,5.62% 30.24%,5.26% 28.18%,6.05% 26.63%,7.93% 25.71%,9.16% 24.48%,9.20% 22.48%,9.55% 20.61%,11.22% 19.70%,13.10% 19.04%,13.90% 17.49%,14.19% 15.42%,15.42% 14.19%,17.49% 13.90%,19.04% 13.10%,19.70% 11.22%,20.61% 9.55%,22.48% 9.20%,24.48% 9.16%,25.71% 7.93%,26.63% 6.05%,28.18% 5.26%,30.24% 5.62%,31.96% 5.34%,33.17% 3.75%,34.55% 2.45%,36.43% 2.69%,38.35% 3.27%,39.90% 2.48%,41.36% 0.98%,43.07% 0.71%,44.92% 1.69%,46.64% 1.95%,48.28% 0.81%,50.00% 0.00%,51.72% 0.81%,53.36% 1.95%,55.08% 1.69%,56.93% 0.71%,58.64% 0.98%,60.10% 2.48%,61.65% 3.27%,63.57% 2.69%,65.45% 2.45%,66.83% 3.75%,68.04% 5.34%,69.76% 5.62%,71.82% 5.26%,73.37% 6.05%,74.29% 7.93%,75.52% 9.16%,77.52% 9.20%,79.39% 9.55%,80.30% 11.22%,80.96% 13.10%,82.51% 13.90%,84.58% 14.19%,85.81% 15.42%,86.10% 17.49%,86.90% 19.04%,88.78% 19.70%,90.45% 20.61%,90.80% 22.48%,90.84% 24.48%,92.07% 25.71%,93.95% 26.63%,94.74% 28.18%,94.38% 30.24%,94.66% 31.96%,96.25% 33.17%,97.55% 34.55%,97.31% 36.43%,96.73% 38.35%,97.52% 39.90%,99.02% 41.36%,99.29% 43.07%,98.31% 44.92%,98.05% 46.64%,99.19% 48.28%);
  background: radial-gradient(circle at 32% 26%, #fff5cf, #f4cf5d 22%, #d6a21c 48%, #a8750f 74%, #6f4b06); }
.seal-foil::before { content: ""; position: absolute; inset: -25%; opacity: .4; mix-blend-mode: color;
  background: conic-gradient(from 0deg, #ff6fd8, #ffe066, #6dffb0, #5ee7ff, #9d8cff, #ff6fd8, #ffe066, #6dffb0, #5ee7ff, #9d8cff, #ff6fd8);
  animation: seal-spin 14s linear infinite; }
.seal-foil::after { content: ""; position: absolute; inset: 0; opacity: .7;
  background: repeating-radial-gradient(circle at 50% 50%, rgb(255 255 255 / .55) 0 .5px, transparent .5px 1.6px),
    linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .85) 50%, transparent 65%) no-repeat;
  background-size: auto, 300% 100%; animation: seal-glare 3.5s ease-in-out infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-glare { 0% { background-position: 0 0, 100% 0; } 60%, 100% { background-position: 0 0, 0 0; } }
.seal-guarantee { width: 96px; height: 96px; transform: rotate(-8deg); }
.hero-assure { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.hero-assure svg { width: 22px; height: 22px; flex: none; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.stats li { display: grid; gap: 6px; padding: 24px 28px; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.stats strong { font: 700 clamp(30px, 1.2rem + 1.7vw, 46px)/1.02 var(--font-display); letter-spacing: -0.025em; white-space: nowrap; color: var(--blue); }
.stats li:nth-child(even) strong { color: var(--red); }
.stats span { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
.hero-note a { color: var(--blue); text-underline-offset: 3px; }

/* Секции */
.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: var(--head-gap); }
.section-head h2, .faq-grid h2, .closing h2 { font-size: clamp(30px, 1.4rem + 1.7vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-soft); max-width: 34em; }

/* Преимущества и гарантии */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { padding: 32px; border-radius: var(--radius); background: var(--tint); }
.link-all { margin-top: 36px; text-align: center; }
.link-all .btn { min-height: 68px; padding: 0 40px; font-size: 20px; box-shadow: 0 10px 24px -8px rgba(215, 38, 61, .55); }
.link-all .btn .i { width: 24px; height: 24px; }
.seo-links { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }
.feat-head { display: flex; align-items: center; gap: 18px; }
.feat-icon { width: 52px; height: 52px; flex: none; color: var(--red); stroke-width: 1.6; }
.feat h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.feat p { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.guarantee-icon { width: 60px; height: 60px; flex: none; stroke-width: 1.6; }
.guarantee {
  display: flex; align-items: center; gap: 28px;
  margin-top: 20px; padding: 32px 40px; border-radius: var(--radius);
  background: var(--blue); color: var(--white);
}
.guarantee h3 { font-size: 24px; line-height: 1.2; }
.guarantee p { margin-top: 8px; max-width: 52em; color: var(--on-blue-soft); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue .feat { background: var(--blue-card); }
.section-blue .feat-icon { color: var(--white); }
.section-blue .section-head p { color: var(--on-blue-soft); }
.section-blue .feat p { color: var(--on-blue-soft); }

/* Отзывы */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 32px; border-radius: var(--radius); background: var(--tint); }
.stars { display: flex; gap: 3px; color: #f5a700; }
.stars svg { width: 22px; height: 22px; }
.review-sum { margin-top: 16px; align-self: flex-start; padding: 6px 12px; border-radius: 8px; background: var(--white); color: var(--blue); font: 500 16px/1.2 var(--font-display); }
.review blockquote { margin: 20px 0 0; font-size: 16px; line-height: 1.6; }
.review figcaption { display: grid; gap: 2px; margin-top: auto; padding-top: 24px; font-size: 14px; color: var(--ink-soft); }
.review figcaption strong { color: var(--ink); font-size: 16px; font-weight: 600; }

/* Каталог */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan {
  display: flex; flex-direction: column; padding: 12px; border-radius: var(--radius);
  background: var(--tint); text-decoration: none;
  transition: background-color .2s;
}
.plan img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-small); }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 20px 12px 8px; }
.plan h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.plan-body p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.plan-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; }
.plan-price { font: 500 20px/1 var(--font-display); }
.plan-go { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 15px; font-weight: 500; }
.plan-go .i { transition: transform .2s; }
.plan:hover { background: var(--tint-strong); }
.section-tint .plan { background: var(--white); }
.section-tint .plan:hover { background: #f3f6fe; }
.plan:hover .plan-go .i { transform: translateX(4px); }

.custom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 56px;
  margin-top: 20px; padding: 44px 48px; border-radius: var(--radius);
  background: var(--blue); color: var(--white);
}
.custom h3 { font-size: clamp(26px, 1.2rem + 1vw, 34px); line-height: 1.15; }
.custom-copy > p { margin-top: 10px; font-size: 18px; color: var(--on-blue-soft); }
.custom-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 24px; font-weight: 500; }
.custom-checks li { display: flex; gap: 12px; align-items: flex-start; }
.custom-buy { display: grid; justify-items: center; gap: 8px; min-width: 280px; padding: 32px; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.custom-price { font: 700 52px/1 var(--font-display); letter-spacing: -0.03em; color: var(--blue); white-space: nowrap; }
.custom-note { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.custom-buy .btn { width: 100%; margin-top: 12px; }

/* Комплект */
.kit-strip h2 { font-size: clamp(30px, 1.4rem + 1.7vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.kit-lead { margin-top: 16px; max-width: 46em; font-size: 19px; color: var(--ink-soft); }
.kit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: var(--head-gap); }
.kit-row li { padding: 36px 32px; border-radius: var(--radius); background: var(--tint); }
.kit-icon { width: 72px; height: 72px; color: var(--blue); stroke-width: 1.4; }
.kit-row h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; font-size: 24px; line-height: 1.2; }
.kit-fmt { padding: 3px 10px; border-radius: 6px; background: var(--white); color: var(--blue); font: 700 14px/1.4 var(--font-text); }
.kit-row p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }
.kit-row p strong { color: var(--ink); font-weight: 700; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: var(--white); min-height: 280px; }
.step-num { font: 500 44px/1 var(--font-display); color: var(--blue); }
.step h3 { margin-top: 28px; font-size: 22px; }
.step p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.step-cost { margin-top: auto; padding-top: 28px; font: 500 18px/1.2 var(--font-display); }
.step-pay { background: var(--blue); color: var(--white); }
.step-pay .step-num { color: var(--white); }
.step-pay p { color: var(--on-blue-soft); }

/* Официальные ресурсы */
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.logo {
  display: grid; place-items: center; height: 160px; padding: 16px 24px;
  border-radius: var(--radius); background: var(--white);
  transition: background-color .2s;
}
.logo:hover { background: var(--tint); }
.logo img { width: auto; mix-blend-mode: multiply; }
.logo .logo-square { height: 92px; }
.logo .logo-mid { height: 70px; }
.logo .logo-emblem { height: 128px; }
.logo .logo-wide { height: 54px; }

/* Вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px 56px; align-items: start; }
.faq-list { border-radius: var(--radius); background: var(--tint); padding: 8px 32px; }
.faq-list details { box-shadow: 0 1px 0 #d9e2f8; }
.faq-list details:last-child { box-shadow: none; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 19px/1.35 var(--font-display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 8px;
  background: var(--white) center / 14px 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%232248d5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { padding: 0 56px 24px 0; color: var(--ink-soft); }

/* Финальный призыв */
.closing { padding: var(--section) 0; }
.closing-box {
  display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap;
  padding: 56px; border-radius: var(--radius); background: var(--ink); color: var(--white);
}
.closing-box p { margin-top: 12px; color: #c4cfdd; font-size: 18px; }

/* Подвал */
.footer { padding: 40px 0 48px; background: var(--tint); }
.footer-catalog { flex-basis: 100%; display: block; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--tint-strong); }
.footer .footer-catalog-title { margin: 0 0 20px; font: 700 18px/1.3 var(--font-display); color: var(--ink); }
.footer-catalog-title a { font-size: inherit; }
.footer-catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.footer-catalog-grid h3 { margin-bottom: 10px; font: 700 14px/1.3 var(--font-text); color: var(--ink-soft); }
.footer-catalog-grid ul { display: grid; gap: 8px; }
.footer-catalog-grid a { display: block; font-size: 14px; line-height: 1.35; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; }
.footer p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* Планшет */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cabinet { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-grid { grid-template-columns: 1fr; }
  .feat-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 900px) {
  .footer-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --section: 80px; --head-gap: 28px; }
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .section-head { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr; padding: 32px; }
  .custom-buy { justify-items: stretch; text-align: center; }
  .badge-approval { left: 12px; bottom: 12px; }

  .guarantee { align-items: flex-start; padding: 28px; }
}

/* Телефон */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 64px; --head-gap: 24px; }
  body { font-size: 16px; }
  .header-row { min-height: 64px; gap: 16px; }
  .wordmark { font-size: 19px; }
  .header-cabinet { padding: 9px 14px; font-size: 14px; }
  .hero { padding: 28px 0 48px; }
  .hero .actions { margin-top: 28px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; justify-content: space-between; }
  .hero-checks { font-size: 16px; gap: 10px; margin-top: 20px; }
  .check-dot { width: 22px; height: 22px; padding: 4px; }
  .stats { gap: 10px; margin-top: 32px; }
  .stats li { padding: 18px 16px; }
  .stats strong { font-size: 26px; white-space: normal; }
  .stats span { font-size: 13px; }
  .kit-row li { padding: 24px 20px; }
  .kit-icon { width: 56px; height: 56px; }
  .kit-row h3 { margin-top: 16px; font-size: 21px; }
  .kit-lead { font-size: 17px; }
  .section-cta { margin-top: 28px; }
  .section-cta .btn { width: 100%; }

  .plan-grid { grid-template-columns: 1fr; gap: 12px; }
  .plan { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 10px; }
  .plan img { height: 100%; aspect-ratio: auto; min-height: 136px; }
  .plan-body { padding: 6px 4px 4px 0; }
  .plan h3 { font-size: 18px; }
  .plan-body p { font-size: 14px; margin-top: 6px; }
  .plan-foot { padding-top: 12px; }
  .plan-price { font-size: 17px; }
  .plan-go { font-size: 0; }
  .plan-go .i { width: 22px; height: 22px; }
  .custom { padding: 28px 20px; }
  .custom-checks { grid-template-columns: 1fr; }
  .custom-buy { min-width: 0; padding: 24px 20px; }
  .custom-price { font-size: 44px; }
  .badge { padding: 12px 14px; }
  .badge strong { font-size: 38px; }
  .badge span { font-size: 13px; }
  .badge .stars svg { width: 14px; height: 14px; }
  .hero-assure { align-items: flex-start; font-size: 14px; }


  .step { padding: 24px; }
  .step-num { font-size: 36px; }
  .step h3 { margin-top: 18px; }
  .step-cost { padding-top: 20px; }

  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo { height: 96px; padding: 14px; }
  .logo .logo-square { height: 52px; }
  .logo .logo-mid { height: 40px; }
  .logo .logo-emblem { height: 70px; }
  .logo .logo-wide { height: 30px; }

  .faq-list { padding: 4px 20px; }
  .feat-grid, .review-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat { padding: 22px 20px; }
  .feat-icon { width: 42px; height: 42px; }
  .feat h3 { font-size: 18px; }
  .feat p { margin-top: 10px; font-size: 15px; }
  .guarantee { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .guarantee h3 { font-size: 21px; }
  .review { padding: 24px 20px; }
  .faq-list summary { font-size: 17px; padding: 18px 0; gap: 16px; }
  .faq-list details p { padding-right: 0; }
  .closing-box { padding: 32px 24px; }
  .closing .actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .seal-foil::before, .seal-foil::after { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Страницы каталога готовых планов: хлебные крошки, подпись под заголовком, поиск, состав плана */
[hidden] { display: none !important; }

.crumbs { margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: #8aa0bd; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.hero-lead { margin-top: 18px; max-width: 34em; font-size: 18px; color: var(--ink-soft); }

.catalog-bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.catalog-search { display: grid; gap: 10px; flex: 1 1 360px; max-width: 640px; }
.catalog-search input {
  width: 100%; min-height: 60px; padding: 0 22px 0 56px; border: 2px solid var(--tint-strong); border-radius: var(--radius-small);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232748d8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 20px center;
  font: 500 18px/1.2 var(--font-text); color: var(--ink);
}
.catalog-search input:focus { outline: none; border-color: var(--blue); }
.catalog-search input::placeholder { color: #7a8ba5; }
.catalog-count { font-size: 14px; color: var(--ink-soft); }
.catalog-own { flex: 0 0 auto; min-height: 60px; }
.catalog-empty { margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--white); font-size: 18px; }
.catalog-empty a { color: var(--blue); font-weight: 700; }

.structure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.structure-grid > li { padding: 28px; border-radius: var(--radius); background: var(--white); }
.structure-grid h3 { margin-bottom: 14px; font-size: 20px; }
.structure-grid ul { display: grid; gap: 10px; }
.structure-grid ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; }
.structure-grid .check-dot { margin-top: 3px; flex: none; }

@media (max-width: 900px) {
  .structure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .structure-grid { grid-template-columns: 1fr; }
  .catalog-own { width: 100%; }
  .hero-lead { font-size: 16px; }
}

/* Страница ниши: коротко о плане */
.about { padding-bottom: 0; }
.about .section-head p { max-width: 38em; }
.about-card { padding: 28px; border-radius: var(--radius); background: var(--tint); }
.about-card h3 { margin-bottom: 14px; font-size: 22px; }
.about-who { display: grid; gap: 14px; }
.about-who li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.about-who .check-dot { margin-top: 3px; flex: none; }
@media (max-width: 640px) {
  .about-card { padding: 22px 18px; }
}

/* Статьи: /stati и /stati/<статья> */
.article-top { padding-top: 32px; }
.article { max-width: 780px; }
.article-h1 { max-width: none; margin-bottom: 20px; font-size: clamp(30px, 1.4rem + 1.8vw, 48px); line-height: 1.12; }
.article-lead { margin-bottom: 8px; font-size: 20px; color: var(--ink-soft); }
.article h2 { margin: 40px 0 14px; font-size: clamp(24px, 1.2rem + 1vw, 32px); line-height: 1.2; letter-spacing: -0.015em; }
.article > p { margin-top: 14px; font-size: 18px; }
.article > ul, .article > ol { display: grid; gap: 10px; margin-top: 14px; padding-left: 24px; font-size: 18px; }
.article > ul { list-style: disc; }
.article > ol { list-style: decimal; }
.article > ul li::marker, .article > ol li::marker { color: var(--blue); }
.article-example { margin-top: 16px; padding: 18px 22px; border-radius: var(--radius-small); background: var(--tint); }
.article-example p { margin-top: 6px; font-size: 16px; }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.article-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border-radius: var(--radius); background: var(--tint); text-decoration: none; transition: background-color .2s; }
.article-card:hover { background: var(--tint-strong); }
.article-card h3 { font-size: 22px; line-height: 1.25; }
.article-card p { color: var(--ink-soft); font-size: 16px; }
.article-card .plan-go { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) {
  .article-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article-lead { font-size: 18px; }
  .article > p, .article > ul, .article > ol { font-size: 17px; }
  .article-card { padding: 22px 18px; }
}
