:root{
  --ink:#1d2a44;
  --ink-soft:#4b5b75;
  --ink-muted:#6b7b95;
  --blue-900:#1d2f57;
  --blue-700:#2f4f8d;
  --blue-600:#335aa5;
  --blue-500:#3a6ac3;
  --mist:#eef2f8;
  --mist-deep:#e2e9f4;
  --line:rgba(89,110,150,0.25);
  --card:#f6f8fc;
  --shadow-soft:0 18px 40px rgba(21,34,61,0.18);
  --shadow-card:0 16px 30px rgba(16,24,40,0.12);
  --radius-lg:22px;
  --radius-md:14px;
}

body{
  color:var(--ink);
  background:#e9edf5;
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

.services-page{
  background:#e9edf5;
}

.section-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 28px;
  border-radius:10px;
  font-weight:600;
  letter-spacing:0.02em;
  border:1px solid transparent;
  transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary{
  background:linear-gradient(180deg,#2f5aa8 0%,#244988 100%);
  color:#ffffff;
  box-shadow:0 10px 20px rgba(36,73,136,0.35);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(36,73,136,0.4);
}

.btn-outline{
  background:#fdfdff;
  color:#294b91;
  border:1px solid rgba(41,75,145,0.45);
  box-shadow:0 8px 18px rgba(41,75,145,0.15);
}

.btn-outline:hover{
  background:#2f5aa8;
  color:#ffffff;
  border-color:#2f5aa8;
}

.btn-small{
  padding:8px 20px;
  font-size:0.88rem;
}

.hero{
  position:relative;
  min-height:clamp(320px,38vw,420px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background-color:#eef2f8;
  background-image:
    linear-gradient(90deg,rgba(236,241,249,0.65) 0%,rgba(236,241,249,0.45) 38%,rgba(236,241,249,0.1) 72%),
    url("../assets/images/services_hero_bg_1920x650.png");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  overflow:hidden;
}

@supports (background-image: image-set(url("") 1x)){
  .hero{
    background-image:
      linear-gradient(90deg,rgba(236,241,249,0.65) 0%,rgba(236,241,249,0.45) 38%,rgba(236,241,249,0.1) 72%),
      image-set(
        url("../assets/images/responsive/hero/services_hero_bg_640.webp") 640w,
        url("../assets/images/responsive/hero/services_hero_bg_768.webp") 768w,
        url("../assets/images/responsive/hero/services_hero_bg_1024.webp") 1024w,
        url("../assets/images/responsive/hero/services_hero_bg_1280.webp") 1280w,
        url("../assets/images/responsive/hero/services_hero_bg_1536.webp") 1536w,
        url("../assets/images/responsive/hero/services_hero_bg_1920.webp") 1920w,
        url("../assets/images/responsive/hero/services_hero_bg_2560.webp") 2560w
      );
  }
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(1200px 460px at 50% 65%, rgba(238,242,248,0.82) 0%, rgba(238,242,248,0.22) 55%, rgba(238,242,248,0.00) 78%),
    linear-gradient(90deg, rgba(238,242,248,0.40) 0%, rgba(238,242,248,0.20) 45%, rgba(238,242,248,0.00) 75%),
    url("../assets/images/services_hero_overlay_left.png") left center/cover no-repeat;
  opacity:0.28;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  z-index:1;
  height:clamp(90px,10vw,160px);
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'><path fill='rgba(238,242,248,0.93)' d='M0,262 C480,230 960,230 1440,250 L1440,320 L0,320 Z'/></svg>");
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width:740px;
  padding:120px 24px 130px;
  animation:fade-up 0.9s ease both;
}

.hero h1{
  font-family:var(--font-display);
  font-size:clamp(32px,4vw,52px);
  color:#f3f6fb;
  text-shadow:0 4px 10px rgba(15,23,42,0.22);
  letter-spacing:0.02em;
  margin-bottom:16px;
}

.hero p{
  color:rgba(243,246,251,0.92);
  text-shadow:0 3px 8px rgba(15,23,42,0.2);
  font-size:clamp(16px,1.6vw,20px);
  margin-bottom:28px;
}

.process{
  background:linear-gradient(180deg,var(--mist) 0%,#e4eaf5 55%,#f4f7fb 100%);
  padding:72px 0 40px;
  position:relative;
  z-index:0;
}

.process h2{
  font-family:var(--font-display);
  font-size:clamp(28px,3.2vw,40px);
  color:var(--blue-900);
  text-align:center;
  margin-bottom:12px;
}

.process .section-intro{
  max-width:720px;
  margin:0 auto;
  color:var(--ink-muted);
  text-align:center;
}

.process .section-inner{
  position:relative;
  z-index:2;
}

.process-grid{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  text-align:left;
}

.process-item{
  padding:0 16px;
  position:relative;
  animation:fade-up 0.8s ease both;
}

.process-item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:1px;
  background:var(--line);
}

.process-item:first-child::before{
  display:none;
}

.process-item h3{
  font-family:var(--font-display);
  font-size:18px;
  color:var(--blue-900);
  margin-bottom:8px;
}

.process-item p{
  font-size:14px;
  color:var(--ink-muted);
}

.process-item:nth-child(1){
  animation-delay:0.05s;
}

.process-item:nth-child(2){
  animation-delay:0.1s;
}

.process-item:nth-child(3){
  animation-delay:0.15s;
}

.process-item:nth-child(4){
  animation-delay:0.2s;
}

.process-image{
  margin-top:-50px;
  position:relative;
  z-index:1;
}

.process-image img{
  width:100%;
  height:clamp(420px,52vw,720px);
  object-fit:cover;
  display:block;
}

.process-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(240,244,251,0.54) 0%,
    rgba(240,244,251,0.34) 32%,
    rgba(240,244,251,0.14) 58%,
    rgba(32,50,87,0.03) 78%,
    rgba(233,237,245,0.22) 100%
  );
}

.process-image::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:clamp(80px,14vw,160px);
  background:url("../assets/images/section_fade_bottom_1920x280.png") center/cover no-repeat;
  opacity:0.5;
}

.core-services{
  background:linear-gradient(180deg,#eef2f8 0%,#e3e9f4 70%,#eef2f8 100%);
  padding:80px 0 100px;
}

.core-services .section-inner{
  text-align:center;
  animation:fade-up 0.8s ease both;
  animation-delay:0.08s;
}

.core-services h2{
  font-family:var(--font-display);
  font-size:clamp(28px,3.1vw,40px);
  color:var(--blue-900);
  margin-bottom:12px;
}

.core-services p{
  max-width:760px;
  margin:0 auto 24px;
  color:var(--ink-muted);
}

.services-grid{
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  padding:0 24px;
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}

.service-card{
  background:var(--card);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  display:flex;
  flex-direction:column;
  min-height:100%;
  animation:fade-up 0.8s ease both;
}

.service-card:nth-child(1){
  animation-delay:0.05s;
}

.service-card:nth-child(2){
  animation-delay:0.1s;
}

.service-card:nth-child(3){
  animation-delay:0.15s;
}

.service-card:nth-child(4){
  animation-delay:0.2s;
}

.service-card img{
  width:100%;
  height:170px;
  object-fit:cover;
}

.card-body{
  padding:18px 18px 24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  text-align:center;
  flex:1;
}

.card-body h3{
  font-family:var(--font-display);
  font-size:18px;
  color:var(--blue-900);
}

.card-body p{
  font-size:14px;
  color:var(--ink-muted);
}

.card-body .btn{
  margin-top:auto;
}

/* ================================
   SITE_07 — Bottom CTA (CANONICAL)
   ================================ */

.custom-plans.cta-bg{
  position:relative;
  width:100%;
  min-height:clamp(620px,48vw,740px);
  text-align:center;
  padding:78px 0 86px;
  display:flex;
  align-items:center;
  margin-bottom:0;
  overflow:hidden;
  background-color:#e6ecf6;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center -40px;
  background-image:url("../assets/images/services_bottom_cta_bg_2560x900.png");
}

@supports (background-image: image-set(url("") 1x)){
  .custom-plans.cta-bg{
    background-image:image-set(
      url("../assets/images/responsive/cta/services_bottom_cta_bg_1024x900.webp") 1024w,
      url("../assets/images/responsive/cta/services_bottom_cta_bg_1280x900.webp") 1280w,
      url("../assets/images/responsive/cta/services_bottom_cta_bg_1536x900.webp") 1536w,
      url("../assets/images/responsive/cta/services_bottom_cta_bg_1920x900.webp") 1920w,
      url("../assets/images/responsive/cta/services_bottom_cta_bg_2560x900.webp") 2560w
    );
  }
}

.custom-plans.cta-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(230,236,246,0.72) 0%,
    rgba(230,236,246,0.55) 22%,
    rgba(230,236,246,0.18) 55%,
    rgba(230,236,246,0.00) 78%
  );
  opacity:0.8;
  pointer-events:none;
}

.custom-plans.cta-bg::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:clamp(96px, 8vw, 140px);
  background:linear-gradient(
    180deg,
    rgba(47,79,141,0.00) 0%,
    rgba(47,79,141,0.18) 45%,
    rgba(47,79,141,0.62) 78%,
    rgba(47,79,141,0.92) 100%
  );
  pointer-events:none;
}

.custom-plans.cta-bg + footer,
.custom-plans.cta-bg + .site-footer,
.custom-plans.cta-bg + #global-footer{
  margin-top:0;
}

.custom-plans.cta-bg .section-inner{
  position:relative;
  z-index:2;
}

@media (max-width:768px){
  .custom-plans.cta-bg{
    min-height:clamp(560px,92vw,720px);
    padding:64px 0 88px;
    background-position:center top;
    background-image:url("../assets/images/services_bottom_cta_bg_768x1100.png");
  }
}

.custom-plans h2{
  font-family:var(--font-display);
  font-size:clamp(28px,3.1vw,40px);
  color:var(--blue-900);
  margin-bottom:12px;
}

.custom-plans p{
  max-width:760px;
  margin:0 auto 24px;
  color:var(--ink-muted);
}


@keyframes fade-up{
  from{
    opacity:0;
    transform:translateY(18px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}


@media (max-width:1080px){
  .process-grid,
  .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .process-item::before{
    display:none;
  }
}

@media (max-width:720px){
  .hero-inner{
    padding:70px 20px 110px;
  }

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

  .process-item{
    padding:0;
  }

  .services-grid{
    padding:0 20px;
  }
}
