:root {
  color-scheme: light;
  --ink: #162c22;
  --dark: #10271e;
  --lime: #d7f793;
  --cream: #f5f6ee;
  --paper: #fdfef9;
  --muted: #475d50;
  --line: #d9e1d4;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
:focus-visible { outline: 3px solid #50814a; outline-offset: 4px; }
.wrap { width: min(100% - 90px, 1190px); margin-inline: auto; }
.skip { position: absolute; z-index: 9; left: 12px; top: 8px; padding: 12px; background: var(--lime); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; min-height: 77px; }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: var(--dark); color: var(--lime); }
.brand-icon svg { width: 25px; height: 25px; }
.brand strong { display: block; font-size: 23px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.brand small { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; font-weight: 700; }
.nav, .languages { display: flex; align-items: center; gap: 5px; }
.nav a, .languages a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.nav a:hover, .languages a:hover { background: #ecf1e4; }
.nav a[aria-current] { background: #e7efd9; }
.languages { justify-self: end; gap: 1px; }
.languages a { min-width: 39px; padding: 5px; font-size: 12px; }
.languages a[aria-current] { background: var(--dark); color: var(--lime); }
.hero, .journal-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 31%; background: url("/assets/garage.webp") center 55% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark), #10271edc 16%, #10271e5f 50%, transparent 76%); }
.hero-inner { padding-block: clamp(52px, 7vw, 92px); }
.place { color: #dbeedb; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.hero h1 { margin: 18px 0; font-size: clamp(3rem, 6.25vw, 5.75rem); font-weight: 900; line-height: .99; letter-spacing: -.062em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero p, .journal-hero p { margin: 0; max-width: 440px; color: #e1ece3; font-size: 17px; line-height: 1.55; }
.hero .hero-vehicle-limit { margin-top: 10px; color: var(--lime); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero .actions { margin-top: 25px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border-radius: 9px; border: 1px solid transparent; line-height: 1.2; font-weight: 700; font-size: 14px; text-align: center; }
.btn.lime { background: var(--lime); color: var(--dark); }
.btn.lime:hover { background: #e4ffac; }
.btn.outline { border-color: #9db7a5; color: #fff; background: #10271eb3; }
.btn.outline:hover { background: #2c4f3d; }
.btn.dark { background: var(--dark); color: #fff; }
.btn.dark:hover { background: #294936; }
.btn.light { background: #edf4e3; border-color: #a7baa5; color: var(--ink); }
.btn.light:hover { background: #dceccb; }
.hero a:focus-visible, .journal-hero a:focus-visible { outline-color: var(--lime); }
.pricing-band { border-bottom: 1px solid #cfdcc5; background: #e7efdf; }
.pricing-inner { display: flex; align-items: flex-start; gap: 11px; padding-block: 15px; }
.pricing-inner svg { width: 22px; height: 22px; color: #34593c; }
.pricing-inner p { margin: 0; font-size: clamp(15px, 2.1vw, 18px); font-weight: 700; line-height: 1.45; }
.home-sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, .48fr); align-items: start; gap: clamp(25px, 4vw, 58px); padding-block: 48px 65px; }
h2 { margin: 0; font-size: clamp(1.85rem, 3.2vw, 2.65rem); letter-spacing: -.045em; line-height: 1.09; font-weight: 900; }
.section-intro { margin: 9px 0 20px; color: var(--muted); line-height: 1.45; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service { display: flex; flex-direction: column; min-height: 115px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.warranty-card, .fleet-card { border-color: #b9cbae; background: #eef4e7; }
.service-summary { flex: 1; min-width: 0; min-height: 113px; padding: 15px; border-radius: inherit; cursor: pointer; list-style: none; }
.service-summary::-webkit-details-marker { display: none; }
.service-summary:hover { background: #edf4e6; }
.service-summary-heading { margin: 0; font-weight: 400; }
.service-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 9px; }
.service-icon, .service-plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #e6eedf; color: #3b6547; }
.service-plus { width: 30px; height: 30px; border: 1px solid #d7e3d2; background: transparent; }
.service[open] .service-plus svg { transform: rotate(45deg); }
.service-title { display: block; font-size: 16px; line-height: 1.23; }
.service-caption { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.38; }
.service-content { padding: 0 15px 15px; }
.service:not([open]) .service-content { display: none; }
.service-facts { display: grid; gap: 12px; margin: 0; }
.service-facts > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f2f6ec; }
.service-facts dt { font-size: 14px; font-weight: 700; color: var(--ink); }
.service-facts dd { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; }
.service-actions .source { min-height: 44px; }
.service-providers { margin-top: 16px; }
.service-providers h4 { margin: 0 0 6px; font-size: 16px; }
.service-providers ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.service-providers li { padding: 0 12px 8px; border: 1px solid var(--line); border-radius: 9px; }
.service-providers .source { min-height: 44px; }
.service-providers p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.service-dialog { width: min(100% - 32px, 620px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #cbd9c4; border-radius: 17px; color: var(--ink); background: var(--paper); box-shadow: 0 16px 50px #0c211b66; }
.service-dialog::backdrop { background: #0b201bd1; }
.service-dialog-panel { --dialog-gutter: clamp(16px, 4vw, 26px); }
.service-dialog-heading { position: sticky; inset-block-start: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: var(--dialog-gutter) var(--dialog-gutter) 12px; background: var(--paper); }
#service-dialog-title { min-width: 0; margin: 0; font-size: clamp(1.35rem, 4vw, 1.95rem); font-weight: 900; line-height: 1.09; letter-spacing: -.045em; align-self: center; overflow-wrap: anywhere; }
#service-dialog-title:focus { outline: none; }
.service-dialog-body { padding: 0 var(--dialog-gutter) var(--dialog-gutter); }
.service-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #edf4e6; color: var(--dark); font: inherit; cursor: pointer; }
.service-close:hover { background: #dceccb; }
html:has(.service-dialog[open]) { overflow: hidden; }
.contact-card { padding: 25px; border: 1px solid var(--line); background: var(--paper); border-radius: 17px; }
.contact-card h2 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.contact-card p { color: var(--muted); line-height: 1.5; font-size: 14px; margin: 9px 0 18px; }
.contact-card address { display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; font-size: 15px; font-style: normal; margin-bottom: 15px; }
.contact-card address svg { margin-top: 2px; }
.number { display: inline-flex; align-items: center; min-height: 38px; color: var(--ink); font-weight: 700; font-size: 20px; }
.number:hover, .source:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card .actions { margin-top: 10px; }
.contact-card .btn { flex: 1 1 auto; }
.contact-card .directions { flex-basis: 100%; }
.contact-card .contact-languages { font-size: 12px; margin: 16px 0 0; }
.workshop-photo { display: block; width: 100%; height: auto; margin-top: 18px; border-radius: 10px; }
.journal-hero::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 55%; background: radial-gradient(ellipse at 68% 30%, #658a4d80, #224b36 42%, transparent 78%), repeating-linear-gradient(122deg, transparent 0 33px, #9dc17a16 34px 35px); mask-image: linear-gradient(90deg, transparent, black 45%); }
.journal-hero .wrap { padding-block: 58px 62px; }
.journal-hero h1 { margin: 0 0 12px; color: #f9fff5; font-size: clamp(2.35rem, 5vw, 4.4rem); font-weight: 900; letter-spacing: -.06em; line-height: 1.03; }
.journal-hero p { max-width: 570px; }
.journal { padding-block: 33px 58px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 14px; border: 1px solid #c8d5c7; border-radius: 22px; background: var(--paper); font-size: 14px; font-weight: 700; }
.filters a:hover { background: #e7efdc; }
.filters a[aria-current] { background: var(--dark); border-color: var(--dark); color: var(--lime); }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 15px; }
.article { padding: clamp(18px, 3vw, 29px); border: 1px solid var(--line); border-radius: 15px; background: var(--paper); min-width: 0; }
.article:first-child { grid-column: 1 / -1; background: #e9f1de; border-color: #cddcc3; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.article-meta span { padding: 5px 8px; background: #dde9d2; border-radius: 5px; color: #31573a; font-weight: 700; }
.article-meta time + time { border-left: 1px solid #bdc8bd; padding-left: 9px; }
.article h2 { margin: 12px 0 9px; font-size: clamp(1.2rem, 2.4vw, 1.75rem); line-height: 1.18; letter-spacing: -.027em; }
.article:first-child h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.article p { font-size: 15px; line-height: 1.56; color: var(--muted); max-width: 74ch; margin: 0 0 10px; }
.article details { margin: 6px 0; }
.article summary { color: #325e3e; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 42px; align-content: center; width: fit-content; }
.article details[open] summary { margin-bottom: 3px; }
.source { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: 5px; min-height: 42px; color: #31583d; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.pagination { display: flex; justify-content: space-between; gap: 12px; margin-top: 23px; }
.empty { margin: 0; color: var(--muted); }
.footer { border-top: 1px solid var(--line); background: #ecf0e5; }
.footer-inner { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding-block: 23px; }
.footer strong, .footer small { display: block; }
.footer small { color: var(--muted); margin-top: 5px; }
.footer a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; font-weight: 700; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mobile-actions { display: none; }
@font-face { font-family: Roboto; src: url("/assets/roboto-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Roboto; src: url("/assets/roboto-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Roboto; src: url("/assets/roboto-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
html:lang(ru), html:lang(uk) { font-family: Arial, sans-serif; }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 12px; }
  .nav a { padding-inline: 9px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding-block: 9px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-icon { flex: none; width: 38px; height: 38px; border-radius: 9px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 9px; white-space: normal; }
  .nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { font-size: 13px; text-align: center; min-height: 40px; padding: 4px; }
  .languages a { min-width: 34px; }
  .hero-inner { padding-block: 39px 43px; }
  .hero-photo { inset: 0; background-image: url("/assets/garage-mobile.webp"); background-position: 63% 48%; }
  .hero-photo::after { background: linear-gradient(90deg, #10271ef7, #10271eb8 53%, #10271e54), linear-gradient(0deg, #10271eb0, transparent 75%); }
  .hero h1 { font-size: clamp(2.15rem, 9.45vw, 3.8rem); }
  .hero p, .journal-hero p { font-size: 15px; }
  .home-sections { grid-template-columns: 1fr; gap: 23px; padding-block: 32px 38px; }
  .contact-card { padding: 18px; }
  .journal-hero .wrap { padding-block: 37px 40px; }
  .journal { padding-block: 21px 33px; }
  .article-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { flex-wrap: wrap; padding-block: 16px; }
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .mobile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-actions .btn { min-height: 45px; padding: 6px; font-size: 13px; }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .service, .service-summary { min-height: 0; }
  .service-summary { padding: 13px; }
  .service-summary-heading { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; align-items: start; gap: 4px 11px; }
  .service-card-top { display: contents; }
  .service-icon { grid-column: 1; grid-row: 1 / span 2; }
  .service-plus { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .service-title { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; }
  .service-caption { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 14px; }
}
@media (max-width: 385px) {
  .hero .actions { gap: 7px; }
  .hero .btn { padding-inline: 9px; }
  .services-grid { gap: 8px; }
  .service-summary, .service-content { padding-inline: 11px; }
  .service-summary { padding-block: 11px; }
}

.language-menu { position: relative; justify-self: end; z-index: 4; }
.language-menu > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 9px; border: 1px solid #8a5d07; border-radius: 9px; background: #ffcf24; color: var(--dark); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; list-style: none; }
.language-menu > summary bdi { padding: 3px 4px; border-radius: 4px; background: var(--dark); color: #fff; font-size: 10px; }
.language-menu > summary::-webkit-details-marker { display: none; }
.language-menu > summary:hover, .language-menu[open] > summary { background: #ffe164; }
.language-menu .languages { position: absolute; inset-block-start: calc(100% + 7px); inset-inline-end: 0; min-width: 165px; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; display: grid; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 8px 24px #182d2520; }
.language-menu .languages a { justify-content: flex-start; padding-inline: 10px; font-size: 14px; }
html[dir="rtl"] .hero-photo { inset: 0 31% 0 0; transform: scaleX(-1); }
html[dir="rtl"] .hero h1, html[dir="rtl"] .journal-hero h1, html[dir="rtl"] h2 { letter-spacing: 0; line-height: 1.18; }
html[lang^="zh"] .hero h1, html[lang^="zh"] .journal-hero h1 { letter-spacing: -.03em; }
@media (max-width: 760px) {
  html[dir="rtl"] .hero-photo { inset: 0; }
  .language-menu { grid-column: 2; grid-row: 1; }
}
.language-prompt { width: min(100% - 32px, 440px); max-height: calc(100% - 32px); overflow-y: auto; padding: 24px; border: 1px solid #cbd9c4; border-radius: 17px; color: var(--ink); background: var(--paper); box-shadow: 0 16px 50px #0c211b66; }
.language-prompt::backdrop { background: #0b201bd1; }
.prompt-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; color: var(--dark); background: var(--lime); margin-bottom: 13px; }
.prompt-icon svg { width: 24px; height: 24px; }
.language-prompt h2 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
.language-prompt[dir="rtl"] h2 { letter-spacing: 0; line-height: 1.2; }
.language-prompt p { margin: 10px 0 19px; color: var(--muted); line-height: 1.5; }
.language-prompt .btn { flex: 1 1 auto; }
@media (max-width: 355px) {
  .language-menu > summary { gap: 4px; padding-inline: 7px; font-size: 12px; }
}
