:root {
  --hyundai-blue: #002c5f;
  --active-blue: #00aad2;
  --sky-blue: #aacae6;
  --sand: #e4dcd3;
  --light-sand: #f6f3f2;
  --ink: #111827;
  --muted: #5d6878;
  --line: #d9e0e8;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(0, 44, 95, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Hyundai Sans, Inter, Arial, sans-serif;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--hyundai-blue);
  font-weight: 800;
}

.brand img { width: 178px; height: auto; }

.brand span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #243044;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--hyundai-blue); border-bottom-color: var(--active-blue); }

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--hyundai-blue);
}

.hero picture,
.hero picture::after,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img { object-fit: cover; }

.hero picture::after {
  content: ";
  background: linear-gradient(90deg, rgba(0, 44, 95, 0.88), rgba(0, 44, 95, 0.42) 44%, rgba(0, 44, 95, 0.04));
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 90vw);
  margin: 0 0 78px 5vw;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--active-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy .eyebrow { color: var(--sky-blue); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  max-width: 720px;
  font-size: 64px;
  line-height: 1.03;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.contact-form button { background: var(--hyundai-blue); color: #fff; }
.button.secondary { background: #fff; color: var(--hyundai-blue); }
.button:hover,
.contact-form button:hover { filter: brightness(1.06); }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-strip article {
  padding: 28px 5vw;
  background: var(--surface);
}

.feature-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--hyundai-blue);
  font-size: 18px;
}

.feature-strip span { color: var(--muted); }

.section,
.contact-section {
  padding: 82px 5vw;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2 { max-width: 720px; margin-bottom: 0; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.model-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--light-sand);
  border: 1px solid #ece8e4;
  border-radius: 8px;
  overflow: hidden;
}

.model-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 20px;
}

.model-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-model {
  background: var(--hyundai-blue);
  color: #fff;
  border-color: var(--hyundai-blue);
}

.featured-model span { color: var(--sky-blue); }

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--hyundai-blue);
  color: #fff;
}

.image-band article {
  display: grid;
  grid-template-columns: minmax(220px, 42%) 1fr;
  min-height: 360px;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band div { padding: 48px; align-self: center; }
.image-band p { color: rgba(255, 255, 255, 0.82); }
.image-band .eyebrow { color: var(--sky-blue); }

.about {
  max-width: 1120px;
}

.about > p {
  max-width: 900px;
  color: var(--muted);
  font-size: 19px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  background: var(--light-sand);
}

address {
  color: var(--muted);
  font-style: normal;
  font-size: 18px;
}

address a { color: var(--hyundai-blue); font-weight: 800; }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2f3b4d;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  padding: 13px 14px;
  font: inherit;
}

.contact-form textarea { resize: vertical; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.78);
  background: #07111f;
  font-size: 14px;
}

@media (max-width: 1100px) {
  h1 { font-size: 52px; }
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .image-band { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 22px;
  }

  .brand img { width: 150px; }
  .main-nav { width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 4px; }
  .hero { min-height: 560px; }
  .hero-copy { margin: 0 22px 46px; width: auto; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .hero-copy p:not(.eyebrow) { font-size: 18px; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip article { padding: 24px 22px; }
  .section, .contact-section { padding: 56px 22px; }
  .section-heading { display: block; }
  .model-grid { grid-template-columns: 1fr; }
  .image-band article { grid-template-columns: 1fr; }
  .image-band img { height: 230px; }
  .image-band div { padding: 34px 22px; }
  .contact-section { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; padding: 28px 22px; }
}
