@font-face {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/onest-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/onest-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/onest-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('/fonts/unbounded-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('/fonts/unbounded-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --paper: #F3EFE8;
    --ink: #1A1A18;
    --text: #3F3C36;
    --muted: #5B574F;
    --line: #DDD6CA;
    --line-soft: #ECE6DB;
    --dark: #1A1A18;
    --dark-muted: #BDB7AC;
    --accent: #C8102E;
    --accent-dark: #A00D24;
    --gutter: clamp(16px, 5.5vw, 80px);
    --display: 'Unbounded', 'Onest', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Onest', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4vw, 44px); }
p { margin: 0; }
section { scroll-margin-top: 96px; }
.wrap { padding: clamp(64px, 8vw, 112px) var(--gutter); }
.white { background: #FFFFFF; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-family: inherit; cursor: pointer; white-space: nowrap; }
.btn:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #FFFFFF; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn svg { flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .inner { height: 80px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 76px; height: 36px; }
.brand b { display: block; font-family: var(--display); font-size: 19px; }
.brand small { display: block; font-size: 13px; color: var(--muted); }
.site-nav { display: flex; gap: 26px; flex: 1; font-weight: 500; white-space: nowrap; }
.site-nav a { text-decoration: none; }
.header-phone { text-align: right; }
.header-phone a { font-family: var(--display); font-weight: 500; font-size: 17px; text-decoration: none; white-space: nowrap; }
.header-phone small { display: block; font-size: 13px; color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 64px; }
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.award { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; }
.award svg { color: var(--accent); flex: none; }
.hero h1 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.05; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.note { font-size: 16px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.facts > * { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.facts b { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: clamp(20px, 2vw, 24px); }
.facts span { font-size: 14px; color: var(--muted); }
.hero-photo { width: 100%; height: clamp(320px, 42vw, 600px); object-fit: cover; border-radius: 28px; }

/* Section heads */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { font-size: 18px; color: var(--muted); max-width: 520px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.service { hyphens: auto; overflow-wrap: break-word; display: flex; flex-direction: column; gap: 12px; padding: 24px; min-height: 240px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-decoration: none; }
.service i { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); }
.service b { font-size: 20px; line-height: 1.25; }
.service span { flex: 1; font-size: 15px; color: var(--muted); }
.service strong { font-size: 16px; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.prices-intro { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; }
.prices-intro .lead { font-size: 18px; }
.pay { font-weight: 500; }
.pay a { text-decoration: none; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; }
.price-list { grid-column: span 8; margin: 0; padding: 8px 32px; list-style: none; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 18px; border-bottom: 1px solid var(--line-soft); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { white-space: nowrap; }
.tires { grid-column: 5 / span 8; padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.tires h3 { font-family: inherit; font-weight: 600; font-size: 22px; letter-spacing: 0; }
.tires h3 + p { margin-top: 4px; }
.tires table { width: 100%; border-collapse: collapse; font-size: 17px; }
.tires th, .tires td { padding: 12px 16px 12px 0; text-align: left; vertical-align: bottom; border-bottom: 1px solid var(--line-soft); }
.tires thead th { color: var(--muted); font-size: 15px; font-weight: 500; }
.tires tbody th { font-weight: 600; width: 22%; }
.tires td { white-space: nowrap; }
.tires tbody tr:last-child > * { border-bottom: 0; }
.small { font-size: 15px; color: var(--muted); }
.credit-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* About */
.about { background: var(--dark); color: #FFFFFF; }
.about .intro { max-width: 920px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.about .intro p { font-size: 20px; color: var(--dark-muted); }
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: 56px; }
.points div { padding-top: 22px; border-top: 2px solid var(--accent); }
.points b { display: block; font-size: 20px; margin-bottom: 10px; }
.points span { color: var(--dark-muted); }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
figure img { width: 100%; height: clamp(260px, 30vw, 420px); object-fit: cover; border-radius: 22px; }
.about figcaption { color: var(--dark-muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.steps b { font-size: 20px; }
.steps span { color: var(--muted); }

/* Reviews */
.badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge { min-height: 72px; padding: 12px 24px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.badge > b { font-family: var(--display); font-size: 26px; }
.rating { display: flex; align-items: center; gap: 6px; }
.rating svg { color: #FFBF00; flex: none; }
.badge span { display: flex; flex-direction: column; font-size: 14px; }
.badge span b { font-weight: 600; }
.badge span i { font-style: normal; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { padding: 30px; border-radius: 22px; background: var(--paper); }
.review blockquote { margin: 0; flex: 1; font-size: 18px; }
.stars { display: flex; gap: 2px; color: #FFBF00; }
.review-cta { margin-top: 32px; display: flex; justify-content: center; }
.review-cta .btn { white-space: normal; text-align: center; }
.review figcaption { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.faq h2 { grid-column: span 4; }
.faq-list { grid-column: span 8; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 6px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin-top: 14px; font-size: 17px; color: var(--text); max-width: 680px; }

/* Contacts */
.contacts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-top: 0; }
.contact-card { grid-column: span 5; padding: 44px; border-radius: 28px; background: var(--accent); color: #FFFFFF; display: flex; flex-direction: column; gap: 26px; }
.contact-card h2 { font-size: clamp(30px, 3vw, 38px); }
.contact-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.contact-card li { display: flex; gap: 12px; }
.contact-card li svg { flex: none; margin-top: 2px; }
.contact-card .tel { font-family: var(--display); font-weight: 500; font-size: 22px; text-decoration: none; color: #FFFFFF; }
.contact-card .buttons { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card .btn { border-color: #FFFFFF; color: #FFFFFF; }
.contact-card .btn:first-child { background: #FFFFFF; color: var(--ink); }
.contact-card .btn:hover { background: rgba(255, 255, 255, .12); }
.contact-card .btn:first-child:hover { background: #F3EFE8; }
.map { grid-column: span 7; min-height: 480px; border-radius: 28px; background: #E4DDD0; overflow: hidden; display: flex; }
.map iframe { flex: 1; min-height: 480px; border: 0; }

/* Directions */
.directions { padding-top: 0; }
.directions .section-head { margin-bottom: 32px; }
.directions .section-head p { font-size: 17px; }
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.route img { height: clamp(260px, 26vw, 380px); }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 56px var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.site-footer .brand b { color: #FFFFFF; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.site-footer a { color: var(--dark-muted); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; font-size: 14px; border-top: 1px solid #34322E; padding-top: 24px; }

/* Policy page */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.doc h2 { font-family: inherit; font-weight: 600; font-size: 20px; letter-spacing: 0; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 17px; color: var(--text); }
.doc ul { margin: 10px 0 0; padding-left: 22px; }
.site-header .inner > .btn:last-child:not(.header-call) { margin-left: auto; }

/* Cookie notice */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, .12); font-size: 15px; }
.cookie[hidden] { display: none; }
.cookie .btn { flex: none; min-height: 44px; }

/* Mobile call bar */
.call-bar { display: none; }

@media (max-width: 1100px) {
    .site-nav { display: none; }
    .hero { grid-template-columns: 1fr; gap: 40px; }
    .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .prices-intro, .price-list, .tires { grid-column: 1 / -1; }
    .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews { grid-template-columns: 1fr; }
    .faq h2, .faq-list { grid-column: 1 / -1; }
    .contact-card, .map { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .site-header .inner { height: 64px; gap: 12px; justify-content: space-between; }
    .brand img { width: 58px; height: 28px; }
    .brand small, .header-phone, .header-call { display: none; }
    .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
    .actions .btn { flex: 1; }
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hero, .prices, .faq, .contacts { grid-template-columns: minmax(0, 1fr); }
    .prices, .faq { gap: 24px; }
    .service { min-height: 0; padding: 18px; }
    .service b { font-size: 17px; }
    .price-list { padding: 4px 20px; }
    .price-list li { font-size: 16px; }
    .tires { padding: 20px 16px; }
    .tires table { font-size: 15px; }
    .tires th, .tires td { padding-right: 8px; }
    .tires thead th { font-size: 13px; hyphens: auto; }
    .points, .photos, .steps, .route { grid-template-columns: 1fr; }
    .contact-card { padding: 28px 20px; }
    .map, .map iframe { min-height: 320px; }
    .call-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid var(--line); }
    .call-bar a { min-height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; background: var(--paper); color: var(--ink); }
    .call-bar a:first-child { background: var(--accent); color: #FFFFFF; }
    .site-footer { padding-bottom: 110px; }
    .cookie { bottom: 84px; flex-direction: column; align-items: stretch; gap: 10px; }
}
