/* Dealership overview. Shared navigation and footer remain in site.css. */
.dealership-overview {
  --dealership-navy: #102d48;
  --dealership-blue: #007da3;
}

.dealership-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 39vw, 610px);
  overflow: hidden;
  color: #fff;
  background: #10283e;
}

.dealership-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 25, 40, .96) 0%, rgba(7, 25, 40, .88) 27%, rgba(7, 25, 40, .58) 48%, rgba(7, 25, 40, .14) 70%, rgba(7, 25, 40, .04) 100%);
}

.dealership-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dealership-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 70px;
}

.dealership-hero__eyebrow {
  margin: 0 0 17px;
  color: #d6ebf4;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dealership-hero h1 {
  max-width: 11ch;
  font-size: clamp(4.2rem, 6.8vw, 7.4rem);
  line-height: .96;
}

.dealership-hero__intro {
  max-width: min(30rem, 44vw);
  margin-top: 22px;
  color: #f1f7fa;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.48;
}

.dealership-quicklinks {
  padding-block: clamp(60px, 6vw, 84px);
  background: #f1f5f7;
}

.dealership-quicklinks h2 {
  margin-bottom: clamp(26px, 3vw, 36px);
  color: var(--dealership-navy);
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.dealership-quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.dealership-quicklink {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: #102d48;
  box-shadow: 0 8px 24px rgba(17, 39, 56, .12);
  text-decoration: none;
}

.dealership-quicklink::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5, 20, 34, .96) 0%, rgba(5, 20, 34, .79) 24%, rgba(5, 20, 34, .12) 72%);
  pointer-events: none;
}

.dealership-quicklink > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.dealership-quicklink--sales > img { object-position: 100% center; }
.dealership-quicklink--service > img { object-position: 48% center; }
.dealership-quicklink--parts > img { object-position: 50% 45%; }
.dealership-quicklink--trailer > img { object-position: 45% center; }

.dealership-quicklink__arrow {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(7, 28, 44, .52);
  transition: background .2s ease, border-color .2s ease;
}

.dealership-quicklink__arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dealership-quicklink__copy {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  gap: 8px;
}

.dealership-quicklink__copy strong {
  font-family: var(--display);
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
}

.dealership-quicklink__copy > span {
  max-width: 26ch;
  color: #f0f6f9;
  font-size: .9rem;
  line-height: 1.4;
}

.dealership-quicklink:hover > img { transform: scale(1.04); }
.dealership-quicklink:hover .dealership-quicklink__arrow { border-color: var(--dealership-blue); background: var(--dealership-blue); }
.dealership-quicklink:focus-visible { outline: 3px solid var(--dealership-blue); outline-offset: 5px; }

.dealership-introduction {
  padding-block: clamp(72px, 7.5vw, 112px);
  background: #fff;
}

.dealership-introduction__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
}

.dealership-introduction__photo img {
  width: 100%;
  aspect-ratio: 1 / 1.03;
  object-fit: cover;
  object-position: center 65%;
}

.dealership-introduction__copy {
  max-width: 570px;
}

.dealership-introduction__copy h2 {
  color: var(--dealership-navy);
  font-size: clamp(3.15rem, 4.5vw, 4.7rem);
  line-height: 1;
}

.dealership-introduction__copy p {
  max-width: 45ch;
  margin-top: 26px;
  color: #48545c;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.dealership-photographs {
  padding-bottom: clamp(72px, 7.5vw, 112px);
  background: #fff;
}

.dealership-photographs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.dealership-photographs img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.dealership-photographs__van { object-position: center 57%; }
.dealership-photographs__installation { object-position: center 75%; }

.dealership-contact {
  padding-block: clamp(52px, 5vw, 75px);
  color: #fff;
  background: var(--dealership-navy);
}

.dealership-contact__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.dealership-contact h2 {
  font-size: clamp(2.7rem, 3.5vw, 3.7rem);
}

.dealership-contact p {
  margin-top: 12px;
  color: #e1edf3;
  font-size: 1.05rem;
}

.dealership-contact .button {
  flex: none;
  color: var(--dealership-navy);
}

@media (max-width: 1109px) {
  .dealership-quicklinks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealership-introduction__layout { gap: 42px; }
}

@media (max-width: 699px) {
  .dealership-hero { min-height: 440px; align-items: end; }
  .dealership-hero::after {
    background: linear-gradient(0deg, rgba(7, 25, 40, .96) 0%, rgba(7, 25, 40, .78) 42%, rgba(7, 25, 40, .1) 100%);
  }
  .dealership-hero__image { object-position: 58% center; }
  .dealership-hero__content { padding-block: 90px 46px; }
  .dealership-hero h1 { font-size: clamp(3.9rem, 13vw, 5.2rem); }
  .dealership-hero__intro { max-width: 30ch; }
  .dealership-quicklinks { padding-block: 52px 58px; }
  .dealership-quicklinks__grid { gap: 12px; }
  .dealership-quicklink { min-height: 265px; border-radius: 10px; }
  .dealership-quicklink__arrow { top: 14px; right: 14px; width: 38px; height: 38px; }
  .dealership-quicklink__copy { right: 16px; bottom: 17px; left: 16px; gap: 7px; }
  .dealership-quicklink__copy strong { font-size: clamp(1.75rem, 6vw, 2.15rem); }
  .dealership-quicklink__copy > span { font-size: .84rem; }
  .dealership-introduction { padding-block: 60px 52px; }
  .dealership-introduction__layout { grid-template-columns: 1fr; gap: 32px; }
  .dealership-introduction__photo img { aspect-ratio: 1.12 / 1; }
  .dealership-introduction__copy h2 { font-size: clamp(3rem, 10.5vw, 4rem); }
  .dealership-introduction__copy p { margin-top: 20px; }
  .dealership-photographs { padding-bottom: 66px; }
  .dealership-photographs__grid { grid-template-columns: 1fr; gap: 28px; }
  .dealership-contact__layout { align-items: start; flex-direction: column; gap: 24px; }
}

@media (max-width: 380px) {
  .dealership-hero h1 { font-size: 3.55rem; }
  .dealership-introduction__copy h2 { font-size: 2.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dealership-quicklink > img, .dealership-quicklink__arrow { transition: none; }
  .dealership-quicklink:hover > img { transform: none; }
}
