.home-page {
  overflow-x: hidden;
}

.home-page .home-main {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
}

.home-pro {
  --home-navy: #071b38;
  --home-blue: #075b9c;
  --home-blue-soft: #eaf4fb;
  --home-yellow: #f0d400;
  --home-pink: #d20a8c;
  --home-line: #e3eaf2;
  width: 100%;
  color: var(--home-navy);
  background: #fff;
}

.home-hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(590px, 78vh, 760px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #18304e, #071b38);
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 38, .48), rgba(4, 18, 38, .72));
}

.home-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 10vw, 125px) 0 clamp(94px, 11vw, 140px);
  text-align: center;
}

.home-kicker {
  margin: 0 0 16px;
  color: var(--home-yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.7rem, 6vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.066em;
}

.home-hero h1 span {
  position: relative;
  z-index: 1;
}

.home-hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: .05em;
  left: 0;
  height: .14em;
  border-radius: 8px;
  background: var(--home-yellow);
}

.home-lead {
  max-width: 720px;
  margin: 27px 0 29px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-primary,
.home-card-button,
.home-payment-button {
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #e72aa2, #a50770) !important;
  box-shadow: 0 13px 28px rgba(210, 10, 140, .22) !important;
}

.home-primary b {
  margin-left: 8px;
}

.home-outline {
  border: 1px solid #b8c5d5 !important;
  color: var(--home-navy) !important;
  background: #fff !important;
  box-shadow: 0 9px 24px rgba(7, 27, 56, .08) !important;
}

.home-hero .home-outline {
  border-color: rgba(255, 255, 255, .75) !important;
  color: #fff !important;
  background: rgba(7, 27, 56, .28) !important;
  box-shadow: 0 9px 24px rgba(7, 27, 56, .18) !important;
  backdrop-filter: blur(8px);
}

.home-search {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr auto;
  width: min(1040px, calc(100% - 48px));
  margin: -38px auto 0;
  padding: 14px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(7, 27, 56, .14);
}

.home-search label {
  display: grid;
  gap: 5px;
  padding: 5px 18px;
  border-right: 1px solid var(--home-line);
}

.home-search label span {
  color: #748196;
  font-size: .71rem;
  font-weight: 850;
}

.home-search input,
.home-search select {
  width: 100%;
  min-width: 0;
  padding: 5px 0;
  border: 0 !important;
  color: var(--home-navy);
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 750;
}

.home-search button {
  min-width: 150px;
}

.home-section,
.home-payment,
.home-testimonial {
  width: min(1320px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.home-section {
  padding-top: clamp(75px, 8vw, 110px);
}

.home-section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-section-heading p {
  margin: 0;
  color: var(--home-blue);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 5px 0 8px;
  color: var(--home-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.047em;
}

.home-section-heading span {
  color: #718096;
}

.home-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 32px);
}

.home-vehicle-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--home-line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 15px 42px rgba(7, 27, 56, .085);
  transition: transform .3s ease, box-shadow .3s ease;
}

.home-vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 23px 55px rgba(7, 27, 56, .14);
}

.home-vehicle-photo {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  color: #728095;
  background: #e8eef5;
  text-decoration: none;
}

.home-vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.home-vehicle-card:hover .home-vehicle-photo img {
  transform: scale(1.035);
}

.home-vehicle-photo b {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 91, 156, .93);
  box-shadow: 0 8px 22px rgba(7, 27, 56, .15);
  font-size: .69rem;
}

.home-vehicle-body {
  display: flex;
  height: 100%;
  padding: 22px;
  flex-direction: column;
}

.home-vehicle-body > p {
  margin: 0;
  color: var(--home-blue);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-vehicle-body h3 {
  margin: 4px 0 13px;
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.home-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--home-line);
  color: #68768a;
  font-size: .76rem;
}

.home-price-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.home-price-stack > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e5ecf3;
  border-radius: 13px;
  background: #f7f9fc;
}

.home-price-stack > div:only-child {
  grid-column: 1 / -1;
}

.home-price-stack span {
  display: block;
  margin-bottom: 3px;
  color: #748196;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.home-price-stack strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--home-blue);
  font-size: clamp(.94rem, 1.2vw, 1.1rem);
  line-height: 1.25;
}

.home-price-stack small {
  color: #68768a;
  font-size: .72rem;
}

.home-card-button {
  display: block !important;
  width: 100%;
  margin-top: auto;
  padding: 12px 18px !important;
  text-align: center;
}

.home-centered {
  margin-top: 32px;
  text-align: center;
}

.home-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 27px;
  border: 1px solid var(--home-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(7, 27, 56, .06);
  transition: transform .28s ease, box-shadow .28s ease;
}

.home-service:hover {
  box-shadow: 0 20px 45px rgba(7, 27, 56, .1);
  transform: translateY(-5px);
}

.home-service i {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 900;
}

.service-blue {
  color: var(--home-blue);
  background: var(--home-blue-soft);
}

.service-yellow {
  color: #756900;
  background: #fff8b9;
}

.home-service strong {
  font-size: 1.08rem;
}

.home-service p {
  margin: 7px 0 17px;
  color: #69768a;
  font-size: .87rem;
  line-height: 1.55;
}

.home-service-button {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid #c9d7e3;
  border-radius: 10px;
  color: var(--home-blue);
  background: #fff;
  font-size: .77rem;
  font-weight: 850;
  text-decoration: none;
}

.home-service-button:hover {
  border-color: var(--home-blue);
  color: #fff;
  background: var(--home-blue);
}

.home-payment {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 82px;
  padding: 25px 30px;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(110deg, #061932, #0a2a50);
  box-shadow: 0 18px 45px rgba(7, 27, 56, .18);
}

.mtn-sign {
  display: grid;
  min-width: 92px;
  padding: 11px 16px;
  place-items: center;
  border-radius: 13px;
  color: #111;
  background: var(--home-yellow);
  transform: skew(-4deg);
}

.mtn-sign span,
.mtn-sign small {
  font-weight: 900;
}

.home-payment h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.95rem);
}

.home-payment p {
  margin: 3px 0 0;
  color: #b8c5d5;
}

.home-payment-button {
  white-space: nowrap;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-step {
  position: relative;
  padding: 30px 25px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  text-align: center;
  background: #fff;
}

.home-step em {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-navy);
  font-style: normal;
  font-weight: 900;
}

.home-step i {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 18px;
  color: var(--home-blue);
  background: var(--home-blue-soft);
  font-size: 1.4rem;
  font-style: normal;
}

.home-step:nth-child(2) i {
  color: #776a00;
  background: #fff8bb;
}

.home-step h3 {
  margin: 0;
}

.home-step p {
  margin: 7px 0 0;
  color: #6a778b;
  font-size: .88rem;
}

.home-testimonial {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 82px;
  padding: 32px;
  border: 1px solid #dfe8f1;
  border-radius: 22px;
  background: linear-gradient(115deg, #eef5fb, #fff);
}

.quote-mark {
  color: var(--home-blue);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: .7;
}

.home-testimonial p {
  max-width: 760px;
  margin: 0 0 10px;
  color: #34445c;
  font-size: 1.06rem;
}

.home-testimonial strong {
  display: block;
}

.home-testimonial span {
  color: #c5af00;
  letter-spacing: .15em;
}

.home-rich-footer {
  display: block !important;
  margin-top: 82px !important;
  padding: 55px max(5vw, 24px) 20px !important;
  color: #aebbd0 !important;
  text-align: left !important;
  background: #061932 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 42px;
  width: min(1180px, 100%);
  margin: auto;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid h3 {
  margin: 0 0 8px;
  color: #fff;
}

.footer-grid a {
  margin: 0;
  color: #c7d1df;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--home-yellow);
}

.footer-grid span {
  font-size: .86rem;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 280px;
  margin: 10px 0 0;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, 100%);
  margin: 35px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
}

.footer-bottom a {
  color: var(--home-yellow);
  text-decoration: none;
}

@media (max-width: 1080px) {
  .home-hero {
    min-height: 610px;
  }

  .home-hero-copy {
    padding-top: 85px;
    padding-bottom: 120px;
  }

  .home-hero h1 {
    font-size: clamp(3.2rem, 6.2vw, 4.9rem);
  }

  .home-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-hero {
    min-height: 580px;
  }

  .home-hero-copy {
    width: min(760px, calc(100% - 40px));
    padding: 70px 0 105px;
  }

  .home-hero h1 {
    max-width: 720px;
    font-size: clamp(3.45rem, 10vw, 5.4rem);
  }

  .home-search {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 40px);
  }

  .home-search label:nth-child(2) {
    border-right: 0;
  }

  .home-search button {
    grid-column: 1 / -1;
  }

  .home-section,
  .home-payment,
  .home-testimonial {
    width: calc(100% - 40px);
  }

  .home-services,
  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-payment {
    grid-template-columns: auto 1fr;
  }

  .home-payment-button {
    grid-column: 1 / -1;
    text-align: center;
  }

  .home-testimonial {
    grid-template-columns: auto 1fr;
  }

  .home-testimonial .button {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .home-hero {
    min-height: 570px;
  }

  .home-hero::before {
    background: linear-gradient(180deg, rgba(4, 18, 38, .5), rgba(4, 18, 38, .78));
  }

  .home-hero-background {
    object-position: center;
  }

  .home-hero-copy {
    width: calc(100% - 36px);
    padding: 62px 0 92px;
  }

  .home-kicker {
    font-size: .66rem;
  }

  .home-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
    line-height: .94;
  }

  .home-lead {
    margin: 21px 0 24px;
    font-size: .93rem;
    line-height: 1.65;
  }

  .home-actions {
    display: grid;
  }

  .home-actions .button {
    width: 100%;
    text-align: center;
  }

  .home-search {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    margin-top: -10px;
    padding: 12px;
  }

  .home-search label,
  .home-search label:nth-child(2) {
    padding: 8px 11px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-section,
  .home-payment,
  .home-testimonial {
    width: calc(100% - 24px);
  }

  .home-section {
    padding-top: 66px;
  }

  .home-section-heading {
    margin-bottom: 27px;
  }

  .home-section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .home-section-heading span {
    font-size: .84rem;
  }

  .home-vehicle-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-vehicle-card {
    border-radius: 20px;
  }

  .home-vehicle-body {
    padding: 18px;
  }

  .home-vehicle-body h3 {
    font-size: 1.14rem;
  }

  .home-price-stack {
    gap: 7px;
  }

  .home-price-stack > div {
    padding: 10px;
  }

  .home-price-stack span {
    font-size: .58rem;
  }

  .home-price-stack strong {
    font-size: .91rem;
  }

  .home-card-button {
    font-size: .87rem;
  }

  .home-service {
    grid-template-columns: 50px 1fr;
    padding: 21px;
  }

  .home-service i {
    width: 50px;
    height: 50px;
  }

  .home-payment {
    grid-template-columns: 1fr;
    margin-top: 66px;
    padding: 24px 18px;
    text-align: center;
  }

  .mtn-sign {
    justify-self: center;
  }

  .home-testimonial {
    grid-template-columns: 1fr;
    margin-top: 66px;
    padding: 24px 19px;
    text-align: center;
  }

  .quote-mark {
    margin: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-rich-footer {
    margin-top: 56px !important;
  }
}

@media (max-width: 390px) {
  .home-hero h1 {
    font-size: 2.58rem;
  }

  .home-price-stack {
    grid-template-columns: 1fr;
  }

  .home-price-stack > div,
  .home-price-stack > div:only-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-vehicle-card,
  .home-vehicle-photo img,
  .home-service {
    transition: none !important;
  }
}
