/* ============================================================
   ADAPT HOLIDAYS — SERVICES PAGE FINAL OVERRIDE
   Page-specific cleanup. Loaded after style.css from functions.php
   when this file is enqueued.
   ============================================================ */

.page-template-template-services,
.page-template-template-services body{
  background:#fff;
}

.page-template-template-services .services-hero{
  min-height:min(760px,calc(100svh - 72px));
  display:flex;
  align-items:center;
  isolation:isolate;
  overflow:hidden;
  background:#071b35;
}
.page-template-template-services .services-hero__bg,
.page-template-template-services .services-hero__bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.page-template-template-services .services-hero__bg img{
  object-fit:cover;
  object-position:center;
  transform:none;
  animation:none;
}
.page-template-template-services .services-hero__overlay{
  z-index:0;
  background:linear-gradient(90deg,rgba(3,19,39,.96) 0%,rgba(3,19,39,.84) 40%,rgba(3,19,39,.48) 72%,rgba(3,19,39,.20) 100%),linear-gradient(0deg,rgba(3,19,39,.72),transparent 55%);
}
.page-template-template-services .services-hero__inner{
  z-index:2;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:clamp(32px,6vw,90px);
  padding-block:clamp(120px,16vh,165px) 95px;
}
.page-template-template-services .services-hero__content{max-width:700px}
.page-template-template-services .services-hero__eyebrow{color:#75e5ff}
.page-template-template-services .services-hero__content h1{
  max-width:720px;
  margin:16px 0 20px;
  font-size:clamp(48px,6.4vw,82px);
  line-height:.96;
  letter-spacing:-.055em;
}
.page-template-template-services .services-hero__content>p{
  max-width:620px;
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:clamp(16px,1.45vw,19px);
  line-height:1.7;
}
.page-template-template-services .services-hero__buttons{margin-top:30px;gap:12px}
.page-template-template-services .services-hero__buttons .btn{min-height:52px}
.page-template-template-services .services-hero__orb{opacity:.55}

.page-template-template-services .services-hero__floating{animation:none}
.page-template-template-services .services-hero-card{
  width:min(390px,100%);
  min-height:360px;
  padding:36px;
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 30px 80px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.25);
  transform:rotateY(-7deg) rotateX(3deg);
}
.page-template-template-services .services-hero-card:hover{transform:rotateY(-2deg) rotateX(1deg) translateY(-6px)}
.page-template-template-services .services-hero-card strong{font-size:clamp(34px,4vw,46px)}
.page-template-template-services .services-hero-card__highlight{color:#63ddff!important}

.page-template-template-services .services-lead,
.page-template-template-services .services-process,
.page-template-template-services .services-b2b{
  padding-block:clamp(72px,8vw,112px);
}
.page-template-template-services .services-lead{background:#fff}
.page-template-template-services .services-heading{
  max-width:1180px;
  margin-inline:auto;
  margin-bottom:42px;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.75fr);
  gap:48px;
}
.page-template-template-services .services-heading h2,
.page-template-template-services .service-showcase__heading h2{
  font-size:clamp(38px,4.7vw,60px);
  line-height:.99;
  letter-spacing:-.05em;
}
.page-template-template-services .services-heading>p{font-size:16px;line-height:1.75;color:#607089}

.page-template-template-services .service-category-grid{
  max-width:1180px;
  margin-inline:auto;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  perspective:none;
}
.page-template-template-services .service-category-card{
  min-height:350px;
  padding:25px;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(4,32,63,.11);
  transform:none;
  transition:transform .35s ease,box-shadow .35s ease;
}
.page-template-template-services .service-category-card:hover{
  transform:translateY(-8px);
  box-shadow:0 28px 55px rgba(4,32,63,.18);
}
.page-template-template-services .service-category-card--gold{background:linear-gradient(145deg,#1a78e8,#08417e)}
.page-template-template-services .service-category-card--cyan{background:linear-gradient(145deg,#0ba9c9,#07567a)}
.page-template-template-services .service-category-card--dark{background:linear-gradient(145deg,#123b68,#061a31)}
.page-template-template-services .service-category-card__icon{margin-bottom:auto}
.page-template-template-services .service-category-card h3{font-size:24px;line-height:1.08}
.page-template-template-services .service-category-card p{font-size:13.5px;line-height:1.6}

.page-template-template-services .service-showcase{
  padding-block:clamp(72px,8vw,115px);
  background:#06182d;
}
.page-template-template-services .service-showcase__heading{
  max-width:1180px;
  margin-inline:auto;
  margin-bottom:42px;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.75fr);
  gap:48px;
}
.page-template-template-services .service-showcase .sgrid{
  max-width:1180px;
  margin-inline:auto;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  perspective:none;
}
.page-template-template-services .service-showcase .scell{
  min-height:250px;
  padding:22px;
  border-radius:22px;
  transform:none;
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.13);
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.page-template-template-services .service-showcase .scell:hover{transform:translateY(-7px);box-shadow:0 28px 55px rgba(0,0,0,.30)}
.page-template-template-services .service-showcase .scell__vis{opacity:.46}
.page-template-template-services .service-showcase .scell__tx strong{font-size:20px;line-height:1.15}
.page-template-template-services .service-showcase .scell__tx span{font-size:12.5px;line-height:1.5}

.page-template-template-services .services-process{background:#f5f8fc}
.page-template-template-services .services-process__grid{max-width:1180px;margin-inline:auto;gap:16px;perspective:none}
.page-template-template-services .process-card{
  min-height:280px;
  padding:30px;
  border-radius:22px;
  box-shadow:0 14px 35px rgba(4,32,63,.07);
  transform:none;
}
.page-template-template-services .process-card:hover{transform:translateY(-7px);box-shadow:0 24px 48px rgba(4,32,63,.12)}

.page-template-template-services .services-b2b{background:#fff}
.page-template-template-services .services-b2b__card{
  max-width:1180px;
  margin-inline:auto;
  border-radius:28px;
  box-shadow:0 28px 70px rgba(4,32,63,.15);
}
.page-template-template-services .services-b2b__image{min-height:500px}
.page-template-template-services .services-b2b__content{padding:clamp(38px,5vw,65px)}

.page-template-template-services .services-final{
  padding-block:clamp(78px,9vw,120px);
  background:linear-gradient(135deg,#061a32,#0a4d79);
}
.page-template-template-services .services-final h2{font-size:clamp(42px,5.8vw,72px)}

@media(max-width:1050px){
  .page-template-template-services .services-hero__inner{grid-template-columns:1fr}
  .page-template-template-services .services-hero__floating{display:none}
  .page-template-template-services .service-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-template-template-services .service-showcase .sgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-template-template-services .services-heading,
  .page-template-template-services .service-showcase__heading{grid-template-columns:1fr;gap:14px}
  .page-template-template-services .services-b2b__card{grid-template-columns:1fr}
  .page-template-template-services .services-b2b__image{min-height:380px}
}
@media(max-width:700px){
  .page-template-template-services .services-hero{min-height:640px}
  .page-template-template-services .services-hero__inner{padding-block:105px 70px}
  .page-template-template-services .services-hero__content h1{font-size:clamp(42px,13vw,62px)}
  .page-template-template-services .services-hero__content>p{font-size:15px;line-height:1.6}
  .page-template-template-services .services-hero__buttons{display:grid;grid-template-columns:1fr}
  .page-template-template-services .services-hero__buttons .btn{width:100%;justify-content:center}
  .page-template-template-services .services-heading h2,
  .page-template-template-services .service-showcase__heading h2{font-size:38px}
  .page-template-template-services .service-category-grid,
  .page-template-template-services .service-showcase .sgrid,
  .page-template-template-services .services-process__grid{grid-template-columns:1fr}
  .page-template-template-services .service-category-card{min-height:285px}
  .page-template-template-services .service-showcase .scell{min-height:180px}
  .page-template-template-services .services-lead,
  .page-template-template-services .services-process,
  .page-template-template-services .services-b2b{padding-block:62px}
  .page-template-template-services .services-b2b__image{min-height:290px}
  .page-template-template-services .services-b2b__content{padding:34px 24px}
  .page-template-template-services .services-final h2{font-size:42px}
}
@media(max-width:420px){
  .page-template-template-services .services-hero__content h1{font-size:42px}
  .page-template-template-services .service-category-card{min-height:270px;padding:22px}
  .page-template-template-services .process-card{min-height:245px;padding:26px}
}

/* 1.4 Services content polish */
.page-template-template-services .service-category-card__points{display:grid;gap:7px;margin:18px 0 0;padding:0;list-style:none}.page-template-template-services .service-category-card__points li{position:relative;padding-left:18px;font-size:12px;font-weight:700;line-height:1.35;color:rgba(255,255,255,.86)}.page-template-template-services .service-category-card__points li:before{content:"";position:absolute;left:0;top:.48em;width:7px;height:7px;border-radius:50%;background:#61ddff}.page-template-template-services .service-category-card--gold .service-category-card__points li:before{background:#ffe08a}.page-template-template-services .service-category-card--cyan .service-category-card__points li:before{background:#9ff4ff}.page-template-template-services .service-category-card--dark .service-category-card__points li:before{background:#61ddff}
.page-template-template-services .services-heading h2,.page-template-template-services .service-showcase__heading h2{max-width:760px}.page-template-template-services .services-heading>p,.page-template-template-services .service-showcase__heading>p{max-width:520px}


/* ============================================================
   v1.6 SERVICES CARD FIX
   The previous inner-page stylesheet was overriding these cards and
   the image opacity made every service photo look washed out.
   ============================================================ */
.page-template-template-services .service-showcase .sgrid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  max-width:1180px !important;
  margin-inline:auto !important;
}
.page-template-template-services .service-showcase .scell{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  min-height:0 !important;
  height:100% !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:22px !important;
  background:#fff !important;
  border:1px solid rgba(4,32,63,.12) !important;
  color:#04203f !important;
  box-shadow:0 16px 36px rgba(4,32,63,.16) !important;
  text-align:left !important;
  transform:none !important;
}
.page-template-template-services .service-showcase .scell:hover{
  transform:translateY(-6px) !important;
  box-shadow:0 24px 48px rgba(4,32,63,.22) !important;
}
.page-template-template-services .service-showcase .scell__vis{
  display:block !important;
  position:relative !important;
  flex:0 0 auto !important;
  width:100% !important;
  height:190px !important;
  min-height:190px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:0 !important;
  background:#dcecff !important;
  opacity:1 !important;
  filter:none !important;
}
.page-template-template-services .service-showcase .scell__vis::after{
  display:none !important;
  content:none !important;
}
.page-template-template-services .service-showcase .scell__vis img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  object-fit:cover !important;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  transform:none !important;
  transition:transform .45s ease !important;
}
.page-template-template-services .service-showcase .scell:hover .scell__vis img{
  transform:scale(1.045) !important;
}
.page-template-template-services .service-showcase .scell__tx{
  display:block !important;
  flex:1 1 auto !important;
  padding:20px 20px 54px !important;
  background:#fff !important;
}
.page-template-template-services .service-showcase .scell__tx strong{
  display:block !important;
  color:#183b62 !important;
  font-size:19px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
.page-template-template-services .service-showcase .scell__tx span{
  display:block !important;
  margin-top:8px !important;
  color:#71839a !important;
  font-size:13px !important;
  line-height:1.55 !important;
}
.page-template-template-services .service-showcase .scell__go{
  position:absolute !important;
  right:18px !important;
  bottom:16px !important;
  display:grid !important;
  place-items:center !important;
  width:38px !important;
  height:38px !important;
  margin:0 !important;
  border-radius:50% !important;
  background:#eaf2ff !important;
  color:#1668e3 !important;
  z-index:4 !important;
  transition:background .25s ease,color .25s ease,transform .25s ease !important;
}
.page-template-template-services .service-showcase .scell:hover .scell__go{
  background:#1668e3 !important;
  color:#fff !important;
  transform:translateX(3px) !important;
}

@media(max-width:1050px){
  .page-template-template-services .service-showcase .sgrid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:700px){
  .page-template-template-services .service-showcase .sgrid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .page-template-template-services .service-showcase .scell__vis{
    height:200px !important;
    min-height:200px !important;
  }
  .page-template-template-services .service-showcase .scell__tx{
    padding:17px 17px 52px !important;
  }
  .page-template-template-services .service-showcase .scell__tx strong{
    font-size:18px !important;
  }
  .page-template-template-services .service-showcase .scell__tx span{
    font-size:13px !important;
  }
}
@media(max-width:420px){
  .page-template-template-services .service-showcase .scell__vis{
    height:185px !important;
    min-height:185px !important;
  }
}

/* ============================================================
   v1.7 SERVICES B2B TEXT VISIBILITY FIX
   The B2B panel was switched to a white background while its older
   dark-panel typography remained white, making the copy disappear.
   ============================================================ */
.page-template-template-services .services-b2b__card{
  background:#fff !important;
  border:1px solid rgba(4,32,63,.10) !important;
}
.page-template-template-services .services-b2b__content{
  background:#fff !important;
  color:#183b62 !important;
}
.page-template-template-services .services-b2b__content .eyebrow{
  color:#1668e3 !important;
}
.page-template-template-services .services-b2b__content h2{
  color:#04203f !important;
}
.page-template-template-services .services-b2b__content > p{
  color:#63728a !important;
}
.page-template-template-services .b2b-points{
  margin:26px 0 30px !important;
}
.page-template-template-services .b2b-points li{
  border-bottom:1px solid rgba(4,32,63,.10) !important;
  color:#183b62 !important;
}
.page-template-template-services .b2b-points li > span{
  background:#eaf2ff !important;
  color:#1668e3 !important;
  border:1px solid rgba(22,104,227,.18) !important;
}
.page-template-template-services .b2b-points li > span svg{
  stroke:currentColor !important;
}
.page-template-template-services .b2b-points li strong{
  display:block !important;
  color:#294a6e !important;
  font-size:14px !important;
  line-height:1.5 !important;
  font-weight:700 !important;
  opacity:1 !important;
}
.page-template-template-services .services-b2b__content .btn--primary{
  color:#fff !important;
}
@media(max-width:1050px){
  .page-template-template-services .services-b2b__content{
    padding:42px !important;
  }
}
@media(max-width:700px){
  .page-template-template-services .services-b2b__content{
    padding:32px 24px !important;
  }
  .page-template-template-services .b2b-points li{
    gap:10px !important;
    padding:11px 0 !important;
  }
  .page-template-template-services .b2b-points li strong{
    font-size:13px !important;
  }
}
