/* Teslamir service site. Mobile first: base styles are for phones, media queries add larger layouts. */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--bg: #000;
	--surface: #101217;
	--surface-2: #171a20;
	--line: rgba(255, 255, 255, .09);
	--line-strong: rgba(255, 255, 255, .22);
	--text: #fff;
	--text-2: #d3d7de;
	--muted: #9aa3ae;
	--accent: #2b7bff;
	--accent-hover: #4c8fff;
	--ok: #3ecf7a;
	--err: #ff6b6b;
	--radius: 16px;
	--radius-sm: 12px;
	--header-h: 60px;
	--gutter: 16px;
	--section: clamp(56px, 8vw, 104px);
	--font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
section[id], [id="zapis"] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.lead { color: var(--text-2); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; }
.h2 { font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; letter-spacing: .02em; }
.section { padding: var(--section) 0; }
.section--flush { padding-top: 0; }
.section--after-head { padding-top: 32px; }
.section__head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head .lead { margin-top: 14px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__more { margin-top: 32px; display: flex; justify-content: center; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 14px; height: 14px; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
	font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap; cursor: pointer;
	transition: background-color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: rgba(0, 0, 0, .72);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: none; gap: 30px; margin: 0 auto; font-weight: 600; font-size: 15px; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--text-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 600; }
.header__phone .i { color: var(--accent); }
.header__phone span { display: none; }
.header__cta { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.drawer {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto;
	background: #000; padding: 12px var(--gutter) 40px;
	display: flex; flex-direction: column; gap: 28px;
	animation: fade-in .2s ease;
}
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer__nav a[aria-current] { color: var(--accent); }
.drawer__contacts { display: flex; flex-direction: column; gap: 16px; }
.drawer__phone { font-size: 22px; font-weight: 700; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-bar { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #000; }
.hero__content { position: relative; z-index: 2; padding-top: 36px; text-align: center; }
.hero__title { font-size: clamp(30px, 5vw, 56px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; max-width: 980px; margin: 0 auto; text-wrap: balance; }
.hero__lead { margin: 18px auto 0; max-width: 620px; color: var(--text-2); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; text-shadow: 0 1px 12px #000, 0 0 2px #000; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin: 28px auto 0; max-width: 360px; }
.hero__media { position: relative; margin-top: -24px; }
.hero__media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 45%; background: linear-gradient(#000, rgba(0, 0, 0, 0)); z-index: 1; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(rgba(0, 0, 0, 0), #000); z-index: 1; }
.hero__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 78%; }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #06070a; }
.facts__grid { display: grid; grid-template-columns: 1fr 1fr; }
.fact { display: flex; align-items: flex-start; gap: 12px; padding: 20px 12px 20px 0; }
.fact:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.fact .i { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.6; margin-top: 2px; }
.fact strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.fact span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- services ---------- */
.services { display: grid; gap: 10px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.svc summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; line-height: 1.3; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary img { width: 42px; height: 42px; flex: none; }
.svc summary .i { margin-left: auto; color: var(--muted); transition: transform .25s; }
.svc[open] summary .i { transform: rotate(180deg); }
.svc ul { padding: 0 16px 16px 72px; display: grid; gap: 6px; }
.svc li { position: relative; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.svc li::before { content: ""; position: absolute; left: -14px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.services-cta {
	margin-top: 28px; padding: 24px; border-radius: var(--radius);
	background: linear-gradient(120deg, rgba(43, 123, 255, .18), rgba(43, 123, 255, .04)); border: 1px solid rgba(43, 123, 255, .3);
	display: flex; flex-direction: column; gap: 16px;
}
.services-cta p { font-size: 17px; font-weight: 600; }
.services-cta p span { display: block; font-size: 15px; font-weight: 400; color: var(--text-2); margin-top: 4px; }
.services-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.services-cta__actions .btn { flex: 1 1 auto; }

/* ---------- cards (why us) ---------- */
.cards {
	display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card p { padding: 16px 18px 20px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.scroll-hint { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* ---------- photo tiles (gallery, works) ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { margin: 0; }
.tile__link { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.tile__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.tile__link:hover img { transform: scale(1.04); }
.tile figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--text-2); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.reviews__side { min-width: 0; }
.reviews__widget { border-radius: var(--radius); overflow: hidden; background: #fff; }
.reviews__widget iframe { display: block; width: 100%; height: 560px; border: 0; }
.reviews__side { display: flex; flex-direction: column; gap: 16px; }
.review-cards {
	display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter);
	margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
}
.review-cards::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; }
.review { margin: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.review__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--accent); flex: none; }
.review__name { font-weight: 600; }
.review__src { color: var(--muted); font-size: 13px; }
.review__note { color: var(--muted); font-size: 13px; margin-top: -6px; }
.stars { display: inline-flex; gap: 2px; color: #f7c948; }
.stars .i { width: 14px; height: 14px; }
.rating-badges { display: grid; gap: 12px; }
.rating-badge { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
a.rating-badge:hover { border-color: var(--line-strong); }
.rating-badge img { height: 24px; width: auto; }
.rating-badge__score { text-align: right; font-size: 22px; font-weight: 700; line-height: 1; }
.rating-badge__score .stars { display: flex; margin-top: 6px; }
.rating-badge__score .stars .i { width: 11px; height: 11px; }

/* ---------- parts ---------- */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.model {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	padding: 18px 12px 16px; border-radius: var(--radius); border: 1px solid var(--line);
	background: radial-gradient(120% 90% at 50% 35%, #1b1f27 0%, #0b0c10 70%);
	transition: border-color .25s;
}
.model:hover { border-color: rgba(43, 123, 255, .5); }
.model img { width: 100%; max-width: 260px; transition: transform .4s ease; }
.model:hover img { transform: translateY(-6px); }
.model__name { font-size: 17px; font-weight: 600; margin-top: 6px; }
.model__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); font-weight: 600; }
.model__link .i { width: 16px; height: 16px; }

/* ---------- booking form ---------- */
.section--form { background: radial-gradient(80% 60% at 85% 40%, rgba(43, 123, 255, .14), transparent 70%), #05060a; border-top: 1px solid var(--line); }
.booking { display: grid; gap: 28px; }
.booking__intro .lead { margin-top: 14px; }
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.checklist .i { color: var(--accent); margin-top: 2px; }
.booking__card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field__label { font-size: 14px; color: var(--text-2); font-weight: 500; }
.field input {
	width: 100%; height: 54px; padding: 0 16px; border-radius: var(--radius-sm);
	background: #07080b; border: 1px solid var(--line-strong); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #5d6570; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43, 123, 255, .25); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; cursor: pointer; }
.consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid { color: var(--err); }
.form__status { font-size: 15px; font-weight: 500; line-height: 1.5; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.booking__alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; }

.messengers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.messenger {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 10px;
	border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 14px;
	transition: border-color .2s, background-color .2s;
}
.messenger:hover { border-color: var(--line-strong); background: #1d2128; }
.messenger img { width: 22px; height: 22px; }
@media (max-width: 420px) { .messenger { gap: 6px; padding: 0 6px; font-size: 13px; } .messenger img { width: 20px; height: 20px; } }
.messenger--phone { width: 100%; }
.messenger--phone .i { color: var(--accent); }

/* ---------- contacts + map ---------- */
.contacts { position: relative; background: #05060a; }
.contacts__card { padding: var(--section) var(--gutter) 28px; max-width: 520px; }
.contacts__list { margin-top: 24px; display: grid; gap: 18px; }
.contacts__list li { display: flex; gap: 14px; }
.contacts__list .i { color: var(--accent); width: 22px; height: 22px; margin-top: 1px; }
.contacts__list strong, .contacts__list span, .contacts__list a { display: block; line-height: 1.5; }
.contacts__list strong { font-weight: 600; }
.contacts__list span { font-size: 14px; }
.contacts__phone { font-weight: 700; font-size: 18px; }
.contacts__routes { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contacts__routes-label { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.contacts__routes .btn { padding: 0 12px; }
.contacts__map, .map-only { height: 420px; background: #111418; }
.contacts__map, .map-only { color: #000; }
.map-marker { width: 34px; max-width: none; transform: translate(-50%, -100%); cursor: pointer; }
.map-balloon { position: absolute; transform: translate(-50%, calc(-100% - 56px)); background: #000; color: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 240px; font: 500 14px/1.45 var(--font); }
.map-balloon a { color: var(--accent); font-weight: 700; }

/* ---------- inner pages ---------- */
.page-head { padding: 28px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.page-title { margin-top: 12px; font-size: clamp(30px, 4.6vw, 48px); text-transform: uppercase; letter-spacing: .02em; }
.page-head .lead { margin-top: 14px; max-width: 760px; }
.about { display: grid; gap: 24px; align-items: center; }
.about + .about { margin-top: clamp(32px, 5vw, 64px); }
.about__text { display: grid; gap: 14px; color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.about__img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.info-grid { display: grid; gap: 16px; }
.info-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.info-card h2:not(:first-child) { margin-top: 28px; }
.info-card p + p { margin-top: 10px; }
.phones { display: grid; gap: 16px; }
.phones dt { font-size: 13px; color: var(--muted); }
.phones dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.phones a { font-weight: 700; font-size: 18px; }
.scheme { margin-top: 18px; }
.info-card .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
.info-card .tile__link img { aspect-ratio: 1 / 1; }
.phones .phones__note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.prose { max-width: 820px; color: var(--text-2); line-height: 1.75; }
.prose h2 { color: #fff; font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.prose p + p, .prose ul { margin-top: 10px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); }
.prose mark { background: #5b3b00; color: #ffd27a; padding: 0 4px; border-radius: 4px; }
.notfound { padding: 12vh 0; text-align: center; }
.notfound .page-title { font-size: clamp(28px, 4vw, 44px); }
.notfound .lead { margin: 16px auto 28px; max-width: 520px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 24px; font-size: 14.5px; }
.footer__grid { display: grid; gap: 28px; }
.footer__logo img { height: 30px; width: auto; }
.footer__brand p { margin-top: 14px; max-width: 360px; }
.footer__nav { display: grid; gap: 10px; font-weight: 600; }
.footer__nav a:hover { color: var(--accent); }
.footer__contacts { display: grid; gap: 12px; }
.footer__phone { font-size: 20px; font-weight: 700; }
.footer__bottom { position: relative; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer__bottom a:hover { color: #fff; }

/* ---------- mobile quick-contact bar ---------- */
.mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: grid; grid-template-columns: repeat(4, 1fr);
	padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
	background: rgba(12, 13, 17, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 11px; font-weight: 600; color: var(--text-2); }
.mobile-bar .i, .mobile-bar img { width: 22px; height: 22px; }
.mobile-bar .i { color: var(--accent); }
.mobile-bar__main { color: #fff !important; }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .95); display: grid; place-items: center; animation: fade-in .2s ease; touch-action: pan-y; }
.lightbox__figure { margin: 0; max-width: 94vw; text-align: center; }
.lightbox__img { max-width: 94vw; max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; object-fit: contain; }
.lightbox__caption { margin-top: 14px; color: var(--text-2); font-size: 15px; padding: 0 16px; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; left: 20px; top: 26px; font-size: 13px; color: var(--muted); }

/* ================= ≥ 640px ================= */
@media (min-width: 640px) {
	:root { --gutter: 24px; }
	.hero__actions { flex-direction: row; justify-content: center; max-width: none; }
	.services { grid-template-columns: 1fr 1fr; gap: 14px; }
	.svc summary { cursor: default; padding: 20px 20px 12px; }
	.svc summary .i { display: none; }
	.svc ul { padding: 0 20px 20px 76px; }
	.services-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; }
	.tiles { gap: 20px; }
	.tile figcaption { font-size: 14.5px; }
	.review-cards { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; }
	.rating-badges { grid-template-columns: 1fr 1fr; }
	.booking__card { padding: 30px; }
	.info-grid { grid-template-columns: 1fr 1fr; }
}

/* ================= ≥ 900px ================= */
@media (min-width: 900px) {
	:root { --header-h: 72px; }
	.header__logo img { height: 34px; }
	.header__cta { display: inline-flex; }
	.hero { min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; flex-direction: column; }
	.hero__content { padding-top: clamp(40px, 6vh, 72px); }
	.hero__media { position: absolute; inset: 0; margin: 0; }
	.hero__media::before { height: 72%; background: linear-gradient(#000 22%, rgba(0, 0, 0, .8) 50%, rgba(0, 0, 0, 0)); }
	.hero__img { height: 100%; aspect-ratio: auto; object-position: 50% 85%; }
	.facts__grid { grid-template-columns: repeat(4, 1fr); }
	.facts__grid > .fact { padding: 26px 22px; border-left: 1px solid var(--line); border-bottom: 0; }
	.facts__grid > .fact:first-child { border-left: 0; padding-left: 0; }
	.cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
	.scroll-hint { display: none; }
	.tiles { grid-template-columns: repeat(3, 1fr); }
	.reviews { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
	.reviews__widget iframe { height: 640px; }
	.review-cards { grid-template-columns: 1fr 1fr; }
	.models { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.booking { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
	.booking__intro { padding-top: 12px; }
	.contacts { min-height: 640px; }
	.contacts__card {
		position: absolute; z-index: 2; top: 50%; left: max(var(--gutter), calc((100vw - 1232px) / 2 + var(--gutter))); transform: translateY(-50%);
		width: 440px; padding: 32px; border-radius: 20px; border: 1px solid var(--line);
		background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	}
	.contacts__card .h2 { font-size: 30px; }
	.contacts__map { position: absolute; inset: 0; height: auto; }
	.map-only { height: 520px; }
	.about { grid-template-columns: 1fr 1fr; gap: 48px; }
	.about--reverse .about__img { order: -1; }
	.footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
	.mobile-bar { display: none; }
	body { padding-bottom: 0; }
}

/* ================= ≥ 1100px ================= */
@media (min-width: 1100px) {
	.nav { display: flex; }
	.burger { display: none; }
	.header__phone { width: auto; height: auto; border-radius: 0; }
	.header__phone span { display: inline; }
	.header__actions { gap: 20px; margin-left: 0; }
	.services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
