@font-face {
  font-family: Montserrat;
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #F40113;
  --gold-hot: #B5000D;
  --ink: #000000;
  --snow: #FFFFFF;
  --graphite: #1C1C1C;
  --stone: #6B6B6B;
  --mist: #EFEFEF;
  --header-h: 92px;
  --tab-slant: 32px;
  --night: #000000;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100%;
  background: var(--night);
  color: var(--snow);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

h1,
.hero-copy h1,
.train-hero h1,
.stub h1 {
  font-family: "Barlow Condensed", Montserrat, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-family: "Barlow Condensed", Montserrat, Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
}

h3,
.offer-card h3,
.train-card h3 {
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(18px, 1.25vw, 22px);
  text-transform: none;
}

button, input, textarea { font-family: inherit; }

a { color: inherit; }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 40;
  background: linear-gradient(135deg, #B5000D, #F40113);
  color: var(--snow);
  padding: 8px 12px;
  font-weight: 700;
}

.skip:focus { top: 12px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  height: var(--header-h);
  padding: 0 22px 0 18px;
  background: rgba(0, 0, 0, 0.28);
}

.page-inner .site-header {
  position: absolute;
  background: rgba(0, 0, 0, 0.28);
}

.header-cluster {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  height: auto;
  margin-right: 0;
  padding: 8px 4px;
  text-decoration: none;
}

.site-header > .brand {
  z-index: 3;
  align-self: center;
  margin-right: 8px;
}

.brand img {
  display: block;
  height: auto;
  width: auto;
  max-height: 64px;
  max-width: min(46vw, 150px);
}

.header-smoke {
  position: relative;
  z-index: 0;
  align-self: flex-end;
  display: block;
  height: 92px;
  width: auto;
  max-width: 140px;
  margin: 0 0 4px;
  object-fit: contain;
  object-position: left bottom;
  background: transparent;
  pointer-events: none;
  user-select: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav > li.nav-glide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  height: 100%;
  width: 0;
  background: none;
  pointer-events: none;
  opacity: 0;
  list-style: none;
  overflow: visible;
  transition: opacity 0.28s ease;
}

.nav-plate {
  position: absolute;
  inset: 0;
  background: #F40113;
  clip-path: polygon(var(--tab-slant) 0, 100% 0, calc(100% - var(--tab-slant)) 100%, 0 100%);
  pointer-events: none;
  overflow: hidden;
}

.nav-rider {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 5px;
  height: 42%;
  pointer-events: none;
  perspective: 520px;
  transform-style: preserve-3d;
}

.nav-rider-shape {
  position: absolute;
  inset: 0;
  background-color: #000;
  pointer-events: none;
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.4, 0.08, 0.6, 0.92);
  -webkit-mask-image: url("../img/rider-silhouette-mask.png?v=flip1");
  mask-image: url("../img/rider-silhouette-mask.png?v=flip1");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.nav-glide[data-pose="0"] .nav-rider-shape {
  transform: rotate(-8deg) scale(1);
}

.nav-glide[data-pose="1"] .nav-rider-shape {
  transform: rotate(6deg) rotateY(180deg) scale(0.94);
}

.nav-glide[data-pose="2"] .nav-rider-shape {
  transform: rotate(12deg) scale(1.06);
}

.nav-glide[data-pose="3"] .nav-rider-shape {
  transform: rotate(-14deg) rotateY(180deg) scale(0.98);
}

.nav-glide[data-pose="4"] .nav-rider-shape {
  transform: rotate(4deg) scale(0.78);
}


.nav > li { position: relative; display: flex; align-items: stretch; height: 100%; }

.nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 6px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.nav > li > a:hover { color: var(--gold); }

.caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
}

.nav > li.is-active > a {
  background: var(--gold);
  color: var(--snow);
  clip-path: polygon(var(--tab-slant) 0, 100% 0, calc(100% - var(--tab-slant)) 100%, 0 100%);
  padding: 0 calc(var(--tab-slant) + 8px) 0 calc(var(--tab-slant) + 16px);
}

.nav > li.is-active > a:hover { color: var(--snow); }

.menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 14px;
  z-index: 12;
  min-width: 196px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #141414;
  border-top: 2px solid var(--gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav > li:hover > .menu,
.nav > li:focus-within > .menu,
.nav > li.is-open > .menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu a {
  display: block;
  padding: 10px 18px;
  color: #f2f2f2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.menu a:hover { color: var(--gold); }

.tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.tool svg { display: block; }

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.menu-toggle { display: none; }

.search-bar,
.pop {
  position: absolute;
  top: 100%;
  background: #141414;
  border-top: 2px solid var(--gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.search-bar {
  left: 0;
  right: 0;
  padding: 16px 28px 18px;
}

.search-bar[hidden],
.pop[hidden] { display: none; }

.search-bar form { display: flex; gap: 8px; }

.search-bar input {
  flex: 1;
  border: 1px solid #333;
  background: #1c1c1c;
  color: #fff;
  padding: 12px 14px;
  font-size: 15px;
}

.search-bar button,
.form button,
.pop .go {
  border: 0;
  background: linear-gradient(135deg, #B5000D, #F40113);
  color: var(--snow);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.search-bar button { padding: 0 18px; }

.tool-wrap { position: relative; }

.pop {
  right: 0;
  width: 280px;
  padding: 14px 16px 16px;
  text-align: left;
}

.pop-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pop ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pop li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.pop .empty {
  margin: 0;
  color: #c8c8c8;
  font-size: 14px;
}

.pop .go {
  display: block;
  margin-top: 12px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

.lang-pop { width: 160px; }

.lang-pop button {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: left;
  cursor: pointer;
}

.lang-pop button[aria-pressed="true"],
.lang-pop button:hover { color: var(--gold); }

html[lang="ro"] .hero-copy h1 {
  font-size: clamp(48px, 4.2vw, 72px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #080808;
}

.slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.is-active { opacity: 1; }

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18) 32%, rgba(0, 0, 0, 0.38)),
    rgba(0, 0, 0, 0.22);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 24px 20px 0;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-line {
  max-width: 760px;
  margin: 12px auto 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hero-btn-gold { background: linear-gradient(135deg, #B5000D, #F40113); color: var(--snow); }

.hero-btn-white { background: #fff; color: var(--ink); }

.hero-btn-gold:hover { background: var(--gold-hot); }

.hero-btn-white:hover { background: var(--mist); }

.subline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 0;
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 600;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
}

.subline::before,
.subline::after {
  content: "";
  width: 74px;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  text-indent: 0;
}

.shop-now {
  display: inline-flex;
  align-items: stretch;
  height: 48px;
  margin-top: 28px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.shop-now .cart-bit {
  display: grid;
  place-items: center;
  width: 52px;
  background: linear-gradient(135deg, #B5000D, #F40113);
  color: #fff;
}

.shop-now .label {
  display: grid;
  place-items: center;
  padding: 0 22px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.shop-now:hover .cart-bit { background: var(--gold-hot); }

.arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0.9;
}

.arrow:hover { opacity: 1; }

.arrow.prev { left: 10px; }

.arrow.next { right: 10px; }

.stub {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 48px) 20px 88px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, #1C1C1C, #000000 68%);
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.stub h1 {
  margin: 0;
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stub .lead {
  max-width: 520px;
  margin: 14px 0 0;
  color: #d0d0d0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.train-hero {
  padding: calc(var(--header-h) + 64px) 24px 72px;
  text-align: center;
  color: #fff;
  background: radial-gradient(ellipse at 50% 18%, #1C1C1C, #000000 68%);
}

.train-hero h1 {
  margin: 0;
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: 800;
  line-height: 1.05;
}

.train-hero p {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.train-school a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.train-school a:hover { color: var(--gold); }

.train-block {
  background: var(--mist);
  color: #1a1a1a;
  padding: 64px 28px 28px;
}

.train-block:last-of-type { padding-bottom: 80px; }

.train-block h2 {
  max-width: 920px;
  margin: 0 auto 36px;
  font-size: clamp(30px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.train-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.train-grid-one {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.train-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 32px 26px 28px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--gold);
}

.train-card h3 {
  margin: 0 0 14px;
  color: var(--graphite);
  line-height: 1.2;
}

.train-card p {
  margin: 0 0 24px;
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.train-card .offer-btn { margin-top: auto; }

.about-hero p { max-width: 860px; }

.about-card p { margin-bottom: 0; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.about-split h2 { margin-bottom: 18px; }

.about-split ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-split li {
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.6;
}

.about-split li + li { margin-top: 8px; }

.about-tag {
  margin: 56px auto 8px;
  max-width: 920px;
  color: var(--graphite);
  font-family: "Barlow Condensed", Montserrat, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 44px);
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 14px;
  margin-top: 28px;
}

.card {
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 2px solid var(--gold);
}

.card h2 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: #c8c8c8;
  font-size: 13px;
  line-height: 1.45;
}

.form {
  display: grid;
  gap: 12px;
  width: min(440px, 100%);
  margin-top: 22px;
  text-align: left;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #333;
  background: #161616;
  color: #fff;
  padding: 12px 14px;
  font-size: 15px;
}

.form button { padding: 14px; }

.thanks {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.page-links a {
  padding: 10px 14px;
  border: 1px solid rgba(244, 1, 19, 0.45);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer {
  background: var(--mist);
  color: var(--graphite);
  padding: 72px 28px 88px;
}

.offer-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.offer h2 {
  max-width: 920px;
  margin: 0 auto 42px;
  color: var(--graphite);
  font-size: clamp(30px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.offer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  padding: 0 28px 36px;
  text-align: center;
}

.offer-card img {
  width: calc(100% + 56px);
  max-width: none;
  height: auto;
  margin: 0 -28px 26px;
}

.offer-card h3 {
  margin: 0 0 14px;
  color: var(--graphite);
  line-height: 1.2;
}

.offer-card p {
  margin: 0 0 28px;
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 48px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #B5000D, #F40113);
  color: var(--snow);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.offer-btn:hover { background: var(--gold-hot); }

.location {
  background: var(--graphite);
  color: #fff;
  padding: 72px 40px;
}

.location-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 48px 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.location h2 {
  margin: 0 0 18px;
  color: var(--snow);
  font-size: clamp(30px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.location p {
  margin: 0 0 16px;
  color: #f3f3f3;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.location-lead a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.location-lead a:hover { color: var(--gold); }

.location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 52px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #B5000D, #F40113);
  color: var(--snow);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.location-btn:hover { background: var(--gold-hot); }

.osm-map {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #d7d3cb;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  touch-action: none;
  cursor: grab;
}

.osm-map.is-drag { cursor: grabbing; }

.osm-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.osm-world { position: absolute; top: 0; left: 0; }

.osm-world img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
}

.osm-pin {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: -16px 0 0 -9px;
  background: var(--gold);
  border: 2px solid #141414;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.osm-zoom {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  display: grid;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.osm-zoom button {
  width: 32px;
  height: 32px;
  border: 0;
  border-bottom: 1px solid #ddd;
  background: #fff;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.osm-zoom button:last-child { border-bottom: 0; }

.osm-zoom button:hover { background: #f6f6f6; }

.osm-credit {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 6px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.88);
  color: #333;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.partners {
  background: var(--snow);
  color: var(--graphite);
  padding: 64px 28px 72px;
}

.partners h2 {
  margin: 0 auto 40px;
  max-width: 920px;
  font-size: clamp(30px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.partner-grid li {
  display: grid;
  place-items: center;
  min-height: 120px;
}

.partner-grid img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 112px;
}

.site-footer {
  background: var(--night);
  color: #fff;
  padding: 48px 28px 36px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  height: auto;
  width: auto;
  max-height: 148px;
  max-width: min(72vw, 210px);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 26px 0 18px;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--gold); }

.footer-loc {
  margin: 0;
  color: #e8e8e8;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-loc a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-loc a:hover { color: var(--gold); }

.footer-copy {
  margin: 18px 0 0;
  color: #bdbdbd;
  font-size: 13px;
  font-weight: 600;
}

.footer-logos {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logos a {
  color: #8d8d8d;
  text-decoration: none;
}

.footer-logos a:hover { color: #fff; }

.logo-page {
  padding: calc(var(--header-h) + 56px) max(20px, 5vmin) 80px;
  background: var(--mist);
  color: var(--graphite);
}

.logo-page h1 {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(48px, 4.2vw, 72px);
}

.logo-list {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.logo-name {
  margin: 0;
  padding: 12px 16px;
  background: #fff;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 28px 24px;
}

.logo-strip.is-light { background: #efefef; }

.logo-strip.is-dark { background: #000; }

.logo-strip img {
  width: auto;
  max-width: min(100%, 420px);
  max-height: 110px;
  height: auto;
}

.page-links a:hover { background: linear-gradient(135deg, #B5000D, #F40113); color: var(--snow); }

.query-note {
  margin-top: 16px;
  color: var(--gold);
  font-weight: 700;
}

@media (min-width: 981px) {
  :root {
    --header-h: clamp(118px, calc(9.4vw + 32px), 240px);
    --tab-slant: clamp(24px, calc(3.56vw + 12px), 92px);
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    column-gap: clamp(16px, 1.2vw, 28px);
    padding: 0 clamp(20px, 1.4vw, 32px);
  }

  .header-smoke {
    height: 108px;
    max-width: 168px;
  }

  .site-header > .brand {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    min-width: 0;
    height: auto;
    margin: 0;
  }

  .site-header .brand img {
    width: auto;
    height: clamp(84px, calc(var(--header-h) - 36px), 156px);
    max-height: calc(var(--header-h) - 24px);
    max-width: min(22vw, 230px);
    object-fit: contain;
    object-position: left center;
  }

  .nav {
    grid-column: 2;
    justify-self: center;
  }

  .tools {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    margin-left: 0;
  }

  .nav > li.nav-glide { display: block; }

  .nav.is-gliding .nav-glide { opacity: 1; }

  .nav > li > a {
    position: relative;
    z-index: 1;
    padding: 0 clamp(4px, 0.35vw, 12px);
    font-size: clamp(18px, 1.882vw, 44px);
    letter-spacing: 0;
  }

  .nav > li > a:hover,
  .nav > li.is-hot > a,
  .nav > li.is-hot > a:hover,
  .nav.is-gliding > li.is-active > a {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  .nav > li.is-active > a {
    background: transparent;
    clip-path: none;
    color: #fff;
    padding: 0 clamp(4px, 0.35vw, 12px);
  }

  .tools { gap: clamp(4px, 0.3vw, 10px); }

  .tool {
    width: clamp(36px, 2.4vw, 52px);
    height: clamp(36px, 2.4vw, 52px);
  }

  .tool svg {
    width: clamp(24px, 1.55vw, 32px);
    height: clamp(24px, 1.55vw, 32px);
  }

  .hero-copy h1,
  html[lang="ro"] .hero-copy h1 { font-size: clamp(48px, 4.2vw, 72px); }

  .hero-line {
    max-width: min(1100px, 78vw);
    margin-top: clamp(18px, 1.5vw, 32px);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
  }

  .hero-actions {
    gap: clamp(14px, 1vw, 24px);
    margin-top: clamp(34px, 2.6vw, 56px);
  }

  .hero-btn {
    min-height: 52px;
    padding: 0 clamp(22px, 1.6vw, 36px);
    font-size: 16px;
  }

  .arrow svg {
    width: clamp(36px, 2.4vw, 52px);
    height: clamp(36px, 2.4vw, 52px);
  }
}

@media (max-width: 980px) {
  .header-smoke {
    height: 72px;
    max-width: 110px;
  }

  .site-header .brand img {
    max-height: 64px;
    max-width: min(42vw, 140px);
  }

  .menu-toggle { display: grid; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #111;
    border-top: 2px solid var(--gold);
  }

  .nav.is-open { display: flex; }

  .nav > li { flex-direction: column; }

  .nav > li.nav-glide { display: none; }

  .nav > li.is-active > a {
    background: var(--gold);
    clip-path: none;
    color: var(--snow);
  }

  .menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    background: #1b1b1b;
  }

  .nav > li.is-open > .menu { display: block; }

  .cards,
  .offer-grid,
  .train-grid,
  .train-grid-one,
  .about-split { grid-template-columns: 1fr; }

  .offer { padding: 48px 16px 64px; }

  .offer-card { padding: 0 20px 28px; }

  .offer-card img {
    width: calc(100% + 40px);
    margin: 0 -20px 22px;
  }

  .location { padding: 48px 16px; }

  .location-wrap { grid-template-columns: 1fr; }

  .osm-map { height: 300px; }

  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .logo-strips { grid-template-columns: 1fr; }

  .partners { padding: 48px 16px 56px; }

  .subline::before,
  .subline::after { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .menu,
  .nav > li.nav-glide,
  .nav-rider-shape,
  .nav-plate { transition: none; }

  .nav-glide.is-riding .nav-rider { animation: none; }
}

@media (min-width: 2000px) {
  .site-header {
    width: min(2280px, calc(100% - 96px));
    margin-inline: auto;
    padding-left: 28px;
    padding-right: 28px;
    background: transparent;
  }

  .site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
  }
}

.offer,
.location,
.partners,
.train-block,
.train-hero,
.stub,
.site-footer {
  padding-left: max(20px, 5vmin);
  padding-right: max(20px, 5vmin);
}

.offer h2::before,
.partners h2::before,
.train-block h2::before,
.location h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 12px;
  background: #F40113;
}

.location h2::before { margin-left: 0; }
