/* ===== Autoškola STRIX ===== */
:root {
  --ink: #16181d;
  --ink-2: #3a3f4b;
  --muted: #6b7080;
  --navy: #1c2b52;
  --navy-2: #2a3f74;
  --navy-soft: #e8ecf5;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e4e0d7;
  --ok: #2f7d4f;
  --err: #b3261e;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22,24,29,.04), 0 8px 28px rgba(22,24,29,.07);
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--ink-2); background: var(--paper); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 15px/1 var(--body); letter-spacing: .02em; padding: 14px 22px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .15s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); }
.btn--lg { padding: 18px 30px; font-size: 17px; font-family: var(--head); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.btn--lg .ic { width: 1.4em; height: 1.4em; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-soft); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: #fff; }
.link { font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
.link:hover { color: var(--navy-2); }

/* Topbar */
.topbar { background: var(--navy); color: #dfe5f3; font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: nowrap; }
.topbar__item { white-space: nowrap; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
a.topbar__item:hover, .topbar__soc:hover { color: #fff; }
.topbar__soc { color: inherit; display: inline-flex; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(22,24,29,.07); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo img { height: 66px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font: 400 15px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); text-decoration: none; padding: 10px 11px; border-radius: 8px; }
.nav a:hover, .nav a.is-active { color: var(--navy-2); background: var(--navy-soft); }
.header__cta { padding: 12px 18px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Přepínač jazyka */
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.lang a { font: 500 13px/1 var(--head); letter-spacing: .1em; padding: 10px 11px; color: var(--ink-2); text-decoration: none; }
.lang a:hover { background: var(--navy-soft); }
.lang a.is-active { background: var(--ink); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #fff; padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 7vw, 100px); }
.hero__owl { position: absolute; right: -6%; top: -10%; height: 130%; width: auto; opacity: .06; mix-blend-mode: multiply; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.eyebrow { font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin-bottom: 22px; }
.hero__lead { font-size: clamp(19px, 2vw, 23px); color: var(--navy); font-weight: 600; line-height: 1.45; max-width: 30ch; }
.hero__text > p:not(.hero__lead):not(.eyebrow) { max-width: 52ch; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.hero__media { position: relative; }
.hero__photo { border-radius: 26px; aspect-ratio: 4/4.4; height: auto; max-height: 600px; object-fit: cover; object-position: center 75%; width: 100%; box-shadow: var(--shadow); }
.bubble { position: absolute; left: -48px; bottom: 34px; width: 240px; background: #fff; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 34px; box-shadow: 0 14px 40px rgba(22,24,29,.16); transform: rotate(-6deg); text-align: center; }
.bubble p { margin: 0; font: 400 15.5px/1.35 var(--head); letter-spacing: .02em; color: var(--ink); }
.bubble strong { color: var(--navy-2); font-weight: 500; }
.bubble img { position: absolute; right: -6px; bottom: -6px; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; border: 2px solid var(--navy); mix-blend-mode: normal; }

/* Sections */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.h2--light { color: #fff; }
.intro { max-width: 760px; margin: 0 auto 44px; color: var(--muted); font-size: 17.5px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Why */
.why { padding-top: 0; background: #fff; }
.why__list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__list li { background: var(--paper); border-radius: var(--radius); padding: 26px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.why__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 16px; }
.why__note { text-align: center; max-width: 780px; margin: 0 auto; font-size: 17.5px; }
.why__note strong { color: var(--ink); }

/* About */
.about__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.about__media img { border-radius: 26px; aspect-ratio: 4/5; object-fit: cover; width: 100%; position: sticky; top: 110px; box-shadow: var(--shadow); }
.about__lead { font: 400 23px/1.35 var(--head); color: var(--navy); }
.checks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.checks .ic { color: var(--ok); margin-top: 4px; stroke-width: 2.6; }

/* Services */
.services { background: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc__ic { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.svc h3 { font-size: 28px; text-transform: uppercase; letter-spacing: .03em; }
.svc h3 span { display: block; font: 600 14px/1.4 var(--body); color: var(--navy-2); text-transform: none; letter-spacing: 0; margin-top: 6px; }
.svc p { flex: 1; }
.svc .btn { align-self: flex-start; }

/* Tabs */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 40px; background: #fff; padding: 6px; border-radius: 14px; width: fit-content; box-shadow: var(--shadow); max-width: 100%; }
.tab { border: 0; background: none; font: 500 15px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 14px 22px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.tab.is-active { background: var(--navy); color: #fff; }

/* Pricing */
.pricing__sub { font-size: 22px; text-transform: uppercase; letter-spacing: .06em; text-align: center; margin-bottom: 24px; }
.pricing__sub--left { text-align: left; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; display: flex; flex-direction: column; position: relative; }
.plan--vip { border-color: var(--navy); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font: 500 12px/1 var(--head); letter-spacing: .14em; padding: 7px 12px; border-radius: 99px; }
.plan h4 { font: 400 24px/1.2 var(--head); color: var(--navy-2); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.plan__desc { list-style: none; padding: 0; margin: 0 0 20px; font-size: 15px; flex: 1; }
.plan__desc li { margin-bottom: 6px; }
.plan__price { font: 500 34px/1 var(--head); color: var(--ink); margin-bottom: 20px; }
.plan__price small { display: block; font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plan .btn { width: 100%; }
.pricing__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.pricelist { list-style: none; margin: 0; padding: 8px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.pricelist li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pricelist li:last-child { border-bottom: 0; }
.pricelist strong { display: block; color: var(--ink); }
.pricelist span { font-size: 14px; color: var(--muted); }
.pricelist b { font: 500 19px/1 var(--head); color: var(--navy); white-space: nowrap; }
.pricelist--small li { padding: 13px 0; }

/* Signup steps */
.signup { background: #fff; }
.step { margin-top: 56px; transition: opacity .3s; }
.step.is-locked { opacity: .35; pointer-events: none; }
.step__title { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 26px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 30px; }
.step__no { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; letter-spacing: 0; flex: none; }
.step__hint { text-align: center; color: var(--muted); margin-top: -18px; }
.pick { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; text-align: center; font: inherit; color: inherit; padding: 0; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.pick:hover { transform: translateY(-3px); border-color: #bdb8ad; }
.pick[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-soft), var(--shadow); }
.pick__dot { width: 34px; height: 34px; border-radius: 50%; background: #e2e0dc; margin: auto auto 0; display: grid; place-items: center; color: transparent; transition: background .2s; flex: none; }
.pick__dot .ic { stroke-width: 3; }
.pick[aria-pressed="true"] .pick__dot { background: var(--navy); color: #fff; }

.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.city { overflow: hidden; padding-bottom: 24px; }
.city img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.city strong { font: 400 28px/1.2 var(--head); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; margin: 20px 16px 4px; }
.city span { color: var(--muted); font-size: 15px; margin: 0 16px 18px; }

.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.type { scroll-snap-align: start; padding: 30px 20px 24px; min-height: 290px; }
.type svg.type__ic { width: 92px; height: 92px; margin: 0 auto 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.type strong { font-weight: 600; color: var(--ink); font-size: 17px; line-height: 1.35; margin-bottom: 20px; }
.slider__btn { position: absolute; top: 45%; right: -54px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.slider__btn .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.slider__btn--prev { right: auto; left: -54px; transform: scaleX(-1); }
.slider__btn[disabled] { opacity: 0; pointer-events: none; }

.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 274px)); justify-content: center; gap: 22px; }
.variant { padding: 30px 22px 24px; }
.variant h4 { font: 400 26px/1.15 var(--head); color: var(--navy-2); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.variant ul { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; font-size: 15px; }
.variant li { display: flex; gap: 10px; margin-bottom: 8px; }
.variant li .ic { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; stroke-width: 3; }
.variant__price { font: 500 32px/1 var(--head); color: var(--ink); margin: auto 0 20px; }
.variant__price small { font: 500 15px var(--body); color: var(--navy-2); margin-right: 6px; }

/* Forms */
.form { padding: clamp(24px, 4vw, 40px); max-width: 860px; margin: 0 auto; }
.form__title { font-size: 28px; text-transform: uppercase; letter-spacing: .04em; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 0; margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { font: inherit; color: var(--ink); border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, background .2s; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); background: #fff; }
.field.is-invalid input, .field.is-invalid textarea, .is-invalid .radio span { border-color: var(--err); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 14.5px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.field--check.is-invalid span { color: var(--err); }
.field--check > span { font-weight: 400; color: var(--ink-2); margin: 0; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; background: var(--paper); }
.radio input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__msg { margin: 0; font-weight: 600; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { display: flex; flex-wrap: wrap; gap: 10px 26px; background: var(--navy-soft); border-radius: 12px; padding: 16px 20px; margin-bottom: 26px; }
.summary div { display: flex; flex-direction: column; }
.summary span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary strong { color: var(--navy); font-size: 16px; }
.summary button { margin-left: auto; align-self: center; background: none; border: 0; color: var(--navy-2); font: 600 14px var(--body); text-decoration: underline; cursor: pointer; }

/* Gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; }
.g { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g:hover img { transform: scale(1.04); }
.g figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.94); padding: 7px 12px; border-radius: 8px; font: 500 13px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.g--wide { grid-column: span 3; grid-row: span 2; }
.g--tall { grid-row: span 2; }

/* Tests */
.tests { background: var(--navy); color: #cfd7ea; padding: 56px 0; position: relative; overflow: hidden; }
.tests__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.tests .h2 { margin-bottom: 6px; font-size: clamp(30px, 3.6vw, 42px); }
.tests p { margin: 0; }
.tests__links { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.places { display: grid; gap: 20px; }
.place { padding: 24px; }
.place h3 { font-size: 26px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.place p { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.map { border-radius: 12px; overflow: hidden; background: var(--paper) url("../img/sova.png") center/70px no-repeat; height: 190px; display: grid; place-items: end center; padding-bottom: 16px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map.is-loaded { padding: 0; }
.map__btn { border: 1.5px solid var(--ink); background: #fff; font: 600 14px var(--body); padding: 9px 16px; border-radius: 8px; cursor: pointer; }
.map__btn:hover { background: var(--ink); color: #fff; }
.people { padding: 8px 24px; }
.people a { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.people a:last-child { border-bottom: 0; }
.people span { color: var(--muted); }
.people strong { color: var(--ink); }
.people a:hover strong { color: var(--navy-2); }
.contact .form { margin: 0; max-width: none; }

/* Footer */
.footer { background: var(--ink); color: #a9adb8; padding: 50px 0 24px; font-size: 14.5px; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__logo { height: 70px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.footer__info p { margin: 0 0 4px; }
.footer a { color: #e6e8ee; }
.footer__soc { display: flex; gap: 10px; }
.footer__soc a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3a3e48; border-radius: 50%; }
.footer__soc a:hover { border-color: #fff; }
.footer__copy { text-align: center; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid #2a2d35; font-size: 13px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ok); color: #fff; padding: 14px 22px; border-radius: 12px; font-weight: 600; z-index: 99; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* Subpage */
.page-hero { background: #fff; padding: 60px 0 40px; border-bottom: 1px solid var(--line); }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 24px; text-transform: uppercase; letter-spacing: .04em; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }

/* Responsive */
@media (max-width: 1100px) {
  .topbar__lbl { display: none; }
  .nav a { padding: 10px 7px; font-size: 14px; }
  .header__cta { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .slider__track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .slider__btn { right: -10px; background: #fff; box-shadow: var(--shadow); z-index: 2; }
  .slider__btn--prev { left: -10px; }
}
@media (max-width: 900px) {
  .burger { display: block; margin-left: 0; }
  .lang { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 80px); overflow: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero__in, .about__in, .contact__grid, .pricing__cols { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .bubble { left: -8px; width: 200px; padding: 26px; bottom: -20px; }
  .bubble p { font-size: 13.5px; }
  .about__media img { position: static; aspect-ratio: 16/11; }
  .why__list, .services__grid { grid-template-columns: 1fr; }
  .slider__track { grid-auto-columns: calc((100% - 22px) / 2); }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g--wide { grid-column: span 2; }
  .g--tall:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar__in > .topbar__item { display: none; }
  .topbar__right { width: 100%; justify-content: space-between; gap: 10px; }
  .topbar__soc { display: none; }
  .topbar { font-size: 13px; }
  .header__in { gap: 12px; }
  .lang a { padding: 9px 8px; }
  .header__in { height: 68px; }
  .logo img { height: 52px; }
  .plans, .cities { grid-template-columns: 1fr; }
  .slider__track { grid-auto-columns: 72%; }
  .slider__btn { display: none; }
  .type { min-height: 250px; }
  .form__grid { grid-template-columns: 1fr; }
  .step__title { font-size: 21px; }
  .step__no { width: 40px; height: 40px; font-size: 17px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 14px 8px; font-size: 13px; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g--wide, .g--tall:last-child { grid-column: auto; }
  .g--tall, .g--wide { grid-row: span 1; }
  .summary button { margin-left: 0; }
  .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Ukrajinská verze – delší slova */
html[lang="uk"] .hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
html[lang="uk"] .nav a { letter-spacing: .04em; }
