:root {
  --bg: #1d364f;
  --bg2: #1d364f;
  --card: #1d364f;
  --blue: #1d364f;
  --blue2: #1d364f;
  --blue3: #1d364f;
  --text: #fff;
  --muted: #bdbdbd;
  --line: rgba(255, 255, 255, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}
.container.wide {
  width: min(1380px, 94%);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: #f4f6f8;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 105px;
}
.brand img {
  display: block;
  width: 320px;
  max-height: 95px;
  object-fit: contain;
  object-position: left center;
}
.menu {
  display: flex;
  gap: 34px;
}
.menu a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1d364f;
  font-weight: 700;
}
.menu a:hover {
  color: #000;
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--blue2);
  color: #1d364f;
  font-size: 24px;
  padding: 6px 12px;
}
.hero {
  height: calc(100vh - 215px);
  min-height: 520px;
  max-height: 760px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      120deg,
      rgba(29, 54, 79, 0.96),
      rgba(29, 54, 79, 0.74),
      rgba(29, 54, 79, 0.38)
    ),
    radial-gradient(circle at 75% 32%, rgba(29, 54, 79, 0.32), transparent 34%),
    url("bmw-m5-g99.webp");
  background-size: cover;
  background-position: center;
}
.hero-content {
  width: min(1320px, 94%);
  max-width: none;
  padding: 105px 0;
}
.eyebrow {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: bold;
}
h1 {
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.02;
  margin: 12px 0 22px;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.04;
  max-width: 720px;
}
h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 8px 0 18px;
}
h3 {
  line-height: 1.25;
}
.hero-text {
  font-size: 18px;
  line-height: 1.55;
  color: #e3ebf1;
  max-width: 650px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero .actions {
  width: 650px;
  max-width: 100%;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--blue2);
  font-weight: bold;
  cursor: pointer;
}
.btn.primary {
  background: var(--blue2);
  color: #fff;
}
.btn.primary:hover {
  background: #1d364f;
  filter: brightness(1.12);
}
.btn.secondary {
  color: #fff;
  border-color: #fff;
}
.btn.whatsapp {
  background: #16231c;
  color: #fff;
  border-color: #285c3b;
}
.strip {
  background: #f4f6f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats div {
  padding: 18px 20px;
  border-right: 1px solid rgba(29, 54, 79, 0.16);
}
.stats strong {
  display: block;
  color: #1d364f;
  font-size: 23px;
}
.stats span {
  color: #555;
}
.section {
  padding: 88px 0;
  scroll-margin-top: 125px;
}
.section.alt {
  background: var(--bg2);
}
.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}
.section-head p,
.info-card p,
.panel p,
.contact p,
.grid-2 > div > p {
  color: var(--muted);
}
.inventory-section {
  background: #f4f6f8;
  color: #1d364f;
  padding: 64px 0;
}
.inventory-section .section-head p {
  color: #1d364f;
}
.inventory-section .eyebrow {
  color: #1d364f;
}
.inventory-section h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}
.inventory {
  min-height: 260px;
  background: #f4f6f8;
  border: 1px solid #dce3e8;
  padding: 10px;
  overflow: hidden;
}
.inventory iframe {
  display: block;
  width: 100%;
  height: 5000px;
  border: 0;
}
.inventory-preview {
  max-height: 1120px;
}
.inventory-actions {
  text-align: center;
  margin-top: 28px;
}
.inventory-button {
  background: #1d364f;
  color: #fff;
  border-color: #1d364f;
}
.inventory-page {
  min-height: 100vh;
}
.inventory-page h1 {
  color: #1d364f;
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 44px);
}
.carousel-shell {
  position: relative;
}
.car-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.car-carousel::-webkit-scrollbar {
  display: none;
}
.latest-car {
  flex: 0 0 calc((100% - 44px) / 3);
  width: calc((100% - 44px) / 3);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: #f4f6f8;
  border: 1px solid #dce3e8;
  box-shadow: 0 8px 24px rgba(29, 54, 79, 0.1);
}
.latest-car > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.latest-car img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: #f5f5f5;
}
.latest-car-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 17px;
}
.latest-car h3 {
  min-height: 52px;
  margin: 0 0 8px;
  color: #1d364f;
  font-size: 19px;
}
.car-type {
  height: 72px;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.car-meta {
  display: flex;
  gap: 18px;
  color: #555;
  font-size: 14px;
  margin-bottom: 12px;
}
.car-price {
  display: block;
  margin-top: auto;
  color: #1d364f;
  font-size: 22px;
}
.carousel-status {
  width: 100%;
  padding: 45px;
  text-align: center;
  color: #555;
}
.carousel-status a {
  color: #1d364f;
  text-decoration: underline;
}
.carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #1d364f;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}
.carousel-arrow.prev {
  left: -23px;
}
.carousel-arrow.next {
  right: -23px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card,
.panel,
.contact-form {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  padding: 28px;
}
.info-card h3,
.panel h3 {
  color: #fff;
}
.service-section .eyebrow,
.service-section .section-head p,
.service-section .info-card h3,
.service-section .info-card p,
.service-section summary,
.service-section .details-content {
  color: #1d364f;
}
.service-section .section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}
.service-section .info-card,
.service-section details {
  background: #f4f6f8;
  border-color: rgba(29, 54, 79, 0.18);
  color: #1d364f;
  box-shadow: 0 10px 28px rgba(29, 54, 79, 0.1);
}

.service-section .info-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-section .info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(29, 54, 79, 0.14);
}
.service-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 17px 22px;
  background: #f4f6f8;
  border: 1px solid rgba(29, 54, 79, 0.18);
  color: #1d364f;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(29, 54, 79, 0.08);
}
.service-more:hover { background: #eaf0f4; }
.service-more span { font-size: 24px; }
.service-page { background: #f4f6f8; color: #1d364f; }
.service-page .service-intro { max-width: 850px; margin-bottom: 40px; }
.service-page .service-intro h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 20px;
}
.service-page .service-intro p { color: #4f5e6c; font-size: 18px; }
.service-full-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service-full-card {
  padding: 30px;
  background: #f4f6f8;
  border: 1px solid rgba(29, 54, 79, 0.16);
  box-shadow: 0 10px 28px rgba(29, 54, 79, 0.1);
}
.service-full-card h2 { margin-top: 0; font-size: 25px; }
.service-full-card p, .service-full-card li { color: #4f5e6c; }
.service-full-card ul { margin: 0; padding-left: 22px; }
.service-full-card li + li { margin-top: 8px; }
.service-full-card.service-wide { grid-column: 1 / -1; }
.service-exclusions { border-left: 4px solid #1d364f; }
.service-important { background: #eaf0f4; }
.service-page-cta {
  margin-top: 30px;
  padding: 30px;
  background: #1d364f;
  color: #fff;
}
.service-page-cta h2 { font-size: 28px; margin-top: 0; }
.service-page-cta p { color: #d9e2e9; }
.text-link {
  color: #1d364f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .service-full-grid { grid-template-columns: 1fr; }
  .service-full-card.service-wide { grid-column: auto; }
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.panel {
  padding: 40px;
}
.checklist {
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}
.checklist li {
  padding: 10px 0 10px 30px;
  position: relative;
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
}
details {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 18px 22px;
  color: #fff;
  font-weight: bold;
}
.details-content {
  padding: 0 22px 18px;
  color: var(--muted);
}
.finance-frame {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(29, 54, 79, 0.2);
}
.finance-frame iframe {
  display: block;
  width: 100%;
  min-width: 320px;
  min-height: 1150px;
  border: 0;
  filter: grayscale(1) sepia(0.42) saturate(3.4) hue-rotate(166deg)
    brightness(0.92) contrast(1.08);
}
.contact-list {
  margin: 28px 0;
  padding: 22px;
  border-left: 3px solid #fff;
  background: rgba(255, 255, 255, 0.04);
}
.contact-list a {
  color: #fff;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  font-size: 14px;
  color: #d8e2ea;
}
.form-note {
  margin: 0;
  color: #d8e2ea;
  font-size: 14px;
}
.thank-you {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  background: #f4f6f8;
  color: #1d364f;
  text-align: center;
}
.thank-you .panel {
  max-width: 680px;
  background: #fff;
  border-color: rgba(29, 54, 79, 0.16);
  box-shadow: 0 12px 35px rgba(29, 54, 79, 0.12);
}
.thank-you .panel h1 { font-size: clamp(32px, 4vw, 48px); }
.thank-you .panel p { color: #4f5e6c; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  font-size: 16px;
}
.floating-whatsapp {
  background: #23854a;
  color: #fff;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 9px;
}
.social-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(29, 54, 79, 0.24);
}
.social-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.social-button.facebook { background: #1877f2; }
.social-button.facebook svg { fill: currentColor; stroke: none; }
.social-button.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.social-button .social-dot { fill: currentColor; stroke: none; }
footer {
  background: #f4f6f8;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: #1d364f;
}
.footer-copyright {
  text-align: center;
}
.footer-copyright p {
  margin: 0;
  font-size: 14px;
}
@media (max-width: 1050px) {
  .menu {
    gap: 14px;
  }
  .menu a {
    font-size: 12px;
  }
  .brand img {
    width: 320px;
  }
}
@media (max-width: 850px) {
  .nav {
    min-height: 100px;
  }
  .brand img {
    width: 280px;
    max-height: 88px;
  }
  .menu-btn {
    display: block;
  }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    background: #f4f6f8;
    border-bottom: 1px solid var(--line);
    padding: 20px 4%;
    flex-direction: column;
  }
  .menu.open {
    display: flex;
  }
  .stats,
  .cards,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(29, 54, 79, 0.16);
  }
  .section {
    padding: 66px 0;
  }
  .hero {
    height: auto;
    min-height: 72vh;
    max-height: none;
  }
  .hero-content {
    padding: 82px 0;
  }
  .inventory {
    padding: 0;
  }
  .finance-frame {
    margin-left: -2%;
    margin-right: -2%;
  }
}
@media (max-width: 850px) {
  .latest-car {
    flex-basis: calc((100% - 22px) / 2);
    width: calc((100% - 22px) / 2);
  }
  .latest-car img {
    height: 220px;
  }
}
@media (max-width: 560px) {
  .latest-car {
    flex-basis: 88%;
    width: 88%;
  }
  .carousel-arrow {
    display: none;
  }
  .latest-car img {
    height: 210px;
  }
}
@media (max-width: 480px) {
  .brand img {
    width: 235px;
  }
  .hero-text {
    font-size: 17px;
  }
  .btn {
    width: 100%;
  }
  .floating-whatsapp {
    padding: 12px 15px;
  }
  .floating-actions { right: 12px; bottom: 12px; gap: 7px; }
  .social-button { width: 44px; height: 44px; }
}
