/* ITSTEP Київ — фірмова гама сайту академії: жовтий #FFBC04, графіт #1D1D1D, індиго #4850EC, бірюзовий #27C5DC */
:root {
  --yellow: #FFBC04;
  --yellow-soft: #FFF1C2;
  --yellow-deep: #D99A00;
  --cream: #FFF9E6;
  --indigo: #4850EC;
  --indigo-dark: #3A41C9;
  --tint: #EFF1FF;
  --cyan: #27C5DC;
  --cyan-soft: #E2F6FA;
  --ink: #1D1D1D;
  --ink-2: #44444C;
  --ink-3: #62626C;
  --paper: #FFFFFF;
  --line: #DDE2EA;
  --ok: #1A7F4B;
  --err: #C0262D;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 14px 34px -14px rgba(72, 80, 236, .35);
  --shadow-soft: 0 6px 20px -10px rgba(29, 29, 29, .25);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; } /* інакше display у .btn тощо перебиває атрибут */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.ci { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ───────── кнопки ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-dark); box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--yellow-soft); box-shadow: var(--shadow-soft); }
.btn-line { background: transparent; color: var(--ink); border-color: #C5CBDA; }
.btn-line:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .94rem; }

/* ───────── шапка ───────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 188, 4, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  box-shadow: 0 1px 0 rgba(29, 29, 29, .08);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); border-radius: 12px; }
.brand-mark svg { fill: var(--yellow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-weight: 800; font-size: 1.18rem; letter-spacing: .02em; }
.brand-text i { font-style: normal; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; transition: background-color .15s, color .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .5); }
.nav a.on { background: #fff; }

/* ───────── hero ───────── */
.hero { position: relative; background: var(--yellow); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(rgba(29, 29, 29, .14) 1.6px, transparent 1.8px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
  mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
}
.blob { position: absolute; z-index: -1; pointer-events: none; animation: drift 9s ease-in-out infinite alternate; }
.b1 { width: 460px; height: 460px; right: -140px; top: -160px; background: rgba(255, 255, 255, .42); border-radius: 50%; }
.b2 { width: 120px; height: 120px; left: 47%; top: 26px; border: 16px solid var(--cyan); border-radius: 50%; animation-delay: -3s; }
@keyframes drift { to { transform: translateY(-14px) rotate(6deg); } }

.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end;
  padding-block: clamp(44px, 7vw, 92px) 0;
}
.hero-copy { padding-bottom: clamp(44px, 7vw, 92px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--ink-2); }
.eyebrow.light { color: var(--yellow); }
.eyebrow .ico { display: grid; place-items: center; width: 26px; height: 26px; background: var(--yellow); border-radius: 8px; }
.eyebrow .ico svg { fill: var(--ink); }
.sec-yellow .eyebrow .ico { background: #fff; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.mark { display: inline-block; background: #fff; padding: 0 .2em; border-radius: .22em; transform: rotate(-1.5deg); box-shadow: 0 8px 0 -4px rgba(29, 29, 29, .12); }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: #2a2a2a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* сходи: чотири адреси піднімаються праворуч */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 8px; }
.stairs li:nth-child(1) a { min-height: 160px; }
.stairs li:nth-child(2) a { min-height: 225px; }
.stairs li:nth-child(3) a { min-height: 290px; }
.stairs li:nth-child(4) a { min-height: 355px; }
.stairs a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px;
  padding: 16px 14px; text-decoration: none; border-radius: 20px 20px 0 0;
  background: var(--bg, #fff); color: var(--fg, var(--ink));
  transition: transform .2s, box-shadow .2s;
}
.stairs a:hover { transform: translateY(-8px); box-shadow: 0 16px 28px -16px rgba(29, 29, 29, .5); }
.stairs li:nth-child(1) a { --bg: var(--cyan); }
.stairs li:nth-child(2) a { --bg: #fff; }
.stairs li:nth-child(3) a { --bg: var(--indigo); --fg: #fff; }
.stairs li:nth-child(4) a { --bg: var(--ink); --fg: #fff; }
.stairs .ci { width: 28px; height: 28px; margin-bottom: 4px; }
.stairs .n { font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.stairs li:nth-child(4) .n { color: var(--yellow); }
.stairs strong { font-size: .98rem; line-height: 1.25; font-weight: 700; }
.stairs small { font-size: .8rem; line-height: 1.3; opacity: .8; }

/* ───────── ITSTEP про себе ───────── */
.facts { padding-block: 48px 40px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts-row li { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border-radius: var(--radius); }
.f1 { background: var(--yellow-soft); }
.f2 { background: var(--cyan-soft); }
.f3 { background: var(--tint); }
.f4 { background: var(--cream); box-shadow: inset 0 0 0 2px var(--yellow-soft); }
.facts .num { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.f3 .num { color: var(--indigo); }
.facts-row span { color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.src { margin-top: 22px; max-width: 62em; font-size: .88rem; line-height: 1.55; color: var(--ink-3); }
.src strong { color: var(--ink); }

/* ───────── секції ───────── */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-cream { background: var(--cream); }
.sec-tint { background: var(--tint); }
.sec-cyan { background: var(--cyan-soft); }
.sec-yellow { background: var(--yellow); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; max-width: 20em; }
.sec-lead { margin-top: 16px; max-width: 46em; color: var(--ink-2); font-size: 1.08rem; }
.sec-yellow .sec-lead { color: #2a2a2a; }

/* плитки «Про STEP» */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.tile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 30px; background: #fff; border-radius: var(--radius);
  border-top: 8px solid var(--acc, var(--yellow)); box-shadow: var(--shadow-soft);
}
.t1 { --acc: var(--yellow); } .t2 { --acc: var(--cyan); } .t3 { --acc: var(--indigo); } .t4 { --acc: var(--yellow); }
.tile h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em; }
.tile p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.chips li { padding: 6px 14px; background: var(--cream); border: 1px solid #F0E3B6; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--indigo); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; width: fit-content; }
.more:hover { text-decoration-color: var(--indigo); }

/* ───────── адреси ───────── */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 2px solid transparent; font-weight: 700; box-shadow: var(--shadow-soft);
  transition: background-color .15s, color .15s, transform .15s;
}
.chip-btn:hover { transform: translateY(-1px); }
.chip-btn[aria-pressed="true"] { background: var(--indigo); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 26px; }
.card {
  --acc: var(--cyan); --on-acc: var(--ink);
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 32px 32px; background: #fff; border-radius: var(--radius);
  border-top: 8px solid var(--acc); box-shadow: var(--shadow-soft);
  transition: box-shadow .2s, transform .2s;
}
.card[data-c="2"] { --acc: var(--yellow); }
.card[data-c="3"] { --acc: var(--indigo); --on-acc: #fff; }
.card[data-c="4"] { --acc: var(--ink); --on-acc: var(--yellow); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card:target { outline: 3px solid var(--indigo); outline-offset: 4px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge {
  display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px;
  background: var(--acc); color: var(--on-acc); border-radius: 16px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em;
}
.tag { padding: 6px 14px; background: var(--yellow-soft); border-radius: 999px; font-weight: 700; font-size: .84rem; }
.card h3 { font-size: 1.55rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.addr { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; line-height: 1.4; }
.addr svg { flex: none; margin-top: 2px; fill: var(--indigo); }
.card-lead { color: var(--ink-2); }
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--acc); border-radius: 4px; box-shadow: 0 0 0 2px var(--cream); }
.card[data-c="4"] .ticks li::before { background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); }
.claims { padding: 14px 16px; background: var(--cream); border: 1.5px dashed #E2C560; border-radius: var(--radius-sm); }
.claims h4 { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8A6700; margin-bottom: 8px; }
.claims ul { display: grid; gap: 5px; padding-left: 18px; list-style: disc; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.claims li::marker { color: #C9A029; }
.note { padding: 12px 14px; background: var(--yellow-soft); border-radius: var(--radius-sm); font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.contacts { display: grid; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px dashed var(--line); }
.contacts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: baseline; }
.contacts dt { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.contacts dd { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; overflow-wrap: anywhere; }
.contacts a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.contacts a:hover { background: var(--yellow); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* ───────── вартість ───────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.price { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 24px; border-radius: var(--radius); }
.p2 { background: var(--yellow-soft); }
.p3 { background: var(--tint); }
.p4 { background: var(--cyan-soft); }
.price h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.price h3 small { display: block; margin-top: 2px; font-size: .84rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.price dl { display: grid; gap: 8px; }
.price dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(29, 29, 29, .1); }
.price dt { font-weight: 600; color: var(--ink-2); font-size: .94rem; }
.price dd { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price dd::after { content: " грн"; font-size: .7em; font-weight: 600; color: var(--ink-3); }
.price p { margin-top: auto; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.price p a { color: var(--indigo); font-weight: 700; }

/* ───────── хронологія ───────── */
.timeline { position: relative; margin-top: 44px; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 4px; background: var(--yellow); border-radius: 2px; }
.timeline li { position: relative; display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding-left: 40px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  background: var(--indigo); border: 4px solid var(--yellow); border-radius: 50%;
}
.timeline time { font-weight: 800; font-size: 1.2rem; letter-spacing: -.015em; color: var(--indigo); }
.timeline h3 { font-size: 1.12rem; font-weight: 800; }
.timeline p { margin-top: 4px; color: var(--ink-2); }

/* ───────── незалежні оцінки ───────── */
.sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; align-items: start; }
.src-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.src-card h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.src-card h3 small { display: block; margin-top: 4px; font-size: .86rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.src-card h4 { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ranks { display: grid; gap: 10px; }
.ranks li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--cream); border-radius: 14px; font-weight: 600; }
.ranks b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--yellow); border-radius: 12px; font-size: 1.15rem; font-weight: 800; }
.limits { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.limits li::marker { color: var(--cyan); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ───────── лічильник ───────── */
.counter { background: var(--indigo); color: #fff; padding-block: clamp(52px, 7vw, 88px); }
.counter-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.counter h2 { color: #fff; }
.counter-lead { margin-top: 16px; max-width: 28em; color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.odo-box { display: grid; gap: 22px; justify-items: start; }
.odo { display: flex; gap: 8px; }
.odo .d {
  position: relative; display: grid; place-items: center;
  width: clamp(42px, 8vw, 64px); height: clamp(60px, 11.5vw, 92px);
  background: linear-gradient(var(--yellow) 0 49%, #F5B000 50% 100%); border-radius: 12px;
  color: var(--ink); font-weight: 800; font-size: clamp(2rem, 5.6vw, 3.6rem); font-variant-numeric: tabular-nums; line-height: 1;
  box-shadow: 0 8px 0 -2px rgba(0, 0, 0, .18);
}
.odo .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(29, 29, 29, .35); }
.mini { display: flex; flex-wrap: wrap; gap: 14px; }
.mini li { display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 14px 18px; background: rgba(255, 255, 255, .16); border-radius: 18px; }
.mini b { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mini span { font-size: .88rem; color: rgba(255, 255, 255, .85); }

/* ───────── гостьова книга ───────── */
.gb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; margin-top: 40px; align-items: start; }
.gb-form {
  position: sticky; top: 92px;
  display: grid; gap: 18px; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.fld { display: grid; gap: 8px; font-weight: 700; font-size: .92rem; border: 0; padding: 0; margin: 0; min-width: 0; position: relative; }
.fld legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 8px; }
.fld input[type="text"], .fld select, .fld textarea {
  width: 100%; padding: 13px 16px; background: var(--tint); border: 2px solid transparent; border-radius: var(--radius-sm);
  font-weight: 500; transition: border-color .15s, background-color .15s;
}
.fld textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.fld input[type="text"]:hover, .fld select:hover, .fld textarea:hover { border-color: #C9CEF7; }
.fld input[type="text"]:focus, .fld select:focus, .fld textarea:focus { background: #fff; border-color: var(--indigo); outline: none; }
.count { position: absolute; right: 12px; bottom: 10px; font-size: .78rem; font-weight: 600; color: var(--ink-3); background: var(--tint); padding: 0 4px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles legend { width: 100%; }
.role { position: relative; display: inline-flex; }
.role input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.role span {
  padding: 9px 16px; border: 2px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .9rem; transition: background-color .15s, border-color .15s, color .15s;
}
.role:hover span { border-color: var(--indigo); }
.role input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.role input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gb-status { min-height: 1.5em; font-weight: 600; font-size: .95rem; }
.gb-status.ok { color: var(--ok); }
.gb-status.err { color: var(--err); }

.gb-feed { display: grid; gap: 16px; }
.gb-count { font-weight: 600; }
.gb-count b { font-weight: 800; }
.notes { display: grid; gap: 14px; }
.note-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 6px 14px; padding: 20px 22px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-soft);
}
.note-card.fresh { animation: pop .5s ease; box-shadow: 0 0 0 3px var(--indigo); }
.ava { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; background: var(--indigo); color: #fff; border-radius: 50%; font-weight: 800; font-size: 1.2rem; }
.note-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.who { font-weight: 800; overflow-wrap: anywhere; }
.pill { padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--yellow-soft); }
.pill.campus { background: var(--cyan-soft); }
.note-head time { margin-left: auto; font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.msg { grid-column: 2; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.gb-empty { padding: 28px; text-align: center; background: rgba(255, 255, 255, .6); border: 2px dashed rgba(29, 29, 29, .3); border-radius: 20px; font-weight: 600; }
.gb-feed .btn { justify-self: start; }
@keyframes pop { from { transform: translateY(-10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ───────── підвал ───────── */
.foot { background: var(--cream); border-top: 8px solid var(--yellow); padding-block: 52px 26px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 30em; font-size: .94rem; line-height: 1.6; color: var(--ink-2); }
.foot h3 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 9px; }
.foot-col a { text-decoration: none; border-bottom: 2px solid var(--yellow); font-size: .95rem; font-weight: 500; }
.foot-col a:hover { background: var(--yellow); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #EBDDB0; font-size: .84rem; color: var(--ink-3); }

/* ───────── адаптивність ───────── */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding-bottom: 0; }
  .b2 { left: auto; right: 18px; top: 18px; width: 70px; height: 70px; border-width: 11px; }
  .stairs { grid-template-columns: 1fr; gap: 6px; padding-bottom: 36px; }
  .stairs li:nth-child(n) a { min-height: 0; border-radius: 16px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 2px 12px; padding: 14px 18px; }
  .stairs .ci { grid-row: span 2; margin: 0; }
  .stairs .n { font-size: 1.3rem; grid-row: span 2; }
  .stairs li:nth-child(2) { margin-left: 14px; }
  .stairs li:nth-child(3) { margin-left: 28px; }
  .stairs li:nth-child(4) { margin-left: 42px; }
  .stairs a:hover { transform: translateX(4px); }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .tiles, .cards, .sources { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .counter-in { grid-template-columns: 1fr; }
  .gb { grid-template-columns: 1fr; }
  .gb-form { position: static; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .nav { display: none; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .card, .tile, .src-card { padding: 24px 20px; }
  .gb-form { padding: 22px 18px; }
  .contacts > div { grid-template-columns: 1fr; gap: 2px; }
  .card h3 { font-size: 1.4rem; }
  .two { grid-template-columns: 1fr; }
  .odo { gap: 5px; }
  .note-card { grid-template-columns: 40px 1fr; padding: 16px; }
  .ava { width: 40px; height: 40px; font-size: 1rem; }
  .note-head time { margin-left: 0; width: 100%; }
  .facts-row li { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
