/* MOBTRANS — palette pulled from the logo, plus Yerevan tufa stone for light sections */
:root {
  --ink: #1e2631;          /* logo charcoal */
  --ink-2: #2a3340;        /* raised dark surface */
  --asphalt: #3b4553;      /* road on dark backgrounds */
  --orange: #f7931e;       /* logo orange */
  --orange-deep: #c96d06;  /* orange that passes contrast as text on light */
  --tufa: #f4ebe6;         /* pink tufa stone of Yerevan */
  --stone: #5d6673;        /* secondary text */
  --line: #e3d8d1;
  --white: #fff;

  --font-display: "Unbounded", "Noto Sans Armenian", system-ui, sans-serif;
  --font-body: "Golos Text", "Noto Sans Armenian", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
:lang(hy) h1, :lang(hy) h2, :lang(hy) h3 { letter-spacing: 0; line-height: 1.25; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 62ch; }
.lead { font-size: 1.1875rem; color: var(--stone); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font-body);
  padding: 1rem 1.5rem; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ffa53d; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.skip { position: absolute; left: -9999px; top: .75rem; z-index: 60; background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { left: 1rem; }
.brand { flex: none; }
.brand img { height: 56px; width: auto; }
.menu { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav { display: flex; gap: 1.75rem; }
.nav a { text-decoration: none; font-weight: 500; padding: .5rem 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang button {
  font: 500 .875rem/1 var(--font-body); background: none; border: 0; padding: .55rem .7rem; cursor: pointer; color: var(--stone);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.header-actions .btn { padding: .8rem 1.15rem; }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .site-header .wrap { gap: 1rem; }
  .menu-toggle {
    display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px;
    width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: "";
  }
  .menu-toggle span::before { position: absolute; top: -6px; }
  .menu-toggle span::after { position: absolute; top: 6px; }
  .menu { display: none; }
  .site-header.open .menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 1.25rem;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); padding: .5rem var(--gutter) 1.5rem;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(30,38,49,.35);
  }
  .site-header.open .nav { flex-direction: column; gap: 0; }
  .site-header.open .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav a[aria-current="page"] { color: var(--orange-deep); border-bottom-color: var(--line); }
  .site-header.open .header-actions { justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
  .lang { flex: none; }
  .brand img { height: 46px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); background: var(--ink);
  min-height: min(82vh, 760px); display: flex; align-items: flex-end;
  isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,26,34,.92) 0%, rgba(20,26,34,.7) 42%, rgba(20,26,34,.15) 75%),
              linear-gradient(0deg, rgba(20,26,34,.85) 0%, rgba(20,26,34,0) 45%);
}
.hero .wrap { padding-block: clamp(5rem, 12vw, 8rem) 0; }
.hero h1 { max-width: 15ch; }
.hero .hero-sub { margin-top: 1.5rem; max-width: 46ch; font-size: 1.1875rem; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.25rem; }

/* the road: logo motif, closes the hero */
.road {
  height: 46px; margin-top: clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(90deg, var(--orange) 0 56px, transparent 56px 100px) 0 50% / 100px 4px repeat-x,
    var(--ink);
  border-top: 3px solid var(--asphalt);
}

/* Page banners (inner pages) */
.banner { position: relative; color: var(--white); background: var(--ink); isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,26,34,.9) 0%, rgba(20,26,34,.55) 55%, rgba(20,26,34,.15) 100%);
}
.banner .wrap { padding-block: clamp(4rem, 9vw, 6.5rem) clamp(3rem, 6vw, 4.5rem); }
.banner p { margin-top: 1rem; max-width: 50ch; font-size: 1.1875rem; color: rgba(255,255,255,.86); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1rem; }
.bg-tufa { background: var(--tufa); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .lead { color: rgba(255,255,255,.75); }

/* ---------- Routes (the signature block) ---------- */
.routes-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.route-map { width: 100%; height: auto; }
.route-map .sea { fill: #243041; }
.route-map .country { font: 600 15px var(--font-display); fill: rgba(255,255,255,.22); letter-spacing: .02em; }
.route-map .sea-label { font: 500 12px var(--font-body); fill: rgba(255,255,255,.4); font-style: italic; }
.route-map .bed { fill: none; stroke: var(--asphalt); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.route-map .lane { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.route-map .stop { fill: var(--ink); stroke: var(--white); stroke-width: 3; }
.route-map .border-pt { fill: var(--orange); stroke: var(--ink); stroke-width: 2; }
.route-map .hub { fill: var(--orange); stroke: var(--white); stroke-width: 4; }
.route-map .lbl { font: 500 16px var(--font-body); fill: var(--white); }
.route-map .lbl-b { font: 600 15px var(--font-body); fill: var(--orange); }
.route-map .lbl-hub { font: 700 20px var(--font-display); fill: var(--white); }
.route-map .lbl-off { font: 500 14px var(--font-body); fill: rgba(255,255,255,.65); }

/* one orchestrated moment: the lanes draw in when the map scrolls into view */
.js .route-map .lane { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.js .route-map.drawn .lane { transition: stroke-dashoffset 1.8s cubic-bezier(.45,.05,.25,1); stroke-dashoffset: 0; }
.js .route-map.drawn .lane.south { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .js .route-map .lane { stroke-dasharray: none; stroke-dashoffset: 0; }
}

.routes-text { margin-top: 1.25rem; max-width: 52ch; }

/* ---------- Services (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.svc { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; padding-block: 2rem; border-top: 2px solid var(--ink); }
.svc svg { width: 44px; height: 44px; stroke: var(--orange-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc p { margin-top: .5rem; color: var(--stone); }
.more-link { display: inline-block; margin-top: 2rem; font-weight: 600; color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 10%; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0 22px, transparent 22px 40px) 0 0 / 40px 4px repeat-x;
}
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: var(--white); font: 700 1.25rem var(--font-display); margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--white); position: relative;
}
.steps p { margin-top: .5rem; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--ink); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band p { margin-top: .4rem; }

/* ---------- Service rows (services page) ---------- */
.svc-rows { display: grid; gap: clamp(3.5rem, 7vw, 5.5rem); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svc-row:nth-child(even) .svc-row-photo { order: 2; }
.svc-row-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.svc-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.svc-row p { margin-top: 1rem; color: var(--stone); }
.svc-row .tag { display: inline-block; margin-bottom: 1rem; color: var(--orange-deep); font-weight: 600; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; }
.about-grid p + p { margin-top: 1rem; }
.about-grid p { color: var(--stone); }
.about-photo { position: relative; margin: 0 0 1.5rem 1.5rem; }
.since {
  position: absolute; left: -1.5rem; bottom: -1.5rem;
  background: var(--ink); color: var(--white); padding: 1.1rem 1.5rem 1.2rem; border-radius: 4px;
  border-left: 6px solid var(--orange);
}
.since strong { display: block; font: 700 clamp(2.4rem, 4.5vw, 3.4rem)/1 var(--font-display); color: var(--orange); }
.since span { display: block; margin-top: .4rem; font-size: .9375rem; color: rgba(255,255,255,.8); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.visit-grid .contact-list { margin-top: 2rem; }
.map-embed.visit-map { margin-top: 0; aspect-ratio: 16 / 11; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.values > div { border-top: 4px solid var(--orange); padding-top: 1.5rem; }
.values p { margin-top: .5rem; color: var(--stone); }

/* ---------- Contact / quote form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-form { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.quote-form fieldset { border: 0; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.quote-form legend { font: 600 1.0625rem var(--font-display); margin-bottom: 1.1rem; padding: 0; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .9375rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .8rem .9rem; border: 1px solid #cfc3bb; border-radius: 6px; background: var(--white);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(247,147,30,.45); }
.field[hidden] { display: none; }
.field .err { color: #b3261e; font-size: .875rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { font-weight: 500; }
.form-status.ok { color: #1d7a3a; }
.form-status.bad { color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.form-alt {
  margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--tufa); border-left: 4px solid var(--orange); border-radius: 6px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.form-alt p { margin: 0; color: var(--stone); }
.form-alt .form-alt-t { color: var(--ink); font-weight: 600; margin-bottom: .2rem; }
.form-alt-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.form-alt-links li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; }
.form-alt-links svg { width: 20px; height: 20px; stroke: var(--orange-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.form-alt-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.form-alt-links a:hover { text-decoration: underline; text-decoration-color: var(--orange); }

.contact-card { background: var(--ink); color: var(--white); border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.25rem); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-card h2 { font-size: 1.25rem; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: .9rem; align-items: start; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: rgba(255,255,255,.6); font-size: .875rem; }
.map-embed { margin-top: 1.75rem; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); font-size: .9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer img { height: 54px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { font: 600 1rem var(--font-display); color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); }
.footer-base .wrap { display: block; padding-block: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .routes-grid, .about-grid, .contact-grid, .visit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before { display: none; }
  .contact-card { position: static; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .svc-grid, .values, .svc-row, .quote-form fieldset { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row-photo { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero::before { background: linear-gradient(0deg, rgba(20,26,34,.95) 0%, rgba(20,26,34,.6) 60%, rgba(20,26,34,.35) 100%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
