﻿:root {
  --ink: #10251c;
  --ink-soft: #264435;
  --cream: #fff7df;
  --cream-strong: #ffe9a6;
  --gold: #f4c64e;
  --leaf: #0b5d3b;
  --panel: rgba(255, 247, 223, 0.88);
  --panel-dark: rgba(16, 37, 28, 0.74);
  --shadow: 0 24px 80px rgba(7, 22, 16, 0.32);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  background:
    linear-gradient(120deg, rgba(16, 37, 28, 0.96), rgba(16, 37, 28, 0.44)),
    url("assets/bg.webp") center / cover fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 198, 78, 0.26), transparent 28rem),
    radial-gradient(circle at 82% 6%, rgba(255, 247, 223, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(16, 37, 28, 0.14), rgba(16, 37, 28, 0.84));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 86px;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.hero__content {
  padding: 28px;
  border: 1px solid rgba(244, 198, 78, 0.34);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(16, 37, 28, 0.76), rgba(16, 37, 28, 0.48));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  text-align: center;
}

.brand-card {
  display: inline-grid;
  place-items: center;
  width: min(320px, 72vw);
  margin: 0 auto 22px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 247, 223, 0.10);
  border: 1px solid rgba(255, 247, 223, 0.20);
}

.brand-card__logo {
  width: 100%;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.28));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--cream-strong);
  background: rgba(255, 247, 223, 0.08);
  border: 1px solid rgba(244, 198, 78, 0.24);
  font-size: clamp(0.76rem, 1.1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin: 0 auto;
  padding: 18px 20px;
  color: rgba(255, 247, 223, 0.92);
  background: rgba(6, 20, 14, 0.18);
  border-radius: 22px;
  border: 1px solid rgba(255, 247, 223, 0.12);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  border: 2px solid rgba(7, 26, 18, 0.72);
  border-radius: 14px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 247, 223, 0.98), rgba(244, 198, 78, 0.94));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.52);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(244, 198, 78, 0.86);
  background: linear-gradient(180deg, #fff8df, #ffd95d);
}

.download-note {
  max-width: none;
  margin: 0;
  color: rgba(255, 247, 223, 0.68);
  font-size: 0.74rem;
  line-height: 1.35;
  white-space: nowrap;
}

.hero__visual {
  position: relative;
  min-height: 0;
  display: grid;
  gap: 16px;
  align-content: center;
}

.vehicle-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(340px, 100%);
  aspect-ratio: 1.32;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 247, 223, 0.18), rgba(16, 37, 28, 0.22));
  border: 1px solid rgba(255, 247, 223, 0.24);
  box-shadow: 0 22px 64px rgba(7, 22, 16, 0.30);
  backdrop-filter: blur(6px);
  overflow: visible;
}

.vehicle-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.vehicle-card--bus {
  justify-self: start;
  transform: rotate(-2deg);
}

.vehicle-card--trolley {
  justify-self: end;
  transform: rotate(2deg);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.feature-card {
  border-radius: 28px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid rgba(255, 247, 223, 0.36);
  box-shadow: 0 18px 54px rgba(7, 22, 16, 0.22);
}

.feature-card {
  padding: 24px;
}

.feature-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.feature-card p {
  line-height: 1.55;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: 100vw;
  margin: 0;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  color: rgba(255, 247, 223, 0.92);
  background: linear-gradient(90deg, rgba(8, 24, 17, 0.94), rgba(16, 37, 28, 0.86), rgba(8, 24, 17, 0.94));
  border-top: 1px solid rgba(244, 198, 78, 0.34);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.20);
  text-align: center;
  line-height: 1.45;
}

.site-footer strong {
  color: var(--cream-strong);
}

.site-footer a {
  color: var(--cream-strong);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 22px, 680px);
    padding-top: 18px;
    padding-bottom: 150px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero__content {
    padding: 22px;
    border-radius: 26px;
  }

  .hero__visual {
    min-height: 250px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .vehicle-card {
    position: static;
    width: 100%;
    aspect-ratio: 1.32;
    padding: 8px;
    border-radius: 24px;
    transform: none;
  }

  .vehicle-card img {
    border-radius: 12px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
  }

  .download-button {
    width: 100%;
  }

  .download-note {
    white-space: normal;
  }
}
