/*
 * EV8 Yerevan. Tokens are the EV8 brand as ev8.ge uses them (ev8-site
 * src/styles/global.css): ink, lime, the green accent. No new colours.
 * Phone first: couriers open the site from a phone.
 * Armenian needs Noto Sans Armenian, Russian needs Inter: Be Vietnam Pro has
 * neither alphabet.
 */
:root {
  --ink: #0b0b0b;
  --ink-2: #1b1b1b;
  --bg: #fbfbfb;
  --surface: #ffffff;
  --accent: #557553;
  --lime: #e0ffa2;
  --muted: #5d5d5d;
  --grey: #989898;
  --soft: #dddddd;
  --line: #ebebeb;
  --line-dark: #424242;
  --line-control: #7a7a7a;
  --danger: #b3261e;
  --f: 'Be Vietnam Pro', 'Inter', 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --page: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font: 400 16px/1.55 var(--f); }
main { display: block; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--lime); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 680px; }
.dark { background: var(--ink); color: #fff; }
.section { padding-block: 48px; }
.h2 { font-size: clamp(26px, 4.4vw, 38px); line-height: 1.12; margin-bottom: 20px; }
.muted { color: var(--grey); font-weight: 400; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
       font: 500 17px/1 var(--f); text-decoration: none; cursor: pointer; transition: transform .2s ease, background .3s ease; }
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border: 1px solid currentColor; min-height: 44px; font-size: 15px; padding: 0 20px; background: none; color: inherit; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* header: logo, the menu (a drawer on a phone), languages, booking */
.top { background: var(--ink); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.logo svg { display: block; height: 26px; width: auto; }
.nav { display: none; gap: 2px; }
.nav a { color: var(--soft); text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current='page'] { color: #fff; background: var(--ink-2); }
.top-r { display: flex; align-items: center; gap: 8px; }
.langs { display: flex; gap: 2px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 2px; }
.langs a { padding: 7px 9px; border-radius: 999px; font: 500 13px/1 var(--f); color: var(--soft); text-decoration: none; }
.langs a[aria-current='true'] { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.top-book { display: none; }
.burger { position: relative; }
.burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span, .burger summary span::before, .burger summary span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ''; }
.burger summary span::before { position: absolute; top: -6px; }
.burger summary span::after { position: absolute; top: 6px; }
.drawer { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--ink-2); border: 1px solid var(--line-dark);
          border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.drawer a:not(.btn) { color: #fff; text-decoration: none; padding: 12px; border-radius: 10px; }
.drawer a[aria-current='page'] { background: #2a2a2a; }
.drawer .btn { margin-top: 8px; }
@media (min-width: 760px) { .top-book { display: inline-flex; } }
/* The full menu only where it fits in every language (Armenian is the longest). */
@media (min-width: 1440px) {
  .nav { display: flex; }
  .burger { display: none; }
}

/* hero */
.hero { padding-block: 40px 56px; }
.tag { font: 500 12px/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.hero h1 { font-size: clamp(38px, 8vw, 72px); line-height: 1.02; max-width: 14ch; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--soft); max-width: 46ch; margin-top: 20px; }
.hero-img { display: none; }
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; }
  .hero-img { display: block; width: 100%; border-radius: 20px; }
}
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0; }
.facts div { border-left: 2px solid var(--lime); padding-left: 12px; }
.facts dt { font-size: 13px; color: var(--grey); }
.facts dd { margin: 0; font-size: 18px; font-weight: 500; }

/* prices: the renders are shot on black, so the cards stay dark */
.garage { padding-top: 8px; }
.card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink); width: 100%; }
.card-b { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 22px; }
.price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--lime); white-space: nowrap; }
.price span { font-size: 15px; font-weight: 400; color: var(--soft); }
.spec { list-style: none; margin: 0 0 6px; padding: 0; color: var(--soft); font-size: 15px; }
.spec li + li { margin-top: 2px; }
@media (min-width: 760px) {
  .card.one { flex-direction: row; }
  .card.one img { width: 55%; aspect-ratio: 4 / 3; }
  .card.one .card-b { padding: 32px; justify-content: center; }
  .card.one h3 { font-size: 30px; }
  .card.one .price { font-size: 40px; }
}
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; }
.dark .more a, .row .more { color: var(--lime); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .rules { grid-template-columns: 1fr 1fr; } }
.rules li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.rules b { font-weight: 500; font-size: 20px; }
.rules span { color: var(--muted); }
.stations p:not(.tag) { color: var(--soft); font-size: 18px; }
.note { color: var(--grey); font-size: 15px; margin-top: 16px; }

/* how it works */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font-weight: 600; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin-bottom: 4px; }
.steps b { font-weight: 500; font-size: 18px; }
.steps span { color: var(--muted); }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .incl { grid-template-columns: repeat(4, 1fr); } }
.incl li { border-top: 2px solid var(--accent); padding-top: 10px; font-weight: 500; }
.more { margin-top: 12px; }
.more a { color: var(--accent); font-weight: 500; }

/* the form */
.form-sec { background: var(--surface); border-block: 1px solid var(--line); }
.sub { color: var(--muted); margin: -8px 0 24px; }
.queue { display: grid; gap: 18px; }
.two { display: grid; gap: 18px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, legend { font-weight: 500; font-size: 15px; padding: 0; margin-bottom: 6px; }
input[type=text], input:not([type]), input[type=tel], input[type=email] {
  width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line-control); border-radius: 12px; font: 400 17px var(--f); background: #fff; color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-control); border-radius: 999px; font-size: 15px; }
.opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.check a { color: var(--accent); }
.err { color: var(--danger); font-size: 14px; }
.bad input:not([type=radio]):not([type=checkbox]) { border-color: var(--danger); }
.status { min-height: 1.5em; color: var(--muted); }
.status.bad { color: var(--danger); }
.done { background: var(--lime); border-radius: 20px; padding: 24px; }
.done h3 { font-size: 24px; margin-bottom: 6px; }

/* questions */
.faq details { border-bottom: 1px solid var(--line); padding-block: 14px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); margin-top: 8px; }

.legal { padding-top: 40px; }
.legal h2 { font-size: 20px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; margin: 8px 0; }

.foot { padding-block: 32px 40px; font-size: 14px; color: var(--soft); }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--soft); }

/* inner pages */
.pagehead { padding-block: 40px 8px; }
.pagehead.dark { padding-bottom: 32px; }
.pagehead:not(.dark) .tag { color: var(--accent); }
.pagehead h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.04; max-width: 18ch; }
.pagehead .lead { color: var(--muted); }
.pagehead.dark .lead { color: var(--soft); }
.soft { background: var(--surface); border-block: 1px solid var(--line); }
.cta-band .lead { margin: -4px 0 24px; }
.steps.three { }
@media (min-width: 760px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 45%; padding-right: 16px; }
.specs td { font-weight: 500; }
.specs a { color: var(--accent); }
.blocks { list-style: none; margin: 0; padding: 0; }
.blocks li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 760px) { .blocks li { grid-template-columns: 220px 1fr; gap: 24px; } }
.blocks b { font-weight: 500; font-size: 18px; }
.blocks span { color: var(--muted); }
.what { display: grid; gap: 12px; margin: 0; }
@media (min-width: 760px) { .what { grid-template-columns: repeat(4, 1fr); } }
.what div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.what dt { color: var(--muted); font-size: 14px; }
.what dd { margin: 4px 0 0; font-weight: 500; font-size: 18px; }
.callout { background: var(--lime); border-radius: 20px; padding: 24px; margin-top: 24px; }
.callout h2 { font-size: 22px; margin-bottom: 6px; }
.bigfacts { display: grid; gap: 12px; }
@media (min-width: 760px) { .bigfacts { grid-template-columns: repeat(3, 1fr); } }
.bigfacts div { border: 1px solid var(--line-dark); border-radius: 20px; padding: 24px; display: grid; gap: 4px; }
.bigfacts b { font-size: clamp(30px, 5vw, 44px); font-weight: 600; color: var(--lime); letter-spacing: -0.02em; white-space: nowrap; }
.bigfacts span { color: var(--soft); }
.stations-facts { padding-top: 0; }
.news-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.news-item h3 { font-size: 19px; margin-bottom: 6px; }
.news-item p { color: var(--muted); }
.news-item .src { font-size: 14px; margin-top: 6px; }
.news-item a, .issue h2 a { color: var(--accent); }
.issue + .issue { margin-top: 32px; }
.h3 { font-size: 22px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px; }
.foot-nav a { color: #fff; text-decoration: none; }

/* the calculator */
.calc { display: grid; gap: 20px; }
@media (min-width: 860px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } .calc .note, .calc > .btn { grid-column: 1 / -1; } .calc > .btn { justify-self: start; } }
.calc-in { display: grid; gap: 20px; }
.calc .opt span { min-width: 48px; justify-content: center; }
.first { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.big { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.calc-out { border-radius: 20px; padding: 24px; display: grid; gap: 8px; }
.bar-row { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); }
.bar-row b { color: #fff; font-weight: 500; white-space: nowrap; }
.bar { height: 10px; background: var(--ink-2); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.bar i { display: block; height: 100%; background: var(--grey); border-radius: 999px; transition: width .4s ease; }
.bar i.lime { background: var(--lime); }
.save { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; font-size: 18px; }
.save b { font-size: 32px; color: var(--lime); white-space: nowrap; }
.small { font-size: 13px; }

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

/* The form's honeypot: people never see it, bots fill it in. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
