/* ПроВышивка — айдентика «яркий мерч».
   Цвета ниток: кобальт, малиновый, солнечный, мятный; текст — чернильный; светлые блоки — холодный белый.
   Главный приём один: «вышитый» заголовок и нашивка на первом экране. Остальное спокойно. */
:root {
  --cobalt: #1f3dff; --cobalt-d: #1328c9; --pink: #ff3d8b; --pink-d: #e0236f; --sun: #ffd23f; --mint: #2ee6a8;
  --ink: #14143a; --ink-2: #3b3d66; --chalk: #f3f4ff; --white: #fff; --line: #d9dcf5;
  --display: "Unbounded", "Arial Black", sans-serif; --text: "Onest", "Segoe UI", Arial, sans-serif;
  --shell: 1200px; --gut: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; z-index: 50; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--pink); color: var(--white); font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--pink-d); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--pink-d); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pink-d); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--white); transform: none; }
.btn.sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 #c99f00; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand.light { color: var(--white); }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px dashed transparent; }
.nav a:hover { border-bottom-color: var(--pink); }
.phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 960px) { .nav { display: none; } .phone { margin-left: auto; } }
@media (max-width: 420px) { .brand span { font-size: 16px; } .phone { font-size: 14px; } .brand-mark { width: 34px; height: 34px; } }

/* первый экран */
.hero { background: var(--cobalt); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(-36deg, transparent 0 9px, rgba(255,255,255,.045) 9px 10px); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); grid-template-areas: "text patch" "tags tags";
  gap: 28px 48px; padding-top: 64px; padding-bottom: 56px; align-items: center; }
.hero-text { grid-area: text; }
.hero h1 { font-size: clamp(40px, 6vw, 86px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; }
.satin { background: repeating-linear-gradient(118deg, #fff 0 3px, #d6dcff 3px 4px, #fff 4px 7px);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 var(--cobalt-d)); }
.stitch-line { display: block; width: min(560px, 90%); height: 14px; margin: 18px 0 22px; overflow: visible; }
.stitch-line path { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 16 11; }
.js .stitch-line path { animation: sew 1.6s .3s cubic-bezier(.6,0,.3,1) both; }
@keyframes sew { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 34em; color: #e7eaff; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-patch { grid-area: patch; display: flex; justify-content: center; }
.patch { width: min(420px, 100%); height: auto; transform: rotate(-8deg); overflow: visible; }
.ring-text { font: 700 17px var(--display); fill: var(--white); letter-spacing: .14em; }
.pro { font: 900 78px var(--display); fill: url(#satin-yellow); stroke: var(--ink); stroke-width: 3; paint-order: stroke; letter-spacing: -.02em; }
.pro-shadow { font: 900 78px var(--display); fill: var(--ink); opacity: .35; letter-spacing: -.02em; }
.js .run { animation: run 2.2s .2s ease-out both; }
@keyframes run { from { stroke-dashoffset: 780; opacity: 0; } 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
.tags { grid-area: tags; list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tag { position: relative; background: var(--white); color: var(--ink); border-radius: 6px; padding: 16px 18px 15px 26px;
  box-shadow: 0 6px 0 rgba(10,20,120,.35); }
.tag::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed #b9bfee; border-radius: 3px; pointer-events: none; }
.tag::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; border-radius: 6px 0 0 6px; background: var(--pink); }
.tag.t2::after { background: var(--sun); } .tag.t3::after { background: var(--mint); } .tag.t4::after { background: var(--cobalt); }
.tag b { display: block; font: 700 24px/1.15 var(--display); }
.tag span { font-size: 14px; color: var(--ink-2); }
@media (min-width: 961px) { .t1 { transform: rotate(-1.2deg); } .t2 { transform: rotate(.8deg); } .t3 { transform: rotate(-.6deg); } .t4 { transform: rotate(1deg); } }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "text" "patch" "tags"; padding-top: 40px; }
  .patch { width: min(300px, 80%); }
  .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) { .tag b { font-size: 20px; } .tag { padding: 14px 12px 13px 22px; } }

/* общий ритм блоков */
.block { padding: 88px 0; }
.chalk { background: var(--chalk); }
.ink { background: var(--ink); color: var(--white); }
.sun { background: var(--sun); }
.head { max-width: 760px; margin-bottom: 40px; }
.intro { margin-top: 14px; font-size: 18px; color: var(--ink-2); max-width: 40em; }
.ink .intro { color: #c9cbf0; }
@media (max-width: 700px) { .block { padding: 60px 0; } .head { margin-bottom: 28px; } .intro { font-size: 16px; } }

/* изделия */
.goods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.good { --c: var(--pink); --c2: #ffe1ee; display: flex; flex-direction: column; background: var(--white); border-radius: 22px; padding: 22px 24px 24px;
  border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--c); }
.tone-yellow { --c: var(--sun); --c2: #fff4c7; } .tone-cobalt { --c: var(--cobalt); --c2: #e3e7ff; } .tone-mint { --c: var(--mint); --c2: #d8fbee; }
.garment { width: 100%; height: 170px; background: var(--c2); border-radius: 14px; margin-bottom: 18px; }
.g-body { fill: var(--c); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.tone-yellow .g-body, .tone-mint .g-body { fill: var(--c); }
.g-seam { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linecap: round; opacity: .65; }
.g-btn { fill: var(--ink); }
.zone { fill: rgba(255,255,255,.85); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 3 2.4; }
.good h3 { font-size: 20px; }
.good p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); flex: 1; }
.pick { align-self: flex-start; margin-top: 16px; background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 11px 20px;
  font: 600 15px/1 var(--text); cursor: pointer; text-decoration: none; }
.pick:hover { background: var(--cobalt); }
@media (max-width: 960px) { .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .goods { grid-template-columns: 1fr; gap: 18px; } .garment { height: 150px; } }

/* калькулятор: одна строка из трёх колонок, высота блока — до 70% экрана */
.calc-sec { padding: 44px 0 48px; }
.calc-head { display: flex; align-items: baseline; gap: 12px 28px; flex-wrap: wrap; margin-bottom: 22px; }
.calc-head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.calc-head p { color: #c9cbf0; font-size: 15px; }
.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .95fr) minmax(0, .92fr); gap: 26px; align-items: start; }
.calc > * { min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.c-who legend { font: 600 15px var(--display); margin-bottom: 10px; padding: 0; color: var(--white); }
.calc .fld { margin-bottom: 12px; }
.fld label, .lab { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: #c9cbf0; }
input, select, textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 2px solid #3a3d72; border-radius: 11px; background: #1d1e4a; color: var(--white);
  font: 500 15.5px/1.3 var(--text); }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 3px rgba(255,210,63,.3); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 19px, calc(100% - 14px) 19px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #1d1e4a; border: 2px solid #3a3d72; border-radius: 13px; padding: 3px; gap: 3px; margin-bottom: 12px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { margin: 0; text-align: center; padding: 9px 6px; border-radius: 10px; cursor: pointer; color: #c9cbf0; font-weight: 600; font-size: 14px; }
.seg input:checked + label { background: var(--sun); color: var(--ink); }
.seg input:focus-visible + label { outline: 3px solid var(--pink); outline-offset: 2px; }
.duo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 2px solid #3a3d72; border-radius: 11px; color: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--pink); flex: none; padding: 0; }
.check small { color: var(--sun); font-size: 13px; margin-left: 4px; font-weight: 600; }
.hint { font-size: 13px; color: #a9acd9; margin-top: 10px; }
.note { font-size: 13.5px; margin-top: 10px; color: var(--ink-2); }
.woven { position: relative; background: var(--sun); color: var(--ink); border-radius: 10px; padding: 22px 22px 18px; box-shadow: 0 7px 0 #c99f00; }
.woven::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(20,20,58,.35); border-radius: 6px; pointer-events: none; }
.woven-h { font: 700 14px var(--display); }
.lines { list-style: none; margin: 10px 0 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1.5px dashed rgba(20,20,58,.25); font-size: 14px; line-height: 1.35; }
.lines li span:last-child { white-space: nowrap; font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; gap: 10px; }
.total span { font-weight: 600; }
.total b { font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--display); }
.unit { margin-top: 4px; font-size: 14px; }
.tip { margin-top: 8px; font-size: 13.5px; background: rgba(255,255,255,.55); border-radius: 8px; padding: 7px 10px; }
.tip:empty, .note:empty { display: none; }
.err { color: #b0003c; font-weight: 600; font-size: 14px; }
.err:empty { display: none; }
.c-who .btn { width: 100%; min-height: 48px; }
.status { margin-top: 10px; font-size: 14px; min-height: 1.2em; }
.status.ok { color: var(--mint); } .status.bad { color: #ff8db8; }
@media (max-width: 899px) {
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .c-who { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .c-who legend { grid-column: 1 / -1; } .c-who .btn, .c-who .status { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .calc { grid-template-columns: 1fr; }
  .c-who { display: block; }
}
@media (max-width: 420px) { .trio { grid-template-columns: 1fr 1fr; } .trio .fld:last-child { grid-column: span 2; } .woven { padding: 20px 18px 16px; } }

/* маршрут: шаги соединены строчкой */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; position: relative; }
.route::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 3px dashed var(--pink); }
.route li { position: relative; }
.knot { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  border: 3px solid var(--ink); font: 700 18px var(--display); margin-bottom: 16px; }
.route li:nth-child(3) .knot, .route li:nth-child(4) .knot { background: var(--sun); }
.route h3 { font-size: 18px; }
.route p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 960px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 22px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 3px dashed var(--pink); }
  .route li { padding: 0 0 26px 66px; min-height: 46px; }
  .knot { position: absolute; left: 0; top: 0; margin: 0; }
}

/* работы: первое фото крупно, остальные сеткой */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.works li:first-child { grid-column: span 2; grid-row: span 2; }
.works li[hidden] { display: none; }
.work { display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--chalk); }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s; }
.work:hover img { transform: scale(1.04); }
.works p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.works li:first-child p { font-size: 15.5px; }
.more-btn { margin-top: 28px; }
.zoom-cap { padding: 10px 16px 0; font-size: 15px; color: var(--ink-2); }
.zoom-cap:empty { display: none; }
@media (max-width: 960px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .works { gap: 12px; } .works p { font-size: 13px; } }

/* честно о материалах */
.sun .intro { color: #4a4210; }
.mat { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.num { display: flex; align-items: baseline; gap: 8px; }
.num b { font: 800 clamp(56px, 6vw, 80px)/.9 var(--display); letter-spacing: -.04em; }
.num span { font: 600 18px var(--display); }
.rules h3 { margin-top: 10px; font-size: 18px; }
.rules p:last-child { margin-top: 6px; font-size: 15.5px; color: #3c360c; }
.dont { background: var(--ink); color: var(--white); border-radius: 22px; padding: 28px; align-self: start; }
.dont h3 { font-size: 20px; }
.dont ul { list-style: none; margin: 16px 0 0; padding: 0; }
.dont li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1.5px dashed #3a3d72; font-size: 15.5px; }
.dont svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--pink); stroke-width: 3.2; stroke-linecap: round; }
.care { margin-top: 16px; color: var(--sun); font-weight: 600; font-size: 15.5px; }
@media (max-width: 960px) { .mat { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rules { grid-template-columns: 1fr; } }

/* виды: нашивки с обмётанным краем */
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.kind { --c: var(--pink); position: relative; background: var(--c); color: var(--white); border-radius: 28px; padding: 30px 26px 26px;
  box-shadow: 0 0 0 5px var(--white), 0 0 0 8px var(--c); }
.kind::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(255,255,255,.75); border-radius: 20px; pointer-events: none; }
.kind.tone-cobalt { --c: var(--cobalt); } .kind.tone-yellow { --c: var(--sun); color: var(--ink); } .kind.tone-mint { --c: var(--mint); color: var(--ink); }
.kind.tone-yellow::before, .kind.tone-mint::before { border-color: rgba(20,20,58,.4); }
.kind h3 { font-size: 20px; }
.kind p { margin-top: 10px; font-size: 15.5px; }
.kind .price { margin-top: 16px; font: 700 15px var(--display); }
@media (max-width: 960px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kinds { grid-template-columns: 1fr; } }

.pf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; align-items: end; }
.pf .fld label { color: var(--ink-2); }
.pf input, .pf select { background: var(--white); color: var(--ink); border-color: var(--line); }
.pf select { background: var(--white) linear-gradient(45deg, transparent 50%, var(--ink) 50%) no-repeat calc(100% - 20px) 22px / 6px 6px,
  linear-gradient(135deg, var(--ink) 50%, transparent 50%) no-repeat calc(100% - 14px) 22px / 6px 6px; }
.pf .btn { grid-column: 1 / -1; justify-self: start; }
.pf .status { grid-column: 1 / -1; }
.pf .status.ok { color: #0a7a52; } .pf .status.bad { color: #c2004a; }
@media (max-width: 520px) { .pf { grid-template-columns: 1fr; } }

/* оборудование и нитки */
.kit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 34px; }
.spec { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 16px 18px; }
.spec.thread { border-style: dashed; }
.spec h3 { font-size: 16px; }
.spec p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.fams { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fams button { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 7px 14px 7px 8px;
  font: 600 14px var(--text); color: var(--ink); cursor: pointer; }
.fams button i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.fams button small { color: var(--ink-2); font-weight: 500; }
.fams button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.fams button[aria-selected="true"] small { color: #c9cbf0; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.swatches[hidden] { display: none; }
.sw { display: block; width: 100%; padding: 0 0 8px; border: 2px solid transparent; border-radius: 12px; background: var(--white); text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.sw i { display: block; height: 58px; border-radius: 10px 10px 4px 4px; margin-bottom: 7px;
  background-image: repeating-linear-gradient(-36deg, rgba(255,255,255,.14) 0 2px, transparent 2px 5px) !important; background-blend-mode: soft-light; }
.sw b { display: block; padding: 0 9px; font-size: 13.5px; }
.sw span { display: block; padding: 1px 9px 0; font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.sw:hover { border-color: var(--line); }
.sw[aria-pressed="true"] { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.pal-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
#picked { color: var(--ink); font-weight: 600; }
.zoom { border: 0; padding: 0; max-width: min(94vw, 1100px); max-height: 92vh; border-radius: 14px; background: var(--white); }
.zoom::backdrop { background: rgba(20,20,58,.75); }
.zoom img { max-height: 80vh; width: auto; margin: 0 auto; }
.zoom-x { display: block; width: 100%; border: 0; background: var(--ink); color: var(--white); font: 600 16px var(--text); padding: 14px; cursor: pointer; margin-top: 10px; }
@media (max-width: 960px) { .kit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kit-list { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .sw i { height: 46px; } }

/* вопросы */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.faq details { border-bottom: 2px dashed var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 14px; height: 14px; border-right: 3px solid var(--pink); border-bottom: 3px solid var(--pink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* статьи на главной */
.arts-home { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.arts-home a { display: block; height: 100%; padding: 20px 22px; border: 2px solid var(--ink); border-radius: 18px; text-decoration: none; background: var(--white);
  box-shadow: 5px 5px 0 var(--sun); }
.arts-home li:nth-child(3n+2) a { box-shadow: 5px 5px 0 var(--pink); } .arts-home li:nth-child(3n) a { box-shadow: 5px 5px 0 var(--mint); }
.arts-home a:hover { transform: translate(-1px, -1px); }
.arts-home b { display: block; font: 600 17px/1.3 var(--display); }
.arts-home span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 960px) { .arts-home { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .arts-home { grid-template-columns: 1fr; } }

/* SEO-текст */
.seo { padding: 72px 0; }
.seo-in { columns: 2 420px; column-gap: 48px; }
.seo h2 { font-size: clamp(24px, 2.4vw, 32px); column-span: all; margin-bottom: 20px; }
.seo h3 { font-size: 17px; margin: 18px 0 8px; break-after: avoid; }
.seo p { font-size: 15.5px; color: var(--ink-2); }

/* подвал */
.foot { background: var(--ink); color: #c9cbf0; padding: 56px 0 64px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1fr; gap: 32px; }
.foot h2 { font: 600 15px var(--display); color: var(--white); margin-bottom: 12px; }
.foot p { margin-top: 12px; }
.foot h2 + p { margin-top: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: #e7e8ff; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

/* статьи (раздел наполнится позже) */
.art { padding: 56px 0 80px; }
.art-in { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.art h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.art .lead { color: var(--ink-2); margin-top: 18px; }
.art h2 { font-size: 26px; margin: 34px 0 12px; }
.art p, .art li { font-size: 17px; line-height: 1.65; color: var(--ink); }
.art p + p { margin-top: 12px; }
.art-date { font-size: 14px; color: var(--ink-2) !important; margin-top: 10px; }
.art-list { padding-left: 22px; margin: 10px 0; } .art-list li + li { margin-top: 6px; }
.art .note { margin-top: 18px; padding: 14px 18px; background: var(--chalk); border-left: 5px solid var(--pink); border-radius: 6px; }
.art a { color: var(--cobalt); }
.tbl-wrap { overflow-x: auto; margin: 14px 0; }
.tbl { border-collapse: collapse; min-width: 420px; width: 100%; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1.5px dashed var(--line); }
.tbl thead th { font: 600 14px var(--display); background: var(--chalk); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.src li { font-size: 14px; }
.art-cta { margin-top: 30px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.art-cta .btn { color: var(--white); }
.rel { margin-top: 44px; }
.arts { list-style: none; padding: 0; display: grid; gap: 12px; }
.arts a { display: block; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; }
.arts span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
