/* Технотема. Фирменные цвета — с обложки сервиса: чёрный, переходящий в графит, и зелёная шестерёнка. */

/* --- Шрифты (лежат в теме, лицензия OFL) --- */
@font-face {
	font-family: "Forum";
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/forum-cyrillic-400.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Forum";
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/forum-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Golos Text";
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/golos-text-cyrillic-wght.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Golos Text";
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/golos-text-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Знак рубля лежит в расширенной латинице */
@font-face {
	font-family: "Golos Text";
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/golos-text-latin-ext-wght.woff2") format("woff2");
	unicode-range: U+20A0-20C0;
}

:root {
	--black: #000;
	--graphite: #1b1c1e;
	--graphite-line: #33353a;
	--steel: #a3a8ae;          /* второстепенный текст на тёмном */
	--green: #12a150;          /* шестерёнка с логотипа */
	--green-bright: #2fc873;   /* ссылки и акценты на тёмном */
	--green-deep: #0a7338;     /* ссылки на светлом */
	--paper: #f3f4f1;
	--white: #fff;
	--ink: #111312;
	--ink-soft: #565b57;       /* второстепенный текст на светлом */
	--rule: #d8dad4;

	--display: "Forum", "Optima", "Candara", Georgia, serif;
	--text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--gutter: clamp(20px, 4vw, 48px);
	--section: clamp(64px, 9vw, 128px);
	--radius: 10px;
}

/* --- Основа --- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 1.0625rem/1.55 var(--text);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
	outline: 2px solid var(--green-bright);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.tt-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
}
.tt-skip:focus { top: 16px; }

.tt-wrap {
	width: 100%;
	max-width: calc(1200px + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.tt-wrap--text { max-width: calc(760px + var(--gutter) * 2); }

.tt-icon { flex: none; width: 1.25em; height: 1.25em; }

/* --- Типографика --- */
.tt-h1, .tt-h2, .tt-hero__title {
	font-family: var(--display);
	font-weight: 400;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.tt-h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; margin-bottom: 0.6em; }
.tt-h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.05; }
.tt-h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; }

.tt-link {
	color: var(--green-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.tt-link:hover { text-decoration-thickness: 2px; }
.tt-section--dark .tt-link,
.tt-section--black .tt-link { color: var(--green-bright); }

/* --- Кнопки --- */
.tt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
/* Чёрный текст на фирменном зелёном: белый здесь не проходит по контрасту */
.tt-btn--primary { background: var(--green); color: var(--black); }
.tt-btn--primary:hover { background: var(--green-bright); }
.tt-btn--line { border-color: currentColor; background: transparent; }
.tt-btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tt-btn--ghost { border-color: var(--graphite-line); background: var(--graphite); color: var(--white); }

/* --- Шапка --- */
.tt-header {
	position: relative;
	z-index: 20;
	background: var(--black);
	color: var(--white);
	/* Закрывает субпиксельный зазор с первым экраном при дробном масштабе страницы */
	box-shadow: 0 1px 0 var(--black);
}
.tt-header__row {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 84px;
}

.tt-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.22em;
	font: 400 1.75rem/1 var(--display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--white);
}
.tt-logo__gear { width: 1.5em; height: 1.5em; }
.tt-logo__img { width: auto; height: 48px; }
.tt-logo--small { font-size: 1.375rem; }

.tt-gear__teeth { fill: var(--green); transform-origin: 0 0; }
.tt-gear__disc { fill: var(--white); }
.tt-gear__chip { stroke: var(--ink); }
.tt-gear__die { fill: var(--ink); }
.tt-gear__die + rect { stroke: var(--green-bright); }

.tt-nav { margin-left: auto; }
.tt-nav__list { display: flex; gap: 28px; }
.tt-nav a {
	display: block;
	padding: 8px 0;
	color: var(--steel);
	font-size: 1rem;
	text-decoration: none;
	transition: color 0.15s;
}
.tt-nav a:hover { color: var(--white); }

.tt-header__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}
.tt-header__phone {
	font-size: 1.1875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.tt-header__phone:hover { color: var(--green-bright); }

.tt-burger {
	display: none;
	width: 48px;
	height: 48px;
	margin-right: -12px;
	padding: 12px;
	border: 0;
	background: none;
	cursor: pointer;
}
.tt-burger__close,
.tt-burger[aria-expanded="true"] .tt-burger__open { display: none; }
.tt-burger[aria-expanded="true"] .tt-burger__close { display: block; }

/* Часы работы: состояние «открыто/закрыто» дописывает скрипт */
.tt-hours { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tt-hours__state {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	white-space: nowrap;
}
.tt-hours__state[hidden] { display: none; }
.tt-hours__state::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--steel);
}
.tt-hours.is-open .tt-hours__state::before { background: var(--green-bright); }
.tt-hours--compact { font-size: 0.875rem; color: var(--steel); }
.tt-hours--compact .tt-hours__state { font-weight: 400; }
.tt-hours--compact .tt-hours__state:not([hidden]) + .tt-hours__text { display: none; }
.tt-hours--stack { flex-direction: column; align-items: flex-start; }

/* --- Первый экран --- */
.tt-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--black) 0%, var(--black) 38%, #2a2b2e 100%);
	color: var(--white);
}
.tt-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
	padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 128px);
}
.tt-hero__title {
	font-size: clamp(3.25rem, 8.4vw, 7rem);
	line-height: 0.95;
}
.tt-hero__lead {
	max-width: 34em;
	margin-top: 24px;
	color: var(--steel);
	font-size: 1.125rem;
}

.tt-devices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 36px;
}
.tt-device {
	min-height: 46px;
	padding: 8px 20px;
	border: 1px solid #4a4d52;
	border-radius: 999px;
	background: transparent;
	color: var(--white);
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.tt-device:hover { border-color: var(--white); }
.tt-device[aria-selected="true"] {
	border-color: var(--white);
	background: var(--white);
	color: var(--black);
}

.tt-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin-top: 40px;
	color: var(--steel);
	font-size: 1rem;
}
.tt-hero__facts li { display: flex; align-items: flex-start; gap: 10px; }
.tt-hero__facts .tt-icon { margin-top: 0.15em; color: var(--green-bright); }
.tt-hero__facts a { text-underline-offset: 0.2em; }
.tt-hero__facts a:hover { color: var(--white); }
.tt-hero__facts .tt-hours__state { color: var(--white); }

/* Верстак: фирменная шестерёнка, поверх неё — квитанция */
.tt-hero__bench {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 520px;
}
.tt-hero__gear {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(640px, 135%);
	max-width: none;
	translate: -50% -50%;
}
.tt-hero__gear .tt-gear__disc { fill: var(--black); r: 27px; }
.tt-hero__gear .tt-gear__teeth { transition: transform 0.7s cubic-bezier(0.34, 1.45, 0.5, 1); }

.tt-ticket-wrap {
	position: relative;
	scroll-margin-block: 24px 112px; /* снизу — место под панель быстрой связи */
	width: min(100%, 440px);
	rotate: -1.6deg;
	filter: drop-shadow(0 22px 28px rgb(0 0 0 / 0.55));
}
.tt-ticket {
	--tear: 9px;
	padding: 28px 32px calc(30px + var(--tear));
	background: var(--white);
	color: var(--ink);
	/* Нижний край — пилообразный отрыв, как у чековой ленты */
	-webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tear) * 2) 100% repeat-x;
	mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tear) * 2) 100% repeat-x;
}
.tt-ticket__form {
	display: flex;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 1px dashed #b4b8b1;
	color: var(--ink-soft);
	font-size: 0.875rem;
}
.tt-ticket__panel { min-height: 232px; padding-top: 20px; }
.tt-ticket__panel[hidden] { display: none; }
.tt-ticket__service { font: 400 2rem/1.1 var(--display); }
.tt-ticket__price {
	margin-top: 6px;
	font-size: clamp(2.75rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.tt-ticket__symptoms { margin-top: 14px; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.tt-ticket__symptoms span { color: var(--ink); font-weight: 600; }
.tt-ticket__note {
	display: flex;
	gap: 10px;
	padding-top: 16px;
	border-top: 1px dashed #b4b8b1;
	font-size: 0.9375rem;
	line-height: 1.45;
}
.tt-ticket__note .tt-icon { margin-top: 0.1em; color: var(--green-deep); }
.tt-ticket__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tt-ticket__actions .tt-btn { flex: 1 1 auto; padding-inline: 16px; }

@keyframes tt-print {
	from { opacity: 0; transform: translateY(6px); }
}
.tt-ticket__panel.is-fresh { animation: tt-print 0.28s ease-out; }

/* --- Секции --- */
.tt-section { padding-block: var(--section); }
.tt-section--paper { background: var(--paper); }
.tt-section--rule { padding-top: 0; }
.tt-section--rule > .tt-wrap::before {
	content: "";
	display: block;
	margin-bottom: var(--section);
	border-top: 1px solid var(--rule);
}
.tt-section--dark { background: var(--graphite); color: var(--white); }
.tt-section--black { background: var(--black); color: var(--white); }

.tt-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px clamp(32px, 6vw, 96px);
	align-items: end;
	margin-bottom: clamp(36px, 5vw, 64px);
}
.tt-section__lead { max-width: 36em; color: var(--ink-soft); }

/* --- Прайс --- */
.tt-price { columns: 2; column-gap: clamp(32px, 6vw, 96px); }
.tt-price__group { break-inside: avoid; padding-bottom: 40px; }
.tt-price__name {
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
	font: 400 1.625rem/1.15 var(--display);
}
.tt-price__row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding-block: 13px;
	border-bottom: 1px solid var(--rule);
}
.tt-price__dots {
	flex: 1;
	min-width: 24px;
	border-bottom: 2px dotted #aeb2aa;
	translate: 0 -5px;
}
.tt-price__value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tt-price__after { max-width: 44em; color: var(--ink-soft); }

/* --- Почему к нам --- */
.tt-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px clamp(32px, 4vw, 64px);
}
.tt-fact { padding-top: 20px; border-top: 2px solid var(--ink); }
.tt-fact p,
.tt-step p { margin-top: 10px; color: var(--ink-soft); }

/* --- Шаги --- */
.tt-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px clamp(24px, 3vw, 48px);
	counter-reset: step;
}
.tt-step { counter-increment: step; }
.tt-step::before {
	content: counter(step);
	display: block;
	margin-bottom: 12px;
	color: var(--green-deep);
	font: 400 4.5rem/1 var(--display);
}

/* --- Не только ремонт --- */
.tt-more {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(32px, 6vw, 96px);
}
.tt-more__item {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 8px 24px;
	padding-block: 22px;
	border-top: 1px solid var(--rule);
}
.tt-more dt { font-weight: 600; }
.tt-more dd { color: var(--ink-soft); }

/* --- Отзывы --- */
.tt-reviews {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 48px clamp(32px, 6vw, 96px);
}
.tt-rating { display: grid; gap: 6px; margin-block: 28px 20px; }
.tt-rating__value { font: 400 clamp(5rem, 9vw, 7.5rem)/0.9 var(--display); }
.tt-rating__stars { display: flex; gap: 2px; color: var(--green-bright); font-size: 1.25rem; }
.tt-rating__label { color: var(--steel); }
.tt-reviews__list li { padding-block: 28px; border-top: 1px solid var(--graphite-line); }
.tt-reviews__list li:first-child { padding-top: 0; border-top: 0; }
.tt-review p { font: 400 clamp(1.375rem, 2.2vw, 1.75rem)/1.35 var(--display); text-wrap: pretty; }
.tt-review footer { margin-top: 12px; color: var(--steel); font-size: 0.9375rem; }

/* --- Контакты --- */
.tt-contacts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 40px clamp(32px, 6vw, 96px);
}
.tt-contacts__phone {
	display: inline-block;
	font: 400 clamp(2.25rem, 4.4vw, 3.25rem)/1.1 var(--display);
	text-decoration: none;
	white-space: nowrap;
}
.tt-contacts__phone:hover { color: var(--green-bright); }
.tt-contacts__list { margin-top: 32px; }
.tt-contacts__list > div {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 4px 16px;
	padding-block: 18px;
	border-top: 1px solid var(--graphite-line);
}
.tt-contacts__list dt { display: flex; align-items: flex-start; gap: 8px; color: var(--steel); }
.tt-contacts__list dt .tt-icon { margin-top: 0.15em; }
.tt-contacts__list dd { line-height: 1.6; }
.tt-contacts__map {
	min-height: 440px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--graphite);
}
.tt-contacts__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

.tt-request {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 32px clamp(32px, 6vw, 96px);
	margin-top: var(--section);
	padding-top: var(--section);
	border-top: 1px solid var(--graphite-line);
	scroll-margin-top: 0;
}
.tt-request__head p { max-width: 30em; margin-top: 20px; color: var(--steel); }

/* Форма Contact Form 7 (разметка — в docker/setup/setup.php) */
.tt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.tt-form .is-wide { grid-column: 1 / -1; }
.tt-form label { display: grid; gap: 8px; color: var(--steel); font-size: 0.9375rem; }
.tt-form .wpcf7-form-control-wrap { display: block; }
.tt-form input:not([type="checkbox"], [type="submit"]),
.tt-form select,
.tt-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid #4a4d52;
	border-radius: var(--radius);
	background: var(--graphite);
	color: var(--white);
	font-size: 1.0625rem;
}
.tt-form textarea { min-height: 120px; resize: vertical; }
.tt-form select { appearance: none; background-image: linear-gradient(45deg, #0000 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, #0000 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.tt-form ::placeholder { color: #7d8289; }
.tt-form input:focus-visible,
.tt-form select:focus-visible,
.tt-form textarea:focus-visible { border-color: var(--green-bright); outline-offset: 0; border-radius: var(--radius); }
.tt-form__consent { color: var(--steel); font-size: 0.9375rem; }
.tt-form__consent .wpcf7-list-item { margin: 0; }
.tt-form__consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.tt-form__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.tt-form__consent a { color: var(--green-bright); }
.tt-form .wpcf7-submit {
	min-height: 56px;
	padding: 12px 32px;
	border: 0;
	border-radius: var(--radius);
	background: var(--green);
	color: var(--black);
	font-weight: 600;
	cursor: pointer;
}
.tt-form .wpcf7-submit:hover { background: var(--green-bright); }
.tt-form .wpcf7-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.tt-form .wpcf7-spinner { margin: 0 0 0 16px; vertical-align: middle; }
.wpcf7-not-valid-tip { margin-top: 6px; color: #ff8f7a; font-size: 0.875rem; }
.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--graphite-line);
	border-radius: var(--radius);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #ff8f7a; }

/* --- Подвал --- */
.tt-footer {
	padding-block: 48px;
	border-top: 1px solid var(--graphite-line);
	background: var(--black);
	color: var(--steel);
	font-size: 0.9375rem;
}
.tt-footer__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; }
.tt-footer__brand p { margin-top: 12px; }
.tt-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-self: center; }
.tt-footer__links a { text-underline-offset: 0.2em; }
.tt-footer__links a:hover { color: var(--white); }
.tt-footer__legal { grid-column: 1 / -1; max-width: 56em; font-size: 0.8125rem; }

/* Панель быстрой связи — только на телефоне */
.tt-dock { display: none; }

/* --- Обычные страницы и записи --- */
.tt-page { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.tt-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tt-entry__date { margin-top: -1.2em; margin-bottom: 2em; color: var(--ink-soft); }
.tt-teaser { padding-block: 28px; border-top: 1px solid var(--rule); }
.tt-teaser a { text-decoration: none; }
.tt-teaser a:hover { color: var(--green-deep); }
.tt-teaser .tt-entry__date { margin: 6px 0 10px; }
.tt-content > * + * { margin-top: 1.1em; }
.tt-content h2 { margin-top: 1.6em; font: 400 2rem/1.15 var(--display); }
.tt-content h3 { margin-top: 1.6em; font-size: 1.25rem; line-height: 1.3; }
.tt-content ul, .tt-content ol { padding-left: 1.3em; }
.tt-content ul { list-style: disc; }
.tt-content ol { list-style: decimal; }
.tt-content li + li { margin-top: 0.4em; }
.tt-content a { color: var(--green-deep); text-underline-offset: 0.2em; }
.tt-content img { height: auto; border-radius: var(--radius); }
.tt-content blockquote { padding-left: 20px; border-left: 2px solid var(--green); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 40px; }
.nav-links .current { font-weight: 600; }

/* --- Планшет --- */
@media (max-width: 1080px) {
	.tt-header__row { gap: 20px; }
	.tt-nav__list { gap: 20px; }
	.tt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tt-more { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 920px) {
	.tt-burger { display: block; }
	.tt-header__contact { margin-left: auto; }
	.tt-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		margin: 0;
		padding: 8px var(--gutter) 24px;
		border-bottom: 1px solid var(--graphite-line);
		background: var(--black);
	}
	.tt-nav.is-open { display: block; }
	.tt-nav__list { flex-direction: column; gap: 0; }
	.tt-nav a { padding: 14px 0; border-top: 1px solid var(--graphite-line); color: var(--white); font-size: 1.125rem; }

	.tt-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.tt-hero__bench { min-height: 0; padding-block: 24px 8px; }
	.tt-hero__gear { width: min(560px, 120%); }

	.tt-section__head,
	.tt-reviews,
	.tt-contacts,
	.tt-request { grid-template-columns: minmax(0, 1fr); }
	.tt-price { columns: 1; }
}

/* --- Телефон --- */
@media (max-width: 640px) {
	body { padding-bottom: 80px; }
	.tt-header__row { min-height: 68px; }
	.tt-logo { font-size: 1.375rem; }
	.tt-header__contact { display: none; }
	.tt-burger { margin-left: auto; }

	.tt-hero__facts { flex-direction: column; margin-top: 32px; }
	.tt-devices { gap: 8px; margin-top: 28px; }
	.tt-device { padding-inline: 16px; }
	.tt-ticket-wrap { rotate: -1deg; }
	.tt-ticket { padding-inline: 24px; }
	.tt-ticket__panel { min-height: 0; padding-bottom: 20px; }

	.tt-facts,
	.tt-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tt-step::before { font-size: 3.5rem; }
	.tt-more__item { grid-template-columns: minmax(0, 1fr); }
	.tt-contacts__list > div { grid-template-columns: minmax(0, 1fr); }
	.tt-contacts__map, .tt-contacts__map iframe { min-height: 340px; }
	.tt-form { grid-template-columns: minmax(0, 1fr); }
	.tt-form .wpcf7-submit { width: 100%; }
	.tt-footer__row { grid-template-columns: minmax(0, 1fr); }

	.tt-dock {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 30;
		display: grid;
		grid-template-columns: 1.4fr 1fr;
		gap: 10px;
		padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--graphite-line);
		background: var(--black);
	}
}

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

@media print {
	.tt-header, .tt-dock, .tt-hero__gear, .tt-contacts__map, .tt-request { display: none; }
}
