/* Kargov Ex — home page (loaded after style.css) */
.kx-slide{background-color:#00243d}

/* ---------- hero slider ---------- */
/* the base .hero rule is a flex row, which put the slider and the Track/Quote box side by side on phones */
.hero{display:block!important;min-height:0!important;background:none!important}
.hero>.carousel{width:100%}
.hero-widget{width:100%}

@media(max-width:991px){
  .kx-slide{height:auto;min-height:640px;padding:140px 0 128px}
  .kx-slide:before{background:linear-gradient(180deg,rgba(0,36,61,.78) 0%,rgba(0,36,61,.9) 100%)}
  .kx-slide .container{padding-left:20px;padding-right:20px}
  .carousel-control-prev,.carousel-control-next{display:none}
  .carousel-indicators{justify-content:center;margin:0 0 76px}
  .carousel-indicators [data-bs-target]{width:28px;height:4px;margin:0 4px}
  .hero-widget{margin-top:-60px}
  .hero-widget .widget{padding:22px 20px}
}
@media(max-width:767px){
  .kx-slide{min-height:640px;padding:150px 0 124px}
  .kx-slide .eyebrow{font-size:12px;margin-bottom:10px}
  .kx-slide h1,.kx-slide h2{font-size:clamp(28px,8.4vw,36px);line-height:1.15;letter-spacing:-.01em}
  .kx-slide p{font-size:15.5px;line-height:1.55;margin-bottom:0}
  .kx-slide .d-flex{gap:10px!important;margin-top:20px!important}
  .kx-slide .btn-lg{flex:1 1 100%;padding:12px 18px;font-size:16px}
}
@media(max-width:360px){.kx-slide{min-height:660px}.kx-slide h1,.kx-slide h2{font-size:27px}}

/* ---------- quick-link tiles ---------- */
@media(max-width:575px){
  .tiles{padding:36px 0 8px}
  .tile{flex-direction:column;align-items:flex-start;gap:10px;padding:16px}
  .tile .ic{width:44px;height:44px;font-size:20px}
  .tile .go{display:none}
  .tile b{font-size:15px}
}

/* ---------- section rhythm on phones ---------- */
@media(max-width:767px){
  .section{padding:56px 0}
  .section-tight{padding:44px 0}
  .section-title h2,.display-6{font-size:clamp(26px,7.4vw,32px);line-height:1.2}
  .section-title p{font-size:15.5px}
  .lead-copy{font-size:16px}
  .photo-frame img{min-height:300px}
  .photo-frame .float{left:12px;right:12px;bottom:12px;padding:12px 16px;font-size:14px}
  .check-list>div{padding:14px}
  .facts .fact{padding:22px 14px}
  .fact p{font-size:13.5px}
  .step{padding:24px}
  .feature-band h3{font-size:26px}
  .cta{padding:34px 22px}
  .cta .btn{flex:1 1 100%}
  .round-btn{width:42px;height:42px}
  .accordion-button{font-size:15.5px;padding:16px}
}

/* services: full-bleed swipe track on phones */
@media(max-width:767px){
  .h-scroll{margin:0 -12px;padding-left:12px;padding-right:12px;scroll-padding-left:12px}
  .h-scroll>*{flex-basis:min(300px,80vw)}
}

/* news: swipeable row on phones */
@media(max-width:767px){
  .m-swipe{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;margin-left:-12px;margin-right:-12px;padding:0 12px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .m-swipe::-webkit-scrollbar{display:none}
  .m-swipe>*{flex:0 0 82%;scroll-snap-align:start}
}

/* ---------- testimonials ---------- */
.testi{background:var(--bg2)}
.testi-carousel{max-width:880px;margin:0 auto}
.testi-carousel .carousel-inner{display:grid}
.testi-carousel .carousel-item{display:block!important;grid-area:1/1;float:none;margin:0;opacity:0;pointer-events:none;transition:opacity .7s ease}
.testi-carousel .carousel-item.active{opacity:1;pointer-events:auto}
.testi-card{margin:0;height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid var(--stroke);border-radius:8px;padding:44px 52px 36px;box-shadow:0 14px 40px rgba(0,36,61,.1)}
.testi-card>i{font-size:46px;line-height:1;color:var(--blue)}
.testi-card blockquote{margin:6px 0 26px;font-size:clamp(17px,2.3vw,23px);line-height:1.6;font-weight:500;color:var(--navy)}
.testi-card figcaption{margin-top:auto;display:inline-flex;align-items:center;gap:14px;text-align:left}
.testi-card .av{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--bg2);color:var(--blue2);font-size:22px}
.testi-card figcaption b{display:block;color:var(--navy);font-size:15.5px}
.testi-card figcaption small{display:block;color:var(--muted);font-size:13.5px}
.testi-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:24px}
.testi-nav .round-btn{width:44px;height:44px;font-size:16px}
.testi-nav .carousel-indicators{position:static;margin:0;gap:0;justify-content:center}
.testi-nav .carousel-indicators [data-bs-target]{width:26px;height:4px;margin:0 4px;background:#b9c7d0;opacity:1}
.testi-nav .carousel-indicators .active{background:var(--blue2)}
@media(max-width:767px){
  .testi-card{padding:30px 22px 26px}
  .testi-card>i{font-size:38px}
  .testi-card blockquote{margin-bottom:22px}
}

/* keep wide Bootstrap gutters from pushing the page sideways on phones */
@media(max-width:767px){.g-5,.gx-5{--bs-gutter-x:1.5rem}.g-5,.gy-5{--bs-gutter-y:2rem}}

/* quick-link tiles sit below the Track/Quote box, not underneath it */
.tiles{margin-top:0}

/* feature bands now carry a photo: keep text and buttons readable */
.feature-band{background:linear-gradient(100deg,rgba(0,36,61,.92),rgba(0,36,61,.62)),var(--img) center/cover}
.feature-band .eyebrow{color:#8ccbe6}
.feature-band .btn-glass{color:#fff;border-color:#fff;background:transparent}
.feature-band .btn-glass:hover{background:#fff;color:var(--navy)}
