:root {
  --blue-dark: #05235f;
  --blue: #0c3f9e;
  --blue-light: #1d65f2;
  --ink: #030711;
  --slate: #0d1424;
  --card: rgba(5, 12, 28, 0.88);
  --border: rgba(255, 255, 255, 0.12);
  --text-main: #f4f7fb;
  --text-muted: #c1c8d6;
  --shadow: 0 24px 48px rgba(3, 12, 35, 0.45);
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--ink);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

.top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(20px, 6vw, 72px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: clamp(64px, 8vw, 92px);
  height: auto;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.brand-location {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.82);
}

.top-bar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(6, 12, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-pill:hover,
.contact-pill:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.contact-pill.email {
  border-color: rgba(255, 255, 255, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 28px);
  padding: 16px clamp(20px, 6vw, 72px);
  background: rgba(3, 9, 22, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.site-nav a {
  font-size: 14px;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.site-nav .cta-link {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--text-main);
  border: 1px solid transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 14vw, 140px) clamp(24px, 6vw, 92px);
  background: url("../KAGWebsite/KAGPHOTO.PNG") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(5, 8, 18, 0.92) 20%,
    rgba(12, 36, 92, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.hero-content h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 7vw, 74px);
  line-height: 1.05;
}

.hero-content p {
  max-width: 720px;
  font-size: 18px;
  color: rgba(244, 247, 251, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 12, 28, 0.35);
  color: var(--text-main);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-color: transparent;
}

.btn.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.hero-highlights div {
  background: rgba(6, 14, 32, 0.75);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.highlight-title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 12px;
  margin-bottom: 6px;
  color: rgba(126, 177, 255, 0.85);
}

main section {
  padding: clamp(68px, 11vw, 120px) clamp(24px, 6vw, 92px);
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.38rem;
  font-size: 12px;
  color: rgba(137, 168, 222, 0.8);
  margin-bottom: 12px;
}

.section-intro {
  color: rgba(220, 227, 240, 0.74);
}

.inventory {
  background: linear-gradient(180deg, rgba(3, 8, 22, 0.95), rgba(6, 18, 42, 0.88));
}

.filter-grid {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 4vw, 28px);
}

.filter-card {
  background: rgba(5, 12, 28, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: clamp(20px, 4vw, 28px);
  box-shadow: var(--shadow);
}

.filter-card h3 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  letter-spacing: 0.06rem;
}

.filter-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.filter-card a {
  color: rgba(156, 199, 255, 0.88);
  font-size: 15px;
  transition: color 0.25s ease;
}

.filter-card a:hover,
.filter-card a:focus-visible {
  color: #ffffff;
}

.inventory-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 5vw, 32px);
}

.vehicle-card {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.vehicle-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vehicle-status {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.vehicle-status.new {
  border-color: rgba(68, 193, 255, 0.65);
  color: #bfe7ff;
}

.vehicle-status.collector {
  border-color: rgba(255, 215, 141, 0.6);
  color: #ffe9b7;
}

.vehicle-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
}

.vehicle-price {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.vehicle-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.vehicle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.financing {
  background: linear-gradient(
    135deg,
    rgba(5, 12, 30, 0.92),
    rgba(12, 45, 128, 0.82)
  );
}

.financing-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(6, 12, 28, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(32px, 6vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}

.financing-card h2 {
  margin: 12px 0 18px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
}

.financing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.services {
  background: linear-gradient(160deg, rgba(5, 9, 20, 0.95), rgba(10, 20, 42, 0.9));
}

.service-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 5vw, 32px);
}

.service-card {
  background: rgba(6, 14, 34, 0.88);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(126, 181, 255, 0.6);
}

.service-card h3 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
}

.trade {
  background: linear-gradient(
      to bottom right,
      rgba(4, 9, 22, 0.95),
      rgba(15, 38, 92, 0.85)
    ),
    url("../KAGWebsite/KAGPHOTO.PNG") center / cover fixed;
}

.trade-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(5, 10, 24, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(32px, 6vw, 56px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 5vw, 40px);
}

.trade-form {
  display: grid;
  gap: 16px;
}

.trade-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: rgba(190, 206, 234, 0.82);
}

.trade-form input,
.trade-form textarea,
.contact-form input,
.contact-form textarea,
.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 14, 28, 0.75);
  color: #ffffff;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.trade-form input:focus,
.trade-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.newsletter-form input:focus,
.newsletter-form textarea:focus {
  outline: none;
  border-color: rgba(126, 181, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(126, 181, 255, 0.25);
}

.form-note {
  font-size: 12px;
  color: rgba(200, 208, 221, 0.7);
}

.reviews {
  background: linear-gradient(175deg, rgba(4, 9, 22, 0.94), rgba(7, 17, 38, 0.92));
}

.review-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 32px);
}

.review-grid blockquote {
  margin: 0;
  background: rgba(6, 12, 28, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow);
  font-size: 16px;
  color: rgba(224, 231, 244, 0.9);
}

.review-grid cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  color: rgba(159, 197, 255, 0.86);
}

.newsletter {
  background: linear-gradient(160deg, rgba(4, 9, 22, 0.95), rgba(6, 20, 52, 0.9));
}

.newsletter-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(5, 12, 28, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(32px, 6vw, 60px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 5vw, 40px);
}

.newsletter-form {
  display: grid;
  gap: 14px;
}

.newsletter-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: rgba(194, 205, 224, 0.82);
}

.newsletter-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  color: rgba(204, 213, 228, 0.78);
}

.newsletter-form .consent input {
  width: 18px;
  margin-top: 4px;
}

.contact {
  background: linear-gradient(
      180deg,
      rgba(3, 8, 20, 0.94),
      rgba(9, 18, 40, 0.94)
    ),
    url("../KAGWebsite/KAGPHOTO.PNG") center / cover fixed;
}

.contact-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(5, 12, 28, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(32px, 6vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 5vw, 40px);
}

.contact-details h2 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-map iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.contact-link {
  display: block;
  color: rgba(150, 196, 255, 0.9);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  letter-spacing: 0.06rem;
}

.footer {
  background: #020610;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px clamp(20px, 6vw, 72px);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(188, 198, 214, 0.78);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 52px;
  height: auto;
}

.footer-note {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-nav {
    position: static;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: clamp(42px, 8vw, 62px);
  }
}

@media (max-width: 640px) {
  .top-bar {
    justify-content: center;
    text-align: center;
  }

  .top-bar-contact {
    justify-content: center;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .inventory-list,
  .service-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

