@font-face {
  font-family: Inter;
  src: url("/assets/inter-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: Inter;
  src: url("/assets/inter-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;
}
:root {
  color-scheme: light;
  --ink: #151918;
  --dark: #151918;
  --panel: #202624;
  --paper: #f2f2eb;
  --lime: #c8f682;
  --quiet: #4b554e;
  --quiet-light: #bac4b9;
  --line: #cbd1c4;
  --radius: 15px;
  --header: 72px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
h1, h2, p, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 61px); font-weight: 650; letter-spacing: -.065em; line-height: 1.06; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #537c24; outline-offset: 5px; }
.dark :focus-visible, .header :focus-visible, .calculator-shell :focus-visible, .lightbox :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }
.wrap { width: min(1240px, calc(100% - clamp(36px, 9vw, 132px))); margin-inline: auto; }
.dark { background: var(--dark); color: var(--paper); }
.skip { position: fixed; top: -100px; left: 16px; z-index: 20; background: var(--lime); padding: 14px 20px; }
.skip:focus { top: 12px; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #151918;
  background: color-mix(in srgb, var(--dark) 94%, transparent);
  backdrop-filter: blur(14px);
  color: var(--paper);
  border-bottom: 1px solid #ffffff20;
}
.header-inner { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 25px; font-weight: 500; letter-spacing: -.075em; }
.brand > span:last-child { font-weight: 800; }
.brand-mark { display: block; width: 17px; height: 24px; margin-right: 10px; background: var(--lime); clip-path: polygon(55% 0, 100% 0, 68% 42%, 100% 42%, 21% 100%, 35% 55%, 0 55%); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 31px); }
.nav a { position: relative; display: grid; align-items: center; min-height: 44px; color: var(--quiet-light); font-size: 13px; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--lime); }
.header-phone { font-size: 14px; white-space: nowrap; font-weight: 650; }
.header-phone span { color: var(--lime); margin-left: 6px; }
.menu-toggle { display: none; }

.hero { padding: clamp(30px, 6vw, 78px) 0 clamp(38px, 6vw, 77px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(28px, 5vw, 74px); }
.hero-copy { align-self: center; padding-block: 20px; }
.hero h1 { margin-block: clamp(17px, 2.2vw, 32px) 22px; font-size: clamp(43px, 6.35vw, 100px); font-weight: 650; line-height: .98; letter-spacing: -.078em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.location { display: flex; align-items: baseline; gap: 9px; color: var(--quiet-light); font-size: 13px; line-height: 1.5; }
.location span { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-copy > p:not(.location) { color: var(--quiet-light); max-width: 36ch; line-height: 1.65; font-size: clamp(15px, 1.5vw, 18px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 27px; }
.button {
  min-height: 49px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease;
}
.button span { font-size: 17px; font-weight: 500; }
.primary { background: var(--lime); color: var(--ink); }
.primary:hover { background: #dafca6; }
.outline { border-color: #899384; }
.outline:hover { background: #e3e8dc; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 650; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow-link span { font-size: 16px; }
.hero .arrow-link span { color: var(--lime); }
.hero-media { position: relative; min-height: clamp(330px, 38vw, 510px); background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.hero-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 57% 50%; }
.hero-media figcaption { position: absolute; inset: auto 0 0; padding: 48px 19px 17px; color: white; font-size: 13px; background: linear-gradient(transparent, #111614dc); }

.equipment { background: #e5e8de; padding-block: clamp(33px, 5vw, 64px); }
.equipment-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); align-items: center; gap: 25px 52px; }
.equipment h2 { font-size: clamp(30px, 3.3vw, 43px); }
.equipment p, .section-intro p, .works-heading p { color: var(--quiet); font-size: 15px; line-height: 1.65; margin-top: 13px; max-width: 39ch; }
.equipment-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.equipment-brands a { position: relative; display: grid; place-items: center; height: clamp(78px, 9vw, 106px); padding: 14px clamp(9px, 1.4vw, 20px); border: 1px solid #d8ddd3; border-radius: 9px; background: white; transition: border-color .18s ease; }
.equipment-brands a:hover { border-color: #537c24; }
.equipment-brands img { max-height: 49px; object-fit: contain; }
.equipment-brands img[alt="OMVL"] { width: 78%; }
.equipment-brands span { position: absolute; top: 5px; right: 8px; font-size: 13px; color: #405443; }

.services, .works, .contacts { padding-block: clamp(53px, 8vw, 108px); }
.services-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 27px clamp(28px, 7vw, 108px); }
.service-list { border-top: 1px solid var(--line); }
.service-list details { border-bottom: 1px solid var(--line); }
.service-list summary { position: relative; padding: 19px 45px 19px 0; min-height: 62px; list-style: none; cursor: pointer; font-size: clamp(17px, 2.3vw, 24px); font-weight: 600; letter-spacing: -.035em; }
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary::after { content: "+"; display: grid; place-items: center; position: absolute; right: 2px; top: 50%; translate: 0 -50%; border: 1px solid var(--line); width: 30px; height: 30px; border-radius: 50%; color: #355125; font-size: 19px; font-weight: 400; }
.service-list details[open] summary::after { content: "−"; background: #dbe8cc; border-color: #dbe8cc; }
.service-content { padding: 0 40px 15px 0; }
.service-content p { font-size: 15px; color: var(--quiet); line-height: 1.7; max-width: 58ch; }
.service-content a { color: #315328; margin-top: 3px; }

.works-heading { display: flex; justify-content: space-between; gap: 22px 45px; align-items: end; margin-bottom: 30px; }
.works-heading p { color: var(--quiet-light); margin-top: 0; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); grid-template-rows: clamp(185px, 22vw, 300px) clamp(150px, 16vw, 215px); gap: 12px; }
.gallery-item { position: relative; display: block; background: var(--panel); border-radius: 11px; overflow: hidden; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-main { grid-column: 1 / 3; }
.gallery-main img { object-position: center 60%; }
.gallery-tank { grid-column: 1; grid-row: 2; }
.gallery-engine { grid-column: 2; grid-row: 2; }
.gallery-detail { grid-column: 3; grid-row: 1 / 3; }
.gallery-label { position: absolute; inset: auto 0 0; min-height: 75px; padding: 30px 13px 12px; display: flex; align-items: end; justify-content: space-between; gap: 9px; background: linear-gradient(transparent, #0b110eef); color: white; font-size: clamp(12px, 1.3vw, 15px); font-weight: 650; }
.expand { flex: none; display: grid; place-items: center; width: 27px; height: 27px; background: #151918b3; border: 1px solid #ffffff70; border-radius: 6px; font-size: 15px; }

.calculator { padding-top: clamp(48px, 7vw, 96px); }
.calculator-shell { padding: clamp(21px, 4.5vw, 58px); border-radius: var(--radius); background: var(--panel); color: var(--paper); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 24px clamp(26px, 5vw, 74px); }
.calculator h2 { color: var(--lime); }
.calculator-intro p { max-width: 34ch; margin-top: 16px; color: var(--quiet-light); line-height: 1.65; font-size: 15px; }
.calculator-intro .fine-print { font-size: 12px; margin-top: 18px; }
#fuel-form { display: grid; gap: 15px; }
fieldset { min-width: 0; border: 1px solid #536058; padding: 10px 12px 12px; margin: 0; border-radius: 8px; }
legend { padding: 0 7px; font-size: 14px; font-weight: 650; }
.fuel-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field label { display: block; color: var(--quiet-light); font-size: 12px; margin-bottom: 6px; }
.field > div { display: flex; align-items: center; min-width: 0; min-height: 44px; border: 1px solid #58665d; background: #161c19; border-radius: 6px; }
.field span { flex: none; padding-right: 9px; font-size: 11px; color: var(--quiet-light); white-space: nowrap; }
.field input { width: 100%; min-width: 0; min-height: 44px; color: var(--paper); background: transparent; border: 0; padding: 7px 8px; border-radius: 6px; font-size: 16px; }
.field input::placeholder { color: #9da99d; }
.field input[aria-invalid="true"] { outline: 2px solid #ffbc9d; outline-offset: -2px; }
#fuel-form .button { justify-self: start; }
.calc-result { min-height: 42px; line-height: 1.5; }
#calc-message { color: var(--quiet-light); font-size: 13px; }
.calc-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-totals > div { padding: 10px; background: #161c19; border-radius: 6px; }
.calc-totals span { display: block; color: var(--quiet-light); font-size: 12px; }
.calc-totals strong { display: block; font-size: clamp(15px, 2.3vw, 24px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#fuel-difference { grid-column: 1 / -1; color: var(--lime); font-size: 14px; font-weight: 650; padding-top: 2px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px clamp(28px, 5vw, 70px); align-items: center; }
address { font-style: normal; line-height: 1.6; margin-top: 23px; font-size: 17px; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; font-size: clamp(21px, 3.4vw, 34px); font-weight: 650; letter-spacing: -.055em; }
.contact-phone span { color: #355d29; font-size: .75em; }
.contact-copy > p { margin-top: 10px; color: var(--quiet); font-size: 14px; line-height: 1.5; }
.contact-copy .actions { margin-top: 16px; }
#copy-address { background: none; border: 0; color: #315328; padding: 0; }
#copy-status:empty { display: none; }
.facade img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.facade figcaption { margin-top: 10px; color: var(--quiet); font-size: 13px; }
.footer { padding-block: 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.footer-inner > span, .footer-inner > a:last-child { color: var(--quiet-light); font-size: 13px; }
.mobile-call { display: none; }
.lightbox { background: var(--dark); color: var(--paper); border: 1px solid #59645b; border-radius: 12px; width: min(1050px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: clamp(10px, 2vw, 22px); }
.lightbox::backdrop { background: #0b0f0ded; }
.lightbox-toolbar, .lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lightbox-toolbar { margin-bottom: 10px; }
.lightbox-controls { margin-top: 10px; }
.lightbox button { background: var(--panel); color: var(--paper); border: 1px solid #59645b; border-radius: 6px; padding: 6px 11px; min-width: 44px; min-height: 44px; }
.lightbox button:hover { color: var(--lime); }
#lightbox-image { height: min(64dvh, 680px); object-fit: contain; touch-action: pan-y; }
#photo-count, #photo-caption { font-size: 13px; color: var(--quiet-light); }
#photo-caption { text-align: center; }

@media (max-width: 900px) {
  .header-inner { gap: 13px; }
  .nav { gap: 13px; }
  .nav a, .header-phone { font-size: 12px; }
  .hero .actions { gap: 8px 14px; }
}
@media (max-width: 760px) {
  :root { --header: 62px; }
  .header-inner { flex-wrap: wrap; }
  .header-phone { margin-left: auto; }
  .nav { width: 100%; order: 5; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 8px; background: transparent; border: 0; color: var(--paper); }
  .menu-toggle span { height: 1px; width: 21px; background: currentColor; }
  .nav.enhanced { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 18px 14px; background: var(--dark); border-bottom: 1px solid #58645b; }
  .nav.enhanced.is-open { display: grid; gap: 0; }
  .nav.enhanced a { min-height: 46px; padding: 0 8px; font-size: 15px; }
  .hero-layout, .equipment-layout, .services-layout, .calculator-shell, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 32px 36px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(44px, 10vw, 72px); }
  .hero-media { min-height: clamp(210px, 58vw, 410px); }
  .works-heading { display: block; }
  .works-heading p { margin-top: 13px; }
}
@media (max-width: 520px) {
  html { scroll-padding-bottom: 72px; }
  .wrap { width: calc(100% - 36px); }
  .header-phone span { display: none; }
  .brand { font-size: 23px; }
  .brand-mark { width: 13px; height: 20px; margin-right: 7px; }
  .hero .actions { margin-top: 19px; }
  .equipment-brands { gap: 6px; }
  .equipment-brands a { padding-inline: 7px; height: 66px; }
  .equipment-brands img { max-height: 32px; }
  .equipment-brands span { font-size: 11px; right: 5px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 182px 140px 140px; gap: 8px; }
  .gallery-main { grid-column: 1 / -1; grid-row: 1; }
  .gallery-detail { grid-column: 2; grid-row: 2 / 4; }
  .gallery-engine { grid-column: 1; grid-row: 3; }
  .gallery-label { padding-inline: 9px; }
  .expand { width: 21px; height: 21px; }
  .calculator-shell { padding: 19px 14px; }
  .fuel-fields { gap: 8px; }
  fieldset { padding-inline: 8px; }
  .footer { padding-bottom: calc(87px + env(safe-area-inset-bottom)); }
  .footer-inner > span { width: 100%; order: 3; }
  .mobile-call { display: flex; position: fixed; z-index: 8; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); box-shadow: 0 4px 20px #0004; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
