:root {
  --ink: #0a2b58;
  --navy: #08234b;
  --muted: #4e6076;
  --paper: #f1f6fc;
  --line: #dce6f2;
  --blue: #164d96;
  --pale-blue: #e8f1fc;
  --orange: #ff671f;
  --orange-hover: #ff8547;
  font-family: system-ui, "Noto Sans Georgian", "Segoe UI", Sylfaen, Arial, sans-serif;
  color: var(--ink);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img { display: block; }
p, h1, h2, h3, ol, ul { margin: 0; }
svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.site-header { background: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo { width: 57px; height: auto; }
.brand-country { border-left: 1px solid var(--line); padding-left: 12px; color: var(--ink); font-size: 14px; font-weight: 750; }
.brand-line { height: 4px; background: var(--orange); }
.site-nav { display: flex; gap: 28px; font-size: 13px; font-weight: 600; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.language { display: flex; flex-shrink: 0; gap: 3px; padding: 3px; background: var(--pale-blue); border-radius: 9px; }
.language button { width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink); font-size: 12px; font-weight: 700; }
.language button[aria-pressed="true"] { color: white; background: var(--navy); }

.site-hero { position: relative; isolation: isolate; min-height: 570px; display: grid; background: var(--navy); color: white; overflow: hidden; }
.site-photo { position: absolute; z-index: -2; top: 0; right: 0; width: 70%; height: 100%; object-fit: cover; object-position: center 30%; }
.site-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #08234b 8%, #08234bf5 26%, #08234b60 58%, #08234b0d 86%), linear-gradient(0deg, #08234b8c, transparent 38%);
}
.hero-inner { position: relative; display: flex; align-items: center; padding-block: 76px; }
.hero-copy { width: min(530px, 62%); }
.kicker { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy .kicker { color: #e0ecff; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); }
.hero-copy h1 { margin-top: 20px; font-size: clamp(46px, 5.8vw, 86px); font-weight: 760; line-height: 1.05; letter-spacing: -.058em; white-space: pre-line; }
.hero-description { max-width: 370px; margin: 25px 0 28px; color: #e0ecff; font-size: 15px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 18px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.3; transition: background-color .16s ease, transform .16s ease; }
.button:active { transform: translateY(1px); }
.button svg { width: 19px; height: 19px; }
.button-light { color: var(--ink); background: white; }
.button-light:hover { background: var(--pale-blue); }
.button-orange { color: var(--navy); background: var(--orange); }
.button-orange:hover { background: var(--orange-hover); }
.button-outline { border-color: #9bb8e087; color: white; }
.button-outline:hover { background: #ffffff16; }
.photo-caption { position: absolute; bottom: 20px; right: 0; display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: #fff; background: #08234be6; border: 1px solid #ffffff36; border-radius: 5px; font-size: 10px; }
.photo-caption svg { width: 14px; height: 14px; }

.site-section { padding-block: 65px; }
.section-kicker { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.site-section h2, .faq h2, .station-band h2 { margin-top: 10px; font-size: clamp(28px, 4vw, 45px); line-height: 1.05; letter-spacing: -.04em; }
.route-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.route-steps li { padding: 23px 25px 25px; border-top: 3px solid var(--blue); }
.route-steps li + li { border-left: 1px solid var(--line); }
.route-steps li:nth-child(2) { border-top-color: var(--orange); }
.route-number { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: 12px; font-variant-numeric: tabular-nums; }
.route-steps h3 { font-size: 19px; letter-spacing: -.02em; }
.route-steps p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.station-band { background: var(--navy); color: white; }
.station-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 23px; padding-block: 38px; }
.station-icon { display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid #9bb8e063; border-radius: 12px; color: #ffae86; }
.station-band .kicker, .station-band p { color: #d0e0f9; }
.station-band p:last-child { margin-top: 9px; font-size: 13px; line-height: 1.5; }
.station-band h2 { font-size: clamp(24px, 3vw, 36px); }
.faq { padding-block: 48px 54px; }
.faq h2 { margin: 0 0 20px; font-size: 30px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 15px; font-size: 15px; font-weight: 650; cursor: pointer; }
.faq details p { max-width: 690px; padding-bottom: 15px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.faq a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px 26px; padding-block: 16px 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; }
.site-footer span:first-child { color: var(--ink); font-weight: 700; }

.promo {
  --modal-width: 720px;
  --modal-padding: clamp(20px, 3.5vw, 32px);
  --modal-gutter: 16px;
  --modal-vertical-gap: 16px;
  --modal-edge: max(var(--modal-gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --modal-vertical-edge: max(var(--modal-vertical-gap), env(safe-area-inset-top, 0px), env(safe-area-inset-bottom, 0px));
  width: min(var(--modal-width), calc(100% - 2 * var(--modal-edge)));
  max-width: none;
  max-height: calc(100vh - 2 * var(--modal-vertical-edge));
  max-height: calc(100dvh - 2 * var(--modal-vertical-edge));
  margin: auto;
  padding: 0;
  border: 1px solid #ffffffc7;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 26px 80px #04193666, 0 5px 22px #04193626;
  overflow: hidden;
}
.promo[open] { display: flex; flex-direction: column; animation: enter .26s cubic-bezier(.2, .7, .2, 1); }
.promo::backdrop { background: #061b398f; backdrop-filter: blur(4px); }
.modal-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding-inline: var(--modal-padding);
  gap: 10px;
  background: #fff;
}
.modal-header .logo { width: 52px; }
.dialog-scroll { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.fuel-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 204px;
  margin-inline: 12px;
  padding: 18px calc(var(--modal-padding) - 2px);
  border-radius: 15px;
  border-bottom: 3px solid var(--orange);
  background: var(--navy);
  overflow: hidden;
}
.fuel-copy { position: relative; z-index: 1; width: min(64%, 360px); }
.fuel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid #b1c9e64d;
  border-radius: 999px;
  background: #08234bba;
  color: #ecf5ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}
.fuel-kicker .status-dot { width: 6px; height: 6px; }
.fuel-reward { margin-top: 7px; }
.fuel-value { display: block; color: #ff8b51; font-size: clamp(98px, 13vw, 122px); font-weight: 850; line-height: .87; letter-spacing: -.075em; }
.fuel-caption { display: block; margin-top: 6px; color: #fff; font-size: clamp(17px, 2.5vw, 22px); font-weight: 700; line-height: 1.25; }
.fuel-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 67%;
  background:
    linear-gradient(90deg, #08234b 0%, #08234bd9 18%, #08234b20 62%),
    linear-gradient(0deg, #08234b65, transparent 58%),
    url("gulf-station.webp") 56% 37% / cover no-repeat;
}
.offer-content { padding: 18px var(--modal-padding); }
.offer-instruction { font-size: clamp(21px, 3.4vw, 26px); font-weight: 750; line-height: 1.2; letter-spacing: -.025em; }
.offer-intro { max-width: 54ch; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.offer-steps { margin-top: 9px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.4; }
.offer-steps li, .install-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; padding-block: 8px; }
.offer-steps li { align-items: center; }
.offer-steps li + li, .install-steps li + li { border-top: 1px solid var(--line); }
.step-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--blue); background: var(--pale-blue); }
.step-icon-accent { color: #9b3b0e; background: #fff0e6; }
.step-icon svg { width: 19px; height: 19px; }
.offer-conditions { margin-top: 9px; padding: 12px; border-radius: 11px; background: var(--paper); }
.offer-conditions h3 { font-size: 14px; line-height: 1.35; }
.offer-conditions p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.modal-footer { flex: none; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 20px; padding: 12px var(--modal-padding); border-top: 1px solid var(--line); background: #f7faff; }
.promo-note { color: var(--muted); font-size: 11px; line-height: 1.4; }
.download-button { flex: 0 0 auto; width: min(270px, 46%); }
.download-button, .apk-actions .button { min-height: 54px; border-radius: 12px; font-size: 15px; }
.download-content { padding: 0 var(--modal-padding) 15px; }
.promo[open] .download-content:not([hidden]) { animation: reveal .2s ease-out; }
.install-intro {
  margin-inline: calc(12px - var(--modal-padding));
  padding: 5px calc(var(--modal-padding) - 2px) 15px;
  border-radius: 15px;
  border-bottom: 3px solid var(--orange);
  background: linear-gradient(110deg, #08234b, #123f77);
  color: #fff;
}
.install-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.back-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; color: #e0ecff; background: none; font-size: 13px; font-weight: 650; }
.back-button:hover { color: #fff; }
.back-button:focus-visible { outline-color: #ffad85; }
.back-button svg { width: 17px; height: 17px; transform: rotate(180deg); }
.apk-chip { padding: 4px 9px; border: 1px solid #b1c9e64d; border-radius: 999px; color: #e0ecff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.install-intro h2 { font-size: clamp(22px, 3.2vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
.apk-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.apk-actions .button { flex: 0 0 auto; width: min(270px, 46%); margin-inline-start: auto; }
.apk-status { color: var(--muted); font-size: 13px; line-height: 1.45; }
.install-steps { margin-top: 8px; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.install-steps li { align-items: start; padding-block: 11px; overflow-wrap: anywhere; }
.install-steps strong { display: block; font-size: 15px; line-height: 1.35; }
.install-steps p { margin-top: 4px; color: var(--muted); }

:lang(ka) .hero-copy h1, :lang(ka) .offer-instruction, :lang(ka) .install-intro h2,
:lang(ka) .site-section h2, :lang(ka) .faq h2, :lang(ka) .station-band h2 { letter-spacing: normal; line-height: 1.23; }

@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: .6; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; }
  .site-nav { display: none; }
  .brand { gap: 9px; }
  .brand-country { padding-left: 9px; font-size: 12px; }
  .logo { width: 48px; }
  .site-hero { min-height: 0; }
  .site-photo { width: 100%; height: min(78vw, 400px); object-position: center 15%; }
  .site-hero::after { background: linear-gradient(0deg, #08234b 34%, #08234bd6 55%, #08234b00 93%); }
  .hero-inner { align-items: flex-end; padding-top: min(46vw, 235px); padding-bottom: 62px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(32px, 8.5vw, 57px); margin-top: 13px; }
  .hero-description { margin-block: 15px 18px; }
  .photo-caption { min-height: 44px; bottom: 8px; right: 0; }
  .site-section { padding-block: 39px; }
  .route-steps { grid-template-columns: 1fr; margin-top: 18px; }
  .route-steps li { padding: 16px 16px 16px 18px; border-top: 0; border-left: 3px solid var(--blue); }
  .route-steps li + li { border-top: 1px solid var(--line); }
  .route-steps li:nth-child(2) { border-top-color: var(--line); border-left: 3px solid var(--orange); }
  .route-number { margin-bottom: 7px; }
  .station-inner { grid-template-columns: auto 1fr; gap: 13px; padding-block: 26px; }
  .station-icon { width: 44px; height: 44px; }
  .station-inner .button { grid-column: 1 / -1; justify-self: start; }
  .faq { padding-block: 34px; }
}

@media (max-width: 700px) {
  .promo { --modal-width: 500px; --modal-padding: clamp(14px, 4.2vw, 21px); --modal-gutter: 8px; --modal-vertical-gap: 8px; border-radius: 19px; }
  .promo::backdrop { backdrop-filter: blur(3px); }
  .modal-header { min-height: 62px; }
  .modal-header .logo { width: 45px; }
  .fuel-hero { min-height: 160px; margin-inline: 8px; padding-block: 12px; }
  .fuel-art { width: 72%; background-position: center, center, 58% 34%; }
  .fuel-kicker { font-size: 9px; }
  .fuel-value { font-size: clamp(80px, 21vw, 106px); }
  .fuel-caption { font-size: clamp(14px, 4vw, 18px); }
  .offer-content { padding-block: 14px; }
  .offer-instruction { font-size: clamp(20px, 5.4vw, 25px); }
  .offer-steps { font-size: 14px; }
  .offer-steps li { padding-block: 6px; }
  .modal-footer { flex-direction: column; align-items: stretch; gap: 7px; padding-block: 10px 8px; }
  .promo-note { text-align: center; }
  .apk-actions { flex-direction: column; gap: 8px; padding-bottom: 5px; }
  .download-button, .apk-actions .button { width: 100%; }
  .apk-status { text-align: center; font-size: 12px; }
  .download-content { padding-bottom: 12px; }
  .install-intro { margin-inline: calc(8px - var(--modal-padding)); padding-bottom: 13px; }
}

@media (max-height: 650px) and (max-width: 700px) {
  .fuel-hero { min-height: 136px; padding-block: 9px; }
  .fuel-value { font-size: 72px; }
  .offer-content { padding-block: 11px; }
  .install-steps li { padding-block: 8px; }
}

@media (max-height: 480px) {
  .promo { --modal-vertical-gap: 6px; }
  .fuel-hero { min-height: 0; }
  .fuel-value { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
