/*
Theme Name: Газ на авто — Абакан
Theme URI: https://example.com/
Author: Site Team
Description: Индивидуальная тема для центра установки и обслуживания ГБО в Абакане.
Version: 1.3.0
Text Domain: gbo-abakan
*/

:root {
    --blue: #075ee5;
    --blue-deep: #073a94;
    --navy: #07162f;
    --navy-soft: #10264c;
    --red: #e22a2a;
    --red-dark: #b8171d;
    --sky: #eaf3ff;
    --ice: #f5f8fd;
    --white: #fff;
    --text: #14233f;
    --muted: #66728a;
    --line: #dbe5f1;
    --shadow: 0 22px 55px rgba(7, 31, 78, .12);
    --radius: 26px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 12px 18px; background: #fff; color: #000; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(219, 229, 241, .85);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}
.site-header__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; flex-shrink: 0; line-height: 1; }
.brand__main { color: var(--navy); font-size: 27px; font-weight: 950; letter-spacing: -.075em; }
.brand__main b { color: var(--blue); }
.brand__sub { margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.custom-logo { max-height: 58px; width: auto; }
.site-nav__list { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; color: var(--navy); font-size: 14px; font-weight: 800; }
.site-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--navy); font-size: 16px; font-weight: 900; white-space: nowrap; text-align: right; }
.header-phone span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 12px; background: var(--navy); }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress { position: fixed; z-index: 250; top: 0; right: 0; left: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #28b8ff, var(--blue)); box-shadow: 0 0 12px rgba(7, 94, 229, .5); transform: scaleX(0); transform-origin: left center; }

.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: linear-gradient(145deg, #f7faff 0%, #edf5ff 58%, #fff 58%); }
.hero::before { position: absolute; top: -280px; right: -190px; width: 640px; height: 640px; content: ""; border-radius: 50%; background: rgba(7, 94, 229, .08); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 46px; }
.hero__content { max-width: 670px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 2px; content: ""; background: currentColor; }
.eyebrow--light { color: #cfe2ff; }
.hero h1, .page-hero h1 {
    margin: 18px 0 24px;
    color: var(--navy);
    font-size: clamp(48px, 7vw, 86px);
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: .94;
}
.hero h1 span, .page-hero h1 span { color: var(--blue); }
.hero__lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero__actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--red { color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(226, 42, 42, .22); }
.button--red:hover { background: var(--red-dark); }
.button--blue { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(7, 94, 229, .22); }
.button--outline { color: var(--navy); border-color: var(--line); background: #fff; }
.button--white { color: var(--blue-deep); background: #fff; }
.button--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .42); background: transparent; }
.button--disabled { cursor: default; opacity: .64; pointer-events: none; }
.button--projects { position: relative; overflow: hidden; min-width: 250px; gap: 14px; color: #fff; border-color: rgba(255, 255, 255, .2); background: linear-gradient(115deg, #074fc7, #0788f2); box-shadow: 0 14px 32px rgba(7, 94, 229, .3); animation: project-button-pulse 3.2s ease-in-out infinite; }
.button--projects::before { position: absolute; top: -90%; bottom: -90%; left: -45%; width: 34%; content: ""; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent); transform: rotate(18deg); animation: project-button-shine 3.8s ease-in-out infinite; }
.button--projects span, .button--projects b { position: relative; z-index: 1; }
.button--projects b { font-size: 22px; line-height: 1; transition: transform .22s ease; }
.button--projects:hover { color: #fff; box-shadow: 0 18px 38px rgba(7, 94, 229, .4); transform: translateY(-3px); }
.button--projects:hover b { transform: translateX(6px); }
.hero__visual { position: relative; min-height: 560px; transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0); transition: transform .25s ease-out; }
.hero__image-wrap { position: absolute; inset: 0 0 0 12px; overflow: hidden; border-radius: 48% 48% 26px 26px; background: #dceaff; box-shadow: var(--shadow); animation: hero-breathe 7s ease-in-out infinite; }
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__badge { position: absolute; z-index: 2; right: -16px; bottom: 28px; width: 190px; padding: 19px; border-radius: 18px; color: #fff; background: var(--navy); box-shadow: var(--shadow); animation: badge-float 5s ease-in-out infinite; }
.hero__badge strong { display: block; font-size: 24px; line-height: 1; white-space: nowrap; }
.hero__badge span { display: block; margin-top: 7px; color: #c8d6ec; font-size: 12px; line-height: 1.35; }

.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 25px 22px; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 16px; }
.trust-item span { color: var(--muted); font-size: 13px; }

.section { padding: 100px 0; }
.section--soft { background: var(--ice); }
.section--navy { color: #fff; background: var(--navy); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section__head h2, .contact-strip h2 { margin: 12px 0 0; color: var(--navy); font-size: clamp(38px, 5vw, 62px); font-weight: 950; letter-spacing: -.055em; line-height: 1; }
.section__head p { max-width: 470px; margin: 0; color: var(--muted); }
.section--navy .section__head h2 { color: #fff; }
.section--navy .section__head p { color: #b6c4da; }
.section--navy .eyebrow { color: #7fb0ff; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 320px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 35px rgba(7, 31, 78, .06); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card::after { position: absolute; right: -55px; bottom: -70px; width: 170px; height: 170px; content: ""; border-radius: 50%; background: var(--sky); }
.service-card--accent { color: #fff; border-color: var(--blue); background: linear-gradient(150deg, var(--blue), var(--blue-deep)); }
.service-card--accent::after { background: rgba(255, 255, 255, .1); }
.service-card__number { color: var(--blue); font-size: 13px; font-weight: 900; }
.service-card--accent .service-card__number { color: #cfe2ff; }
.service-card h3 { position: relative; z-index: 1; margin: 74px 0 14px; color: var(--navy); font-size: 26px; line-height: 1.12; }
.service-card--accent h3 { color: #fff; }
.service-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 15px; }
.service-card--accent p { color: #dbe7fa; }

.equipment-panel { display: grid; overflow: hidden; grid-template-columns: 1fr 1fr; border-radius: 34px; background: var(--navy); box-shadow: var(--shadow); }
.equipment-panel__image { min-height: 560px; }
.equipment-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.equipment-panel__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 78px); color: #fff; }
.equipment-panel__content h2 { margin: 15px 0 18px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.055em; line-height: 1; }
.equipment-panel__content p { margin: 0; color: #b9c7dc; }
.brand-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.brand-pills span { padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 800; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-card--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); transform: translateY(-10px); }
.price-card__tag { color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price-card__price { margin: 15px 0 8px; color: var(--navy); font-size: clamp(34px, 4vw, 48px); font-weight: 950; letter-spacing: -.045em; line-height: 1; }
.price-card__price small { color: var(--blue); font-size: 19px; }
.price-card p { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.price-card__mark { position: absolute; top: 20px; right: 20px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: process; }
.process-step { padding: 28px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 22px; counter-increment: process; }
.process-step::before { display: block; margin-bottom: 48px; color: #7fb0ff; content: "0" counter(process); font-size: 13px; font-weight: 900; }
.process-step h3 { margin: 0 0 10px; color: #fff; font-size: 20px; }
.process-step p { margin: 0; color: #aebdd3; font-size: 14px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-card__image { overflow: hidden; aspect-ratio: 1.22; background: var(--sky); }
.work-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-card__image img { transform: scale(1.035); }
.work-card__body { padding: 24px; }
.work-card__type { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.work-card h3 { margin: 8px 0 8px; color: var(--navy); font-size: 22px; line-height: 1.2; }
.work-card p { margin: 0; color: var(--muted); font-size: 14px; }

.about-split { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 64px; }
.about-split__media { position: relative; }
.about-split__media img { width: 100%; max-height: 660px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.about-split__content h2 { margin: 15px 0 20px; color: var(--navy); font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: 1; }
.about-split__content > p { color: var(--muted); font-size: 18px; }
.feature-list { display: grid; gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.feature-list li::before { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; content: "✓"; background: var(--blue); font-size: 12px; font-weight: 900; }

.page-hero { padding: 78px 0; background: linear-gradient(135deg, var(--ice), #eaf3ff); }
.page-hero h1 { max-width: 950px; margin-bottom: 18px; }
.page-hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: 20px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--blue); }
.content-area { padding: 80px 0 100px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 52px 0 16px; color: var(--navy); font-size: 36px; letter-spacing: -.035em; line-height: 1.1; }
.entry-content h3 { margin-top: 32px; color: var(--navy); }
.entry-content p, .entry-content li { color: #4d5d77; }
.entry-content a { color: var(--blue); text-decoration: underline; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 42px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.info-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; }
.info-card p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; margin-top: 30px; }
.faq-list details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-list summary { cursor: pointer; color: var(--navy); font-weight: 850; }
.faq-list p { margin: 14px 0 0; color: var(--muted); }

.contacts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.contacts-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contacts-card h2 { margin: 0 0 26px; color: var(--navy); font-size: 30px; }
.contact-row { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-row strong, .contact-row a { display: block; margin-top: 5px; color: var(--navy); font-size: 18px; }
.contacts-map { overflow: hidden; min-height: 520px; border-radius: var(--radius); background: var(--sky); }
.contacts-map img { width: 100%; height: 100%; object-fit: cover; }
.requisites { margin-top: 20px; padding: 30px; border-radius: 22px; background: var(--ice); }
.requisites h3 { margin-top: 0; color: var(--navy); }
.requisites dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; margin-bottom: 0; }
.requisites dt { color: var(--muted); }
.requisites dd { margin: 0; color: var(--navy); font-weight: 700; }

.single-work__media { margin: 38px 0; overflow: hidden; border-radius: var(--radius); }
.single-work__media img { width: 100%; max-height: 760px; object-fit: cover; }
.empty-state { padding: 70px 30px; border: 1px dashed #b9c9dc; border-radius: var(--radius); text-align: center; }
.empty-state h2 { margin: 0 0 12px; color: var(--navy); }
.pagination { margin-top: 46px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; }
.page-numbers.current { color: #fff; border-color: var(--blue); background: var(--blue); }

.contact-strip { padding: 66px 0; color: #fff; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.contact-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.contact-strip h2 { max-width: 720px; color: #fff; font-size: clamp(34px, 4vw, 52px); }
.contact-strip__actions { display: flex; flex-shrink: 0; flex-direction: column; gap: 10px; }
.site-footer { padding: 68px 0 24px; color: #aebbd0; background: #050f22; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 70px; }
.brand--footer .brand__main { color: #fff; }
.site-footer h3 { margin: 0 0 18px; color: #fff; font-size: 14px; text-transform: uppercase; }
.site-footer p { max-width: 340px; margin: 15px 0 0; font-size: 14px; }
.footer-menu, .site-footer .site-nav__list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .25, 1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(.965); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.has-pointer-glow { position: relative; isolation: isolate; }
.has-pointer-glow::before { position: absolute; z-index: 0; inset: 0; content: ""; border-radius: inherit; background: radial-gradient(280px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(38, 166, 255, .14), transparent 62%); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.has-pointer-glow:hover::before { opacity: 1; }
.has-pointer-glow > * { position: relative; z-index: 1; }
.service-card--accent.has-pointer-glow::before { background: radial-gradient(300px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, .18), transparent 64%); }

.tire-popup { position: fixed; z-index: 300; right: 24px; bottom: 24px; display: grid; width: min(460px, calc(100% - 32px)); pointer-events: none; opacity: 0; transform: translateY(28px) scale(.95); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .25, 1); }
.tire-popup.is-visible { pointer-events: auto; opacity: 1; transform: translateY(0) scale(1); }
.tire-popup__backdrop { display: none; }
.tire-popup__card { position: relative; display: grid; grid-template-columns: 128px 1fr; gap: 16px; overflow: hidden; padding: 24px 50px 24px 22px; border: 1px solid rgba(130, 207, 255, .72); border-radius: 24px; color: #fff; background: radial-gradient(circle at 0% 110%, rgba(13, 146, 255, .82), transparent 40%), linear-gradient(135deg, #061a41 0%, #074fae 100%); box-shadow: 0 24px 60px rgba(3, 22, 61, .36), 0 0 0 5px rgba(7, 94, 229, .13); }
.tire-popup__card::before, .tire-popup__card::after { position: absolute; content: ""; border-radius: 50%; pointer-events: none; }
.tire-popup__card::before { top: -122px; right: -96px; width: 250px; height: 250px; border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 0 0 28px rgba(255, 255, 255, .05), 0 0 0 56px rgba(255, 255, 255, .035); }
.tire-popup__card::after { bottom: -92px; left: 76px; width: 166px; height: 166px; background: rgba(255, 255, 255, .06); }
.tire-popup__wheel { position: relative; z-index: 1; display: grid; width: 118px; height: 118px; place-items: center; filter: drop-shadow(0 13px 18px rgba(0, 0, 0, .28)); }
.tire-popup__wheel svg { width: 100%; height: 100%; animation: tire-wheel-spin 12s linear infinite; }
.tire-popup__content { position: relative; z-index: 1; }
.tire-popup__eyebrow { display: inline-flex; margin-bottom: 8px; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--red); box-shadow: 0 6px 16px rgba(226, 42, 42, .32); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tire-popup h2 { margin: 0; color: #fff; font-size: 26px; font-weight: 950; letter-spacing: -.04em; line-height: 1.05; }
.tire-popup p { margin: 9px 0 17px; color: #d9ebff; font-size: 13px; line-height: 1.45; }
.tire-popup__call { display: inline-flex; min-height: 46px; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 12px; color: var(--navy); background: #fff; box-shadow: 0 12px 22px rgba(0, 0, 0, .16); font-size: 13px; font-weight: 900; transition: transform .2s ease, background .2s ease; }
.tire-popup__call:hover { color: var(--navy); background: #dff2ff; transform: translateY(-2px); }
.tire-popup__call span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 12px; }
.tire-popup__close { position: absolute; z-index: 2; top: 11px; right: 11px; display: grid; width: 31px; height: 31px; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); font-size: 24px; line-height: 1; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.tire-popup__close:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }

.mobile-quickbar { display: none; }

@keyframes hero-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.012); }
}
@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes project-button-pulse {
    0%, 100% { box-shadow: 0 14px 32px rgba(7, 94, 229, .27); }
    50% { box-shadow: 0 17px 38px rgba(7, 94, 229, .42); }
}
@keyframes project-button-shine {
    0%, 58% { left: -45%; }
    82%, 100% { left: 125%; }
}
@keyframes tire-wheel-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1020px) {
    .site-nav__list { gap: 18px; }
    .hero__grid { grid-template-columns: 1fr 1fr; }
    .hero__visual { min-height: 480px; }
    .service-grid, .price-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-strip__inner { align-items: flex-start; flex-direction: column; }
    .contact-strip__actions { flex-direction: row; }
}

@media (max-width: 820px) {
    body { font-size: 16px; }
    .container, .narrow { width: min(100% - 28px, var(--container)); }
    .site-header__inner { min-height: 72px; }
    .site-nav { position: fixed; z-index: 99; top: 72px; right: 0; left: 0; display: none; height: calc(100vh - 72px); padding: 26px 22px; background: #fff; }
    .site-nav.is-open { display: block; }
    .site-nav__list { align-items: stretch; flex-direction: column; gap: 0; }
    .site-nav a { display: block; padding: 17px 6px; border-bottom: 1px solid var(--line); font-size: 18px; }
    .header-phone { display: none; }
    .menu-toggle { display: block; }
    .hero { padding: 50px 0 34px; background: linear-gradient(145deg, #f7faff, #edf5ff); }
    .hero__grid { grid-template-columns: 1fr; }
    .hero h1, .page-hero h1 { font-size: clamp(46px, 15vw, 70px); }
    .hero__visual { min-height: auto; }
    .hero__image-wrap { position: relative; inset: auto; aspect-ratio: 1 / .92; border-radius: 26px; }
    .hero__badge { right: 12px; bottom: 12px; }
    .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
    .section { padding: 72px 0; }
    .section__head { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 32px; }
    .equipment-panel { grid-template-columns: 1fr; }
    .equipment-panel__image { min-height: 430px; }
    .about-split, .contacts-grid { grid-template-columns: 1fr; gap: 34px; }
    .contacts-map { min-height: 420px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    [data-reveal="left"], [data-reveal="right"] { transform: translateY(22px); }
    .brand__main { font-size: 23px; }
    .brand__sub { font-size: 8px; }
    .section { padding: 58px 0; }
    .section__head h2, .contact-strip h2 { font-size: 36px; }
    .page-hero { padding: 54px 0; }
    .page-hero h1 { font-size: 46px; }
    .page-hero p { font-size: 17px; }
    .hero__actions .button, .button-row .button { width: 100%; }
    .hero__badge { width: 158px; }
    .hero__badge strong { font-size: 20px; }
    .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid, .price-grid, .work-grid, .info-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item { border-left: 1px solid var(--line); }
    .trust-item { padding: 18px 14px; }
    .trust-item strong { font-size: 14px; }
    .trust-item span { font-size: 11px; }
    .service-card { min-height: 0; padding: 24px; }
    .service-card h3 { margin: 36px 0 10px; font-size: 23px; }
    .service-card::after { width: 120px; height: 120px; }
    .price-card--featured { transform: none; }
    .price-card { padding: 28px 24px; }
    .process-step { padding: 18px 15px; }
    .process-step::before { margin-bottom: 28px; }
    .process-step h3 { font-size: 17px; }
    .process-step p { font-size: 12px; }
    .equipment-panel__image { min-height: 340px; }
    .equipment-panel__content { padding: 34px 24px; }
    .contacts-card, .requisites { padding: 24px; }
    .contacts-map { min-height: 320px; }
    .contact-strip__actions { width: 100%; flex-direction: column; }
    .contact-strip__actions .button { width: 100%; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
    .site-footer__grid > :first-child { grid-column: auto; }
    .site-footer__bottom { flex-direction: column; }
    .requisites dl { grid-template-columns: 1fr; }
    .requisites dd { margin-bottom: 10px; }
    .mobile-quickbar { position: fixed; z-index: 210; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 92px; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(7, 31, 78, .12); background: rgba(255, 255, 255, .94); box-shadow: 0 -10px 30px rgba(7, 31, 78, .11); backdrop-filter: blur(16px); }
    .mobile-quickbar__call, .mobile-quickbar__max { display: flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 13px; color: #fff; background: var(--red); font-size: 13px; font-weight: 900; }
    .mobile-quickbar__call { flex-direction: column; line-height: 1.15; }
    .mobile-quickbar__call strong { margin-top: 3px; font-size: 15px; }
    .mobile-quickbar__max { flex-direction: column; background: var(--blue); }
    .mobile-quickbar__max small { font-size: 9px; font-weight: 700; opacity: .76; }
    .mobile-quickbar__max.is-disabled { opacity: .55; }
    .tire-popup { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: calc(100% - 28px); }
    .tire-popup__backdrop { position: fixed; inset: 0; display: block; background: rgba(5, 15, 34, .36); backdrop-filter: blur(2px); }
    .tire-popup__card { grid-template-columns: 88px 1fr; gap: 12px; padding: 20px 41px 20px 16px; border-radius: 20px; }
    .tire-popup__wheel { width: 82px; height: 82px; align-self: center; }
    .tire-popup h2 { font-size: 22px; }
    .tire-popup p { margin: 7px 0 13px; font-size: 12px; }
    .tire-popup__call { width: 100%; min-height: 43px; justify-content: center; padding: 8px 10px; font-size: 12px; }
    .tire-popup__close { top: 8px; right: 8px; width: 28px; height: 28px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
