/* M8WL SkyAuto v0.8.23 — homepage finder spacing refinement. */
.home .m8-hero--ai-home{
  --m8-home-shell:min(1320px,calc(100% - 48px));
  padding:0 0 10px;
  background:#fff;
  overflow:visible;
}
.home .m8-home-ai-stage{
  position:relative;
  min-height:445px;
  overflow:hidden;
  background:#073d34 url('../images/hero-carplay-ai.jpg') center right/cover no-repeat;
  color:#fff;
}
.home .m8-home-ai-stage::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#063f36 0%,#063f36 37%,rgba(6,63,54,.97) 43%,rgba(6,63,54,.78) 55%,rgba(6,63,54,.28) 73%,rgba(6,63,54,.08) 100%);
}
.home .m8-home-ai-stage::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:110px;
  background:linear-gradient(180deg,transparent,rgba(3,37,31,.24));
}
.home .m8-home-ai-stage__inner{
  position:relative;
  z-index:2;
  width:var(--m8-home-shell);
  min-height:445px;
  margin:0 auto;
  display:flex;
  align-items:center;
  padding:42px 20px 105px;
  box-sizing:border-box;
}
.home .m8-home-ai-stage__copy{width:min(610px,49%)}
.home .m8-home-ai-stage__copy .m8-eyebrow{color:#f06b49}
.home .m8-home-ai-stage__copy h1{
  margin:14px 0 15px;
  color:#fff;
  font-size:clamp(48px,4.35vw,68px);
  line-height:.99;
  letter-spacing:-.052em;
}
.home .m8-home-ai-stage__copy h1 span{display:block;color:#51d2aa}
.home .m8-home-ai-stage__copy>p{
  max-width:590px;
  margin:0;
  color:#eef7f4;
  font-size:17px;
  line-height:1.55;
}
.home .m8-home-ai-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}
.home .m8-home-ai-points>span{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  gap:0 9px;
  align-items:center;
  min-width:0;
}
.home .m8-home-ai-points b{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:36px;height:36px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:rgba(31,146,119,.48);
  color:#fff;
  font-size:10px;
}
.home .m8-home-ai-points strong{font-size:12px;line-height:1.25;color:#fff}
.home .m8-home-ai-points small{font-size:11px;line-height:1.25;color:#c8ddd7}

.home .m8-home-ai-finder{
  position:relative;
  z-index:10;
  width:var(--m8-home-shell);
  margin:-66px auto 0;
  border:1px solid #d7e2de;
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 40px rgba(10,38,31,.13);
}
.home .m8-home-ai-finder .m8vf{
  position:relative;
  width:100%;
  padding:31px 28px 32px;
  box-sizing:border-box;
  background:#fff;
  border-radius:18px;
}
.home .m8-home-ai-finder .m8vf__top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,390px);
  align-items:end;
  gap:24px;
  margin-bottom:27px;
}
.home .m8-home-ai-finder .m8vf__heading{margin:0;display:block}
.home .m8-home-ai-finder .m8vf__heading>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.home .m8-home-ai-finder .m8vf__heading strong{color:#10221f;font-size:23px;line-height:1.15}
.home .m8-home-ai-finder .m8vf__heading span{color:#66766f;font-size:13px;line-height:1.4}
.home .m8-home-ai-finder .m8vf__quick{position:relative;min-width:0}
.home .m8-home-ai-finder .m8vf__quick label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}
.home .m8-home-ai-finder .m8vf__quick label>span{color:#52645e;font-size:13px;font-weight:700;white-space:nowrap}
.home .m8-home-ai-finder .m8vf__quick-control{position:relative}
.home .m8-home-ai-finder .m8vf__quick-control svg{position:absolute;left:15px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#66766f;stroke-width:1.8;pointer-events:none}
.home .m8-home-ai-finder .m8vf__quick input{
  width:100%;height:48px;padding:0 14px 0 43px;border:1px solid #cbd7d3;border-radius:11px;background:#fff;color:#10221f;font-size:14px;outline:none;box-sizing:border-box
}
.home .m8-home-ai-finder .m8vf__quick input:focus{border-color:#0f6a59;box-shadow:0 0 0 3px rgba(15,106,89,.11)}
.home .m8-home-ai-finder .m8vf__suggestions{top:calc(100% + 8px);border-radius:12px;box-shadow:0 18px 40px rgba(16,34,31,.15)}
.home .m8-home-ai-finder .m8vf__grid{
  display:grid;
  grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) minmax(155px,.8fr) minmax(235px,1.05fr);
  gap:18px;
  align-items:end;
  width:100%;
}
.home .m8-home-ai-finder .m8vf__field,
.home .m8-home-ai-finder .m8vf__submit{position:relative;display:grid;gap:10px;min-width:0}
.home .m8-home-ai-finder .m8vf__field>span{color:#21342f;font-size:16px;font-weight:800;line-height:1.2;text-transform:none;letter-spacing:0}
.home .m8-home-ai-finder .m8vf__submit>span{color:#21342f;font-size:13px;font-weight:800;line-height:1.2;text-transform:none;letter-spacing:0}
.home .m8-home-ai-finder .m8vf__control{position:relative;min-width:0}
.home .m8-home-ai-finder .m8vf__control-icon{position:absolute;left:14px;top:50%;width:20px;height:20px;transform:translateY(-50%);z-index:2;color:#0f5b4d;pointer-events:none}
.home .m8-home-ai-finder .m8vf__control-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8}
.home .m8-home-ai-finder .m8vf select{
  width:100%;height:62px;max-width:none;padding:0 42px 0 46px;border:1px solid #cbd7d3;border-radius:12px;background:#fff;color:#10221f;font-size:15px;outline:none;box-sizing:border-box
}
.home .m8-home-ai-finder .m8vf select:disabled{background:#f3f6f5;color:#86928e;border-color:#d8e1de}
.home .m8-home-ai-finder .m8vf select:focus{border-color:#0f6a59;box-shadow:0 0 0 3px rgba(15,106,89,.11)}
.home .m8-home-ai-finder .m8vf__submit button{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:62px;padding:0 20px;border:0;border-radius:12px;background:#0b5c4d;color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:none
}
.home .m8-home-ai-finder .m8vf__submit button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.home .m8-home-ai-finder .m8vf__submit button:hover:not(:disabled){background:#0d715d}
.home .m8-home-ai-finder .m8vf__submit button:disabled{background:#8fb4ad;color:#fff;opacity:1;cursor:not-allowed}
.home .m8-home-ai-finder .m8vf__status{grid-column:1/-1;margin:0;color:#52645e;font-size:12px}

.home .m8-home-ai-benefits{
  width:var(--m8-home-shell);
  margin:18px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
}
.home .m8-home-ai-benefits>span{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:0 14px;
  align-items:center;
  padding:8px 34px;
  border-right:1px solid #dbe5e1;
}
.home .m8-home-ai-benefits>span:last-child{border-right:0}
.home .m8-home-ai-benefits b{
  grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border:1px solid #cfddd8;border-radius:50%;background:#fff;color:#0f5b4d;font-size:11px
}
.home .m8-home-ai-benefits strong{color:#10221f;font-size:14px;line-height:1.3}
.home .m8-home-ai-benefits small{color:#66766f;font-size:12px;line-height:1.4}

/* Homepage rhythm: deliberately tighter than the old 70–110px sections. */
.home .m8-home-featured,
.home .m8-home-why,
.home .m8-section--guides{padding-top:46px!important;padding-bottom:46px!important}
.home .m8-section-heading{margin-bottom:24px}
.home .m8-section-heading h2{font-size:clamp(34px,4vw,52px)}
.home .m8-home-why>.m8-container{grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:26px}
.home .m8-home-why__intro{padding:30px;border-radius:24px}
.home .m8-home-why__intro h2{font-size:clamp(34px,3.6vw,50px)}
.home .m8-home-why__cards{gap:10px}
.home .m8-home-why__cards article{padding:18px 20px;border-radius:16px}
.home .m8-home-why__cards h3{font-size:19px}
.home .m8-home-why__cards p{font-size:13px;line-height:1.45}
.home .m8-home-why__cta{
  display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px 14px 20px;border:1px solid #cddbd6;border-radius:15px;background:#fff
}
.home .m8-home-why__cta>div{display:grid;gap:2px}
.home .m8-home-why__cta strong{font-size:15px;color:#10221f}
.home .m8-home-why__cta span{font-size:12px;color:#66766f}
.home .m8-home-why__cta .m8-button{min-width:180px;min-height:48px;padding:0 22px;justify-content:center}
.home .m8-install-grid{gap:32px}

@media(max-width:1100px){
  .home .m8-home-ai-stage{min-height:420px;background-position:58% center}
  .home .m8-home-ai-stage__inner{min-height:420px;padding-bottom:100px}
  .home .m8-home-ai-stage__copy{width:56%}
  .home .m8-home-ai-stage::before{background:linear-gradient(90deg,#063f36 0%,#063f36 43%,rgba(6,63,54,.92) 54%,rgba(6,63,54,.25) 80%,rgba(6,63,54,.08) 100%)}
  .home .m8-home-ai-points{grid-template-columns:1fr 1fr}.home .m8-home-ai-points>span:last-child{display:none}
  .home .m8-home-ai-finder .m8vf__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home .m8-home-ai-benefits>span{padding-inline:20px}
}
@media(max-width:860px){
  .home .m8-hero--ai-home{--m8-home-shell:calc(100% - 28px)}
  .home .m8-home-ai-stage{min-height:390px;background-position:66% center}
  .home .m8-home-ai-stage__inner{min-height:390px;padding:32px 16px 90px}
  .home .m8-home-ai-stage__copy{width:64%}
  .home .m8-home-ai-stage__copy h1{font-size:clamp(40px,7vw,54px)}
  .home .m8-home-ai-stage__copy>p{font-size:15px}
  .home .m8-home-ai-finder{margin-top:-56px}
  .home .m8-home-ai-finder .m8vf{padding:24px 22px 26px}
  .home .m8-home-ai-finder .m8vf__top{grid-template-columns:1fr;gap:14px}
  .home .m8-home-ai-finder .m8vf__quick{max-width:none}
  .home .m8-home-ai-benefits{grid-template-columns:1fr;gap:6px}
  .home .m8-home-ai-benefits>span{border-right:0;border-bottom:1px solid #e3e9e7;padding:10px 4px}.home .m8-home-ai-benefits>span:last-child{border-bottom:0}
  .home .m8-home-why>.m8-container{grid-template-columns:1fr}
}
@media(max-width:620px){
  .home .m8-hero--ai-home{--m8-home-shell:calc(100% - 20px)}
  .home .m8-home-ai-stage{min-height:390px;background-position:73% center}
  .home .m8-home-ai-stage::before{background:linear-gradient(90deg,rgba(6,63,54,.98) 0%,rgba(6,63,54,.94) 65%,rgba(6,63,54,.55) 100%)}
  .home .m8-home-ai-stage__inner{min-height:390px;padding:28px 14px 78px}
  .home .m8-home-ai-stage__copy{width:100%}
  .home .m8-home-ai-stage__copy h1{font-size:42px}
  .home .m8-home-ai-stage__copy>p{font-size:14px}
  .home .m8-home-ai-points{grid-template-columns:1fr;gap:8px}.home .m8-home-ai-points>span:nth-child(2){display:none}
  .home .m8-home-ai-finder{margin-top:-44px;border-radius:15px}
  .home .m8-home-ai-finder .m8vf{padding:20px 14px 22px}
  .home .m8-home-ai-finder .m8vf__heading>div{display:grid;gap:3px}
  .home .m8-home-ai-finder .m8vf__heading strong{font-size:21px}
  .home .m8-home-ai-finder .m8vf__quick label{grid-template-columns:1fr;gap:5px}
  .home .m8-home-ai-finder .m8vf__grid{grid-template-columns:1fr;gap:12px}
  .home .m8-home-ai-finder .m8vf select,.home .m8-home-ai-finder .m8vf__submit button{height:54px}
  .home .m8-home-ai-benefits{margin-top:12px}
  .home .m8-home-featured,.home .m8-home-why,.home .m8-section--guides{padding-top:38px!important;padding-bottom:38px!important}
  .home .m8-home-why__cta{align-items:stretch;flex-direction:column}.home .m8-home-why__cta .m8-button{width:100%}
}


/* v0.8.22 — exact corrective fixes for homepage Why CTA. */
.home .m8-home-why__cta{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:20px!important;
  min-height:78px!important;
  padding:14px 16px 14px 20px!important;
}
.home .m8-home-why__cta>div{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:3px!important;
  align-content:center!important;
}
.home .m8-home-why__cta strong{
  display:block!important;
  margin:0!important;
  color:#10221f!important;
  font-size:17px!important;
  line-height:1.25!important;
}
/* Explicitly neutralise the generic .m8-home-why__cards span badge rule. */
.home .m8-home-why__cards .m8-home-why__cta span{
  display:block!important;
  grid-row:auto!important;
  grid-column:auto!important;
  place-items:initial!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#66766f!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.4!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.home .m8-home-why__cta .m8-button{
  width:auto!important;
  min-width:180px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
@media(max-width:680px){
  .home .m8-home-why__cta{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .home .m8-home-why__cta .m8-button{width:100%!important}
}


/* v0.8.31 — mobile Hero help shortcut. */
.home .m8-home-mobile-help{display:none}
@media(max-width:620px){
  .home .m8-home-ai-stage__inner{position:relative}
  .home .m8-home-mobile-help{
    position:absolute;z-index:4;right:14px;bottom:76px;display:grid;gap:6px;justify-items:start;
    width:132px;padding:12px 13px;border:1px solid rgba(255,255,255,.28);border-radius:14px;
    background:rgba(4,52,44,.82);box-shadow:0 10px 26px rgba(0,0,0,.16);backdrop-filter:blur(7px)
  }
  .home .m8-home-mobile-help strong{color:#fff;font-size:14px;line-height:1.2}
  .home .m8-home-mobile-help a{
    display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:9px;
    background:#fff;color:#0b5c4d;font-size:12px;font-weight:900;white-space:nowrap
  }
  .home .m8-home-ai-points>span:first-child{max-width:205px}
  #contact-sky-auto{scroll-margin-top:86px}
}
@media(max-width:380px){
  .home .m8-home-mobile-help{right:10px;width:122px;padding:10px;bottom:74px}
  .home .m8-home-ai-points>span:first-child{max-width:175px}
}

/* v0.8.32 — exact fitment-form scroll landing. */
@media(max-width:620px){
  #contact-sky-auto .m8-inquiry-form{scroll-margin-top:86px}
}


/* v0.8.33 — mobile hero CTA moved into the safe lower-right area and made more obvious. */
@media(max-width:620px){
  .home .m8-home-mobile-help{
    right:14px;
    bottom:26px;
    width:146px;
    padding:13px 14px;
    gap:8px;
    justify-items:center;
    border:1px solid rgba(255,255,255,.34);
    border-radius:16px;
    background:rgba(6,56,47,.92);
    box-shadow:0 12px 28px rgba(0,0,0,.22);
    backdrop-filter:blur(8px);
  }
  .home .m8-home-mobile-help strong{
    width:100%;
    color:#ffffff;
    font-size:15px;
    font-weight:900;
    line-height:1.15;
    text-align:center;
  }
  .home .m8-home-mobile-help a{
    width:100%;
    min-height:40px;
    padding:0 14px;
    border-radius:11px;
    background:#ffffff;
    color:#0b5c4d;
    font-size:13px;
    font-weight:900;
    box-shadow:0 1px 0 rgba(0,0,0,.05) inset;
  }
}
@media(max-width:380px){
  .home .m8-home-mobile-help{
    right:12px;
    bottom:22px;
    width:138px;
    padding:12px;
  }
}
