@font-face {
  font-family: Golos;
  src: url("./assets/golos-text-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Golos;
  src: url("./assets/golos-text-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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: Remix;
  src: url("./assets/remixicon.woff2") format("woff2");
  font-display: block;
}
@font-face {
  font-family: MessengerIcons;
  src: url("./assets/fa-brands.woff2") format("woff2");
  font-display: block;
}

:root {
  color-scheme: light;
  --ink: #17252b;
  --dark: #152229;
  --darkest: #101b20;
  --muted: #506169;
  --paper: #f5f7f7;
  --line: #dce4e5;
  --accent: #ff834d;
  --accent-hover: #ff9a6e;
  --accent-dark: #a43c1a;
  --white: #fff;
  --wrap: 1184px;
  --gutter: clamp(20px, 5.55vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); font: 400 16px/1.55 Golos, Arial, sans-serif; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #d45327; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand, .service-name, .price { font-family: Manrope, Golos, Arial, sans-serif; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; inset: 8px auto auto 8px; padding: 10px 16px; transform: translateY(-150%); background: white; border-radius: 5px; }
.skip-link:focus { transform: none; }
.icon { display: inline-block; flex: none; font: normal 1.2em/1 Remix; }
.bolt::before { content: "\ed3d"; }
.wheel::before { content: "\f193"; }
.truck::before { content: "\f231"; }
.gauge::before { content: "\ec12"; }
.driver::before { content: "\f266"; }
.fuel::before { content: "\edad"; }
.pin::before { content: "\ef0a"; }
.phone::before { content: "\efec"; }
.next::before { content: "\ea13"; }
.close::before { content: "\eb99"; }
.locate::before { content: "\ef89"; }
.brand-icon { display: inline-block; flex: none; font: normal 21px/1 MessengerIcons; }
.brand-icon.whatsapp::before { content: "\f232"; }
.brand-icon.telegram::before { content: "\f2c6"; }
.brand-icon.viber::before { content: "\f409"; }

.header { position: relative; z-index: 2; background: var(--darkest); color: var(--white); border-bottom: 1px solid #ffffff20; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; text-decoration: none; font-size: 25px; line-height: 1; letter-spacing: -.06em; font-weight: 800; }
.brand small { display: block; margin-top: 6px; color: #bdccd0; font: 500 12px/1 Golos, Arial, sans-serif; letter-spacing: 0; }
.brand-mark { width: 39px; height: 39px; flex: none; border-radius: 9px; background: var(--accent); color: var(--darkest); display: grid; place-items: center; }
.brand-mark span { position: relative; width: 14px; height: 23px; border-inline: 2px solid currentColor; transform: skewX(-20deg); }
.brand-mark span::before { content: ""; position: absolute; inset: 1px auto 1px 4px; border-left: 2px dashed currentColor; }
.nav, .service-nav { display: flex; gap: clamp(16px, 3.1vw, 46px); align-items: center; }
.nav a, .service-nav a { text-decoration: none; color: #e5eded; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .service-nav a:hover { color: var(--accent); }
.service-nav { justify-content: center; border-top: 1px solid #ffffff20; }
.service-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.mobile-nav, .mobile-label { display: none; }
.header-contacts, .footer-contacts, .messengers { display: flex; align-items: center; gap: 7px; }
.header-contacts, .footer-contacts { gap: 12px; }
.messenger { display: grid; width: 44px; height: 44px; place-items: center; flex: none; text-decoration: none; border: 1px solid #ffffff28; border-radius: 8px; background: #ffffff09; }
.messenger.whatsapp { color: #90e4ad; }
.messenger.telegram { color: #a1d7ff; }
.messenger.viber { color: #d8c0ff; }
.messenger:hover { background: #ffffff17; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; min-height: 54px; padding: 11px 22px; border-radius: 8px; color: var(--ink); text-decoration: none; text-align: center; font-weight: 650; line-height: 1.2; background: transparent; }
.primary { background: var(--accent); color: #21150f; }
.primary:hover { background: var(--accent-hover); }
.header-call { border-color: #ff834d75; color: #ffd1bd; min-height: 44px; font-size: 14px; padding-inline: 14px; }
.header-call:hover { background: #ff834d20; }
.secondary { border-color: #ffffff55; color: var(--white); background: #15222955; }
.secondary:hover { background: #ffffff18; }
.outline { background: var(--white); border-color: #aebdc0; }
.outline:hover { background: #eaf0ef; }

.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--white); isolation: isolate; }
.hero-media, .hero::before { position: absolute; inset: 0; z-index: -1; }
.hero-media { left: 31%; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 55%; }
.hero::before { content: ""; z-index: 0; pointer-events: none; background: linear-gradient(90deg, #152229 26%, #152229fa 34%, #152229a8 48%, #15222910 71%, #15222910 100%); }
.hero-inner { position: relative; min-height: clamp(470px, 43vw, 590px); padding-block: clamp(64px, 7vw, 105px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.location { display: inline-flex; gap: 7px; align-items: center; color: #ffe0d3; font-size: 15px; font-weight: 600; margin-bottom: 20px; background: #f58a5420; border: 1px solid #ff834d55; padding: 6px 12px; border-radius: 6px; }
.location .icon { color: #ffab84; }
.hero h1 { font-size: clamp(52px, 7vw, 100px); letter-spacing: -.075em; line-height: 1; font-weight: 800; }
.hero h1 span { display: block; margin-top: 8px; color: #ffab84; font-size: .56em; letter-spacing: -.045em; }
.hero-description { max-width: 395px; color: #e5eeee; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; margin-top: 25px; }
.hero-actions { display: flex; gap: 12px; margin-top: 29px; }

.section { padding-block: clamp(55px, 6.2vw, 93px); }
.section h2, .section-head h1 { font-weight: 800; font-size: clamp(34px, 4.4vw, 59px); letter-spacing: -.067em; line-height: 1.06; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 25px; }
.section-head p { color: var(--muted); max-width: 390px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; min-width: 0; min-height: 230px; text-align: left; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.service-card:hover { border-color: #dd8260; background: #fffdfb; }
.service-symbol { width: 44px; height: 44px; display: grid; place-items: center; background: #faebe4; color: var(--accent-dark); border-radius: 9px; margin-bottom: 16px; }
.service-symbol .icon { font-size: 24px; }
.service-name { font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; line-height: 1.16; letter-spacing: -.044em; }
.service-description { color: var(--muted); font-size: 15px; line-height: 1.4; max-width: 28ch; margin-block: 7px 14px; }
.service-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.price { color: var(--accent-dark); line-height: 1.2; font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.price small { font-size: .61em; letter-spacing: -.015em; font-weight: 800; }
.card-open { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--line); flex: none; color: var(--ink); }
.service-card:hover .card-open { background: var(--accent); border-color: var(--accent); }
.price-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.order { background: #eaf0ef; }
.process, .faq-inner { display: grid; grid-template-columns: 1fr 1.22fr; gap: clamp(28px, 6vw, 88px); }
.process-intro p { max-width: 32ch; margin-block: 15px 23px; color: var(--muted); }
.steps { padding: 0; margin: 0; list-style: none; border-top: 1px solid #cbd8d8; }
.steps li { display: flex; gap: 17px; align-items: flex-start; padding-block: 17px; border-bottom: 1px solid #cbd8d8; }
.steps li > span { flex: none; min-width: 39px; padding: 3px 7px; text-align: center; border-radius: 4px; color: var(--accent-dark); background: #fff7f1; font-weight: 700; font-size: 14px; }
.steps h3 { font-size: 21px; letter-spacing: -.034em; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.steps p, .accordion p { color: var(--muted); }
.accordion { border-top: 1px solid #d3dede; }
.accordion details { border-bottom: 1px solid #d3dede; }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; min-height: 58px; padding-block: 11px; font-weight: 650; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "\ea13"; color: var(--accent-dark); font: normal 22px/1 Remix; }
.accordion details[open] summary::after { content: "\f1af"; }
.accordion p { padding: 0 30px 16px 0; }

.footer { background: var(--darkest); color: var(--white); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 34px; padding-block: 30px; }
.footer-inner p { color: #c4d0d4; display: flex; gap: 7px; align-items: center; }
.footer-contacts { margin-left: auto; }
.footer-contact { font-weight: 650; white-space: nowrap; }
.mobile-bar { display: none; }

.detail-hero { background: var(--dark); color: var(--white); padding-block: 24px 48px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: #c4d0d4; font-size: 14px; }
.breadcrumbs a { text-underline-offset: 3px; }
.breadcrumbs [aria-current="page"] { color: #fff; }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: clamp(22px, 6vw, 86px); padding-top: clamp(25px, 5vw, 65px); }
.detail-intro h1 { font-family: Manrope, Golos, sans-serif; font-size: clamp(37px, 6vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -.067em; max-width: 17ch; }
.detail-intro p { max-width: 62ch; color: #e5eeee; font-size: clamp(16px, 1.45vw, 19px); margin-top: 15px; }
.tariff-card { padding: 20px; border: 1px solid #ffffff30; background: #ffffff08; border-radius: 12px; }
.tariff-card h2 { font-size: 16px; color: #cedadc; margin-bottom: 7px; }
.tariff-card .price { display: block; color: #ffac89; font-size: 34px; }
.tariff-card p { margin-block: 8px 13px; }
.tariff-card .button { width: 100%; }
.battery-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, 44%); align-items: start; gap: clamp(22px, 4vw, 64px); }
.battery-hero-grid h1 { font-size: clamp(35px, 5.1vw, 70px); }
.battery-sidebar { display: grid; gap: 12px; }
.battery-tariffs h2 { color: #ffab84; font-size: clamp(17px, 2vw, 22px); line-height: 1.2; }
.engine-tariffs { margin: 14px 0; border-top: 1px solid #ffffff30; }
.engine-tariffs div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding-block: 8px; border-bottom: 1px solid #ffffff30; }
.engine-tariffs dd { margin: 0; font-weight: 700; white-space: nowrap; }
.battery-tariffs .arrival-time { margin-bottom: 0; color: #ffab84; font-weight: 700; }
.detail-content { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(230px, 1fr); gap: clamp(26px, 5vw, 76px); align-items: start; }
.battery-content { display: block; }
.battery-content .detail-article { max-width: 760px; }
.detail-article { display: grid; gap: 36px; }
.detail-section h2 { font-size: clamp(24px, 3.2vw, 41px); letter-spacing: -.048em; margin-bottom: 12px; }
.detail-section p { color: var(--muted); max-width: 68ch; }
.detail-section p + p { margin-top: 10px; }
.detail-aside { border: 1px solid var(--line); border-radius: 12px; padding: 19px; background: var(--white); color: var(--muted); }
.detail-location { display: flex; gap: 6px; align-items: center; margin-bottom: 7px; color: var(--ink); font-weight: 700; }
.detail-location .icon { color: var(--accent-dark); }
.detail-phone { display: inline-block; margin-top: 10px; color: var(--accent-dark); font-weight: 700; text-underline-offset: 3px; }
.related { background: #eaf0ef; }
.related .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 18px 13px; }
.all-services-link { display: inline-block; color: var(--accent-dark); font-weight: 700; text-underline-offset: 3px; padding-block: 6px; }

.request { border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: white; }
dialog.request { width: min(480px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; box-shadow: 0 16px 90px #101b2040; overscroll-behavior: contain; }
dialog.request::backdrop { background: #0c171cc4; }
body:has(dialog.request[open]) { overflow: hidden; }
.request-inline { max-width: 620px; margin-inline: auto; }
.request-inner { position: relative; padding: 24px; }
.request h2 { font-size: 30px; font-weight: 800; letter-spacing: -.055em; margin-bottom: 13px; line-height: 1.1; }
dialog.request h2 { padding-right: 48px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.request-close { position: absolute; top: 13px; right: 13px; }
.field { display: block; font-size: 14px; font-weight: 650; margin-top: 12px; }
.field select, .field input, .field textarea { display: block; width: 100%; background: white; color: var(--ink); border: 1px solid #aebdc0; border-radius: 7px; margin-top: 4px; padding: 9px 10px; min-height: 44px; font-size: 16px; font-weight: 400; line-height: 1.35; }
.field textarea { resize: vertical; }
.field select { appearance: none; padding-right: 35px; background-image: linear-gradient(45deg, transparent 50%, #506169 50%), linear-gradient(135deg, #506169 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.request-price { margin-top: 7px; font-size: 14px; color: var(--accent-dark); font-weight: 650; }
.location-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 5px 4px; border: 0; background: transparent; color: #943819; font-size: 14px; font-weight: 650; text-align: left; }
.location-button:disabled { color: var(--muted); cursor: default; }
.request-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.request-actions .button { min-height: 47px; padding-inline: 10px; }
.icon-button:hover { background: #eaf0ef; }
.request-status { margin-top: 6px; color: var(--muted); font-size: 13px; }
.mobile-order { display: none; }

@media (max-width: 1020px) {
  .nav { gap: 16px; }
  .header-inner { gap: 16px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .detail-hero-grid, .detail-content { grid-template-columns: 1fr; }
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom, 0px)); }
  .header-contacts, .header .nav, .footer-messengers, .desktop-label, .desktop-order, .request-inline { display: none; }
  .mobile-label { display: inline; }
  .mobile-order { display: inline-flex; }
  .section.battery-request { padding-block: 20px; }
  .mobile-nav { display: inline-flex; align-items: center; color: #e5eded; text-underline-offset: 4px; min-height: 44px; font-size: 14px; }
  .mobile-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; position: fixed; z-index: 3; inset: auto 0 0; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--darkest); border-top: 1px solid #ffffff30; }
  .mobile-bar .button { font-size: 15px; min-height: 49px; padding-inline: 7px; }
  .mobile-bar .messenger { height: 49px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 10px; }
  .header-inner { min-height: 65px; gap: 8px; }
  .service-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .brand { gap: 8px; font-size: 22px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand small { font-size: 12px; }
  .hero-media { left: 0; }
  .hero-media img { object-position: 60% 54%; }
  .hero::before { background: linear-gradient(90deg, #101c23fa 0%, #101c23c9 32%, #101c234d 76%, #101c232e), linear-gradient(0deg, #101c23a8, #101c2300 60%); }
  .hero-inner { min-height: 330px; padding-block: 27px 29px; }
  .location { margin-bottom: 16px; font-size: 14px; padding: 4px 8px; }
  .hero h1 { font-size: clamp(34px, 10.3vw, 60px); }
  .hero-description { margin-top: 17px; max-width: 28ch; }
  .hero-actions { display: none; }
  .section { padding-block: 39px; }
  .section-head { margin-bottom: 17px; gap: 5px; }
  .section-head p { display: none; }
  .service-grid { gap: 8px; }
  .service-card { min-height: 132px; padding: 12px; border-radius: 9px; }
  .service-symbol { width: 35px; height: 35px; border-radius: 6px; margin-bottom: 9px; }
  .service-symbol .icon { font-size: 21px; }
  .service-name { font-size: clamp(15px, 4.35vw, 20px); line-height: 1.17; margin-bottom: 10px; }
  .service-description { display: none; }
  .price { font-size: 21px; }
  .price small { font-size: 12px; }
  .card-open { width: 23px; height: 23px; font-size: 13px; }
  .price-note { margin-top: 13px; }
  .process, .faq-inner { grid-template-columns: 1fr; gap: 18px; }
  .process-intro p { margin-block: 10px 15px; }
  .steps li { padding-block: 12px; gap: 11px; }
  .steps h3 { font-size: 19px; }
  .footer-inner { padding-block: 21px; gap: 12px 20px; }
  .footer-inner p { font-size: 14px; }
  .footer-contacts { margin-left: 0; }
  .detail-hero { padding-block: 15px 24px; }
  .detail-intro .service-symbol { margin-bottom: 11px; }
  .detail-intro p { margin-top: 11px; }
  .detail-section h2 { font-size: 24px; }
  .detail-article { gap: 26px; }
  .tariff-card { padding: 14px; }
  .tariff-card .price { font-size: 28px; }
}

@media (max-width: 345px) {
  .service-card { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
