:root {
  color-scheme: light;
  --ink: #080d16;
  --night: #090d16;
  --navy: #101c33;
  --paper: #f2f4f6;
  --white: #fff;
  --brand: #265792;
  --electric: #2860f2;
  --signal: #a9c6ff;
  --line: #d5dce6;
  --muted: #405063;
  --gutter: clamp(21px, 5vw, 86px);
  --title: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Golos Text", Arial, sans-serif;
  --ease: cubic-bezier(.23,1,.32,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--white); font: 400 1rem/1.58 var(--body); }
::selection { background: #b8d1ff; color: #091223; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2370ff; outline-offset: 4px; }
.business :focus-visible, .footer :focus-visible, .loyalty :focus-visible { outline-color: #c3d6ff; }
.shell { width: min(calc(100% - var(--gutter) * 2), 1450px); margin-inline: auto; }
.skip { position: fixed; z-index: 30; top: 8px; left: 8px; clip-path: inset(50%); color: var(--ink); background: var(--white); padding: 10px 18px; }
.skip:focus { clip-path: none; }
.reading-line { position: fixed; inset: 0 0 auto; z-index: 20; height: 3px; pointer-events: none; display: none; }
.reading-line i { display: block; height: 100%; transform-origin: left; background: #4b7dff; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.motion-paused) .reading-line { display: block; }
    .reading-line i { animation: reading linear both; animation-timeline: scroll(root block); }
  }
}
@keyframes reading { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.brand { display: inline-flex; align-items: center; width: 129px; min-height: 46px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; filter: brightness(0) invert(1); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 53px; padding: 13px clamp(15px, 2vw, 25px);
  text-align: center; text-decoration: none; white-space: normal; font-size: .93rem; font-weight: 700; line-height: 1.25;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease), border-color 160ms ease;
}
.button:active { transform: scale(.98); }
.button.primary { color: #fff; background: #2a59e4; }
.button.outline { color: #f7faff; border-color: #b7cbf289; background: #08101d61; }
.button.dark { color: #fff; background: #162949; }
.button.light { color: #13213b; background: #f1f5ff; }
.locator { display: grid; grid-template-columns: minmax(0,1.56fr) minmax(337px,1fr); min-height: 520px; border: 1px solid #a9bad4; background: #fff; }
.map-shell { position: relative; min-width: 0; overflow: clip; background: #dbe5f2; }
.map { position: absolute; z-index: 0; inset: 0; background: #dbe5f2; color: #111e32; }
.map:focus-visible { outline-offset: -4px; }
.map:not(.yandex-basemap) .leaflet-tile-pane { filter: saturate(.59) contrast(1.015); }
.map .leaflet-popup-content { font: .85rem/1.5 var(--body); }
.station-popup-entry { display: grid; gap: 3px; }
.station-popup-entry > a { justify-self: start; }
.station-popup-entry + .station-popup-entry { margin-top: 8px; padding-top: 8px; border-top: 1px solid #dbe5f2; }
.map .leaflet-control-attribution { font-size:.68rem; color:#192f4b; }
.map-fallback { position:absolute; z-index:4; inset:auto auto 19px 15px; background:white; color:var(--ink); padding:8px 12px; border:1px solid var(--line); font-weight:650; }
.map-loaded .map-fallback { display:none; }
.map-curtain { position:absolute; z-index:2; inset:0; opacity:0; pointer-events:none; background:#13254dd5; }
.map-curtain svg { width:100%; height:100%; }
.map-curtain path,.map-curtain circle { fill:none; stroke-linecap:round; stroke-linejoin:round; }
.track-shadow { stroke:#6d94ff45; stroke-width:10; }
.track-pulse { stroke:#c6daff; stroke-width:5; stroke-dasharray:1; stroke-dashoffset:1; }
.map-curtain circle { stroke:#f1f6ff; stroke-width:2.4; }
.finder { color:var(--ink); background:white; padding:clamp(18px,2.5vw,33px); min-width:0; }
.finder-controls, .form-row { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:10px; }
label { display:grid; gap:6px; font-size:.87rem; font-weight:590; }
select, input:not([type="checkbox"]), textarea {
  min-height:45px; min-width:0; width:100%; padding:9px 10px;
  border:1px solid #adbdcf; border-radius:2px; color:#14213a; background:#fff;
}
select { appearance:none; padding-right:28px; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='m2 2 5 5 5-5' stroke='%23265792' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; }
.checkbox { display:flex; gap:8px; justify-content:start; align-items:center; min-height:44px; cursor:pointer; }
.checkbox input { width:17px; height:17px; margin:0; accent-color:var(--brand); }
.results-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; padding-top:7px; border-top:1px solid var(--line); font-size:.86rem; }
[data-page="stations"] .finder-full-map { display:none; }
.text-link { display:inline-flex; align-items:center; min-height:40px; border:0; background:transparent; padding:0; color:#204e8b; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; font-weight:650; font-size:.94rem; text-align:start; }
.text-link.small { font-size:.81rem; }
.station-list { list-style:none; padding:0; margin:3px 0 0; max-height:302px; overflow:auto; scrollbar-color:#afc2db #f1f4f9; }
.station-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 10px; padding:12px 2px; border-block-start:1px solid var(--line); }
.station-row:last-child { border-block-end:1px solid var(--line); }
.station-row h3 { font-size:.95rem; line-height:1.3; margin-bottom:3px; }
.station-row p { font-size:.82rem; line-height:1.35; color:#465974; }
.station-row .fuels { color:#214f84; font-size:.77rem; margin-top:5px; }
.station-row .text-link { padding:0 4px; }
.more { width:100%; margin-top:12px; min-height:44px; border-color:#b7c6dc; color:#142946; background:#f4f7fc; }
.empty { color:var(--muted); padding:18px 0; }

.service-board { display:grid; grid-template-columns:minmax(186px,.32fr) minmax(0,1fr); border-top:1px solid #7385a89c; border-bottom:1px solid #7385a89c; }
.service-tabs { display:flex; flex-direction:column; align-content:start; border-right:1px solid #7385a89c; }
.service-tabs [role="tab"] {
  display:grid; grid-template-columns:7px minmax(0,1fr); align-items:center; text-align:start; gap:13px;
  min-height:75px; appearance:none; border:0; border-bottom:1px solid #7385a879;
  background:#0b1323; color:#d7e3fb; padding:14px clamp(11px,1.8vw,25px);
  font-weight:630; font-size:.93rem; transition:background-color 170ms ease,color 170ms ease;
}
.tab-mark { width:6px; height:20px; background:#8395b06b; transform:skewX(-17deg); }
.service-tabs [aria-selected="true"] { color:white; background:#1d42aa; }
.service-tabs [aria-selected="true"] .tab-mark { background:#dce6ff; }
.service-tabs [role="tab"]:focus-visible { outline-offset:-4px; }
.service-panel { position:relative; display:grid; align-items:end; isolation:isolate; overflow:clip; min-height:clamp(368px,36vw,524px); background:#112341; }
.service-image { position:absolute; z-index:-1; inset:0; overflow:hidden; }
.service-image img { width:100%; height:100%; object-fit:cover; object-position:61% 56%; }
.service-image::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#071020f8 1%,#071020bf 26%,#07102005 66%); pointer-events:none; }
.service-image.card-image { display:grid; place-items:center; background:radial-gradient(ellipse at 63% 34%,#b7cbfb,#3f65b0); }
.service-image.card-image img { width:min(65%,480px); height:auto; object-fit:contain; margin-bottom:clamp(20px,5vw,68px); }
.service-caption { padding:clamp(20px,3.6vw,49px); display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:15px; }
.service-caption div { flex: 1 1 290px; }
.service-caption h3 { font:790 clamp(2rem,4vw,4.22rem)/1 var(--title); letter-spacing:-.033em; }
.service-caption .service-fact { font-size:.84rem; color:#bfd4fc; }
.service-fact strong {color:#f0f6ff;}
.service-caption p { margin-top:7px; color:#e5eeff; max-width:30rem; font-size:.96rem; }
.service-caption .button { flex:0 0 auto; }

.company-grid { display:grid; grid-template-columns:minmax(0,1.23fr) minmax(0,.85fr); gap:clamp(25px,5vw,88px); align-items:center; }
.company-photo { position:relative; overflow:clip; min-height:410px; background:#14253e; }
.company-photo img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:52% 54%; }
.company-copy p { margin:20px 0 10px; max-width:30rem; }
.newsroom { display:grid; grid-template-columns:minmax(196px,.56fr) minmax(0,1fr); align-items:start; gap:20px; margin-top:clamp(40px,6vw,75px); padding-top:22px; border-top:1px solid #a4b4ca; }
.newsroom h3 { font:750 clamp(1.67rem,3vw,2.65rem)/1.04 var(--title); letter-spacing:-.01em; }
.newsroom ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:2px 14px; }
.newsroom a { display:flex; align-items:center; min-height:44px; border-bottom:1px solid var(--line); padding:5px 4px 5px 0; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; color:#234c83; font-size:.91rem; font-weight:620; }

dialog { background:white; border:0; border-radius:4px; color:#152542; width:min(92vw,584px); max-height:88dvh; overflow:auto; padding:0; box-shadow:0 18px 96px #020b18af; }
dialog[open] { animation: dialog-enter 210ms var(--ease) both; }
dialog::backdrop { background:#050d1db0; }
@keyframes dialog-enter { from { opacity:0; transform:translateY(8px) scale(.96); } to { opacity:1; transform:none; } }
body:has(dialog[open]) { overflow:hidden; }
.dialog-inner { position:relative; padding:clamp(23px,5vw,41px); }
.dialog-inner h2 { font:815 clamp(2.12rem,5vw,3.35rem)/1 var(--title); letter-spacing:-.026em; padding-inline-end:36px; }
.dialog-intro { margin-top:12px; color:var(--muted); font-size:.93rem; }
.close-dialog { position:absolute; top:10px; right:10px; width:44px; height:44px; background:#eaf0f8; border:0; border-radius:2px; color:#1a3056; font:520 1.75rem/1 var(--title); }
#quote-form { display:grid; gap:12px; margin-top:20px; }
#quote-form > button, .quote-contract { justify-self:start; }
#quote-form > button:disabled { opacity:.65; cursor:wait; }
.quote-delivery { display:grid; gap:12px; margin:0; padding:11px; min-width:0; border:1px solid var(--line); }
.quote-delivery legend { padding-inline:4px; font-size:.86rem; color:var(--muted); }
.quote-consent { display:flex; align-items:flex-start; gap:8px; margin-block:3px; line-height:1.4; }
.quote-consent input { width:1rem; height:1rem; margin:2px 0 0; flex:none; accent-color:#164a9c; }
.quote-result { margin-top:18px; padding:13px; background:#edf6ff; color:#244575; border:1px solid #b6cee9; }
#quote-status { color:#8b2337; margin-top:10px; font-size:.9rem; line-height:1.45; }
#quote-status:empty { display:none; }
.dialog-links { display:grid; gap:4px; margin-top:16px; }

@media (hover:hover) and (pointer:fine) {
  .footer a:hover { color:#a9c6ff; }
  .button.primary:hover { background:#1c48cd; }
  .button.outline:hover { background:#182d54; border-color:#d2e1ff; }
  .button.dark:hover { background:#243e6d; }
  .button.light:hover { background:#cadbff; }
  .service-tabs [role="tab"]:hover:not([aria-selected="true"]) { background:#182a4d; }
  .text-link:hover { text-decoration-thickness:2px; }
}
@media (max-width:1060px) {
  .brand { width:115px; }
}
@media (max-width:760px) {
  .company-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .locator { grid-template-columns:minmax(0,1fr); }
  .finder { grid-row:1; }
  .map-shell { grid-row:2; min-height:330px; border-top:1px solid var(--line); }
  .service-board { grid-template-columns:minmax(0,1fr); }
  .service-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-right:0; }
  .service-tabs [role="tab"] { gap:6px; padding:10px; font-size:.79rem; border-right:1px solid #7385a879; min-height:61px; }
  .service-tabs [role="tab"]:last-child { border-right:0; }
  .company-photo { min-height:350px; }
}
@media (max-width:640px) {
  .brand { width:103px; }
  .text-link { min-height:44px; }
  .map .leaflet-bar a { width:42px; height:42px; line-height:42px; }
  .service-panel { min-height:388px; }
  .service-caption { padding:18px 16px 20px; gap:11px; }
  .service-caption h3 { font-size:2.2rem; }
  .service-caption p { font-size:.86rem; }
  .service-caption .button { min-height:44px; font-size:.82rem; }
  .company-photo { min-height:280px; }
  .newsroom { grid-template-columns:minmax(0,1fr); gap:8px; }
  .newsroom ul { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:355px) {
  .form-row { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition-duration:0s !important; }
  dialog[open] { animation:none; }
}
