:root {
  --red: #e31e24;
  --text: #2f2f2f;
  --glass: rgba(255, 255, 255, 0.88);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(255, 255, 255, 0.55);
  --shadow-hero: 0 1.5vw 3vw rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1.7vw 3.5vw rgba(0, 0, 0, 0.15);
  --radius-card: 0.5vw;
  --container-max: 90vw;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #f5f5f5;
  font-size: 1rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: #fff;
  color: #000;
  border: 2px solid var(--red);
  border-radius: 6px;
  padding: 8px 12px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 8px;
}

header {
  background: #ffffffe2;
  padding: 0.5rem 1.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  gap: 2vw;
  align-items: center;
}

nav a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
}

a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

main {
  flex: 1;
  display: flex;
}

.hero-bg {
  position: relative;
  flex: 1;
  background-image: url("Landing.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: visible;
  padding-bottom: 2.5vw;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  margin: 1rem 0;
  color: var(--red);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0.1px;
}

.hero-content p:not(.hint)+p:not(.hint) {
  margin-top: 1rem;
}

.hero-content .hint {
  margin-top: 12px;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #3d3d3d;
}

.hero-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 1.2vw;
  background: var(--glass);
  border: 0.1vw solid var(--border);
  border-radius: 2vw;
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  padding: 2rem 2rem 4rem 2rem;
  max-width: 50vw;
  clip-path: polygon(2.5vw 0, 100% 0, 100% 100%, 0 100%, 0 2.5vw);
  border-top-left-radius: 2.5vw;
  margin-bottom: 1vw;
}

.hero-accent {
  position: absolute;
  left: -0.5vw;
  top: 3.5vw;
  width: 0.5vw;
  height: 5vw;
  background: var(--red);
  z-index: 1;
  border-bottom-left-radius: 0.25vw;
  border-top-left-radius: 0.25vw;
}

.hero-intro-wrap {
  position: relative;
  display: inline-block;
}

.cards-row {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: center;
  margin-top: 1vw;
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
}

.vehicle-card {
  flex: 1 1 calc(50% - 1vw);
  max-width: calc(48% - 1vw);
  display: flex;
  align-items: center;
  gap: 1.2vw;
  height: auto;
  border-radius: var(--radius-card);
  background: var(--glass-strong);
  border: 0.1vw solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  overflow: hidden;
  padding: 1.2vw;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.25);
}

.vehicle-image {
  width: 40%;
  border-radius: 1vw;
  overflow: hidden;
  flex-shrink: 0;
}

.vehicle-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 1.25s ease;
}

.vehicle-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5vw;
  flex: 1;
}

.vehicle-title {
  margin: 0;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
}

.vehicle-subtitle {
  margin: 0;
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.15;
}

.arrow-btn {
  margin-top: 0.5vw;
  width: 2rem;
  height: 1.5rem;
  border: 0.1rem solid var(--red);
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.arrow-btn:hover {
  background: var(--red);
  color: #fff;
  transform: translateX(0.2vw);
}

.arrow-btn:focus-visible {
  background: var(--red);
  color: #fff;
}

footer {
  background: #f5f5f5;
  height: 44px;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #333;
}

.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

footer>div:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

footer a {
  color: #333;
  text-decoration: none;
}

.landing-content {
  padding: 3vw 2vw 0;
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .landing-content {
    padding: 3vw 3vw 0;
  }

  .hero-card {
    max-width: 700px;
  }

  .hero-bg {
    padding-bottom: 4vw;
  }

  footer {
    padding: 0 20px;
  }

  .cards-row {
    padding-left: 0;
    margin-top: 20px;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
  }

  .vehicle-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .landing-content {
    padding: 4vw 4vw 0;
  }

  .hero-bg {
    padding-bottom: 4vw;
  }

  footer {
    padding: 0 20px;
  }

  .cards-row {
    flex-direction: row;
    margin-top: -6.5rem;
    gap: 2.5vw;
  }
}

@media (max-width: 767px) {
  .cards-row {
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
  }

  .vehicle-card {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .vehicle-title {
    font-size: 16px;
    white-space: normal;
  }

  .vehicle-subtitle {
    font-size: 12px;
  }

  .vehicle-image {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}