/* ===== Services layout (Cisco-style skeleton) ===== */

.services-page-shell {
  margin-top: 32px;
  margin-bottom: 40px;
}

/* Outer block that feels like a single unit */
.services-shell {
  border-radius: 18px;
  border: 1px solid #101822;
  background: linear-gradient(180deg,#101419,#0f151d);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  padding: 0; /* content handled by inner layout */
}

/* Two-column layout: left nav + right panel, all one block */
.services-layout {
  background: #05070a;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: flex-start;
}

/* Left nav column */
.services-nav {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 125px;            /* tweak if it collides with header */
  align-self: flex-start;
}

/* This is the tab style you liked: text with blue vertical bar when active */
.services-tab {
  width: 100%;
  text-align: left;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.services-tab:hover {
  color: var(--text);
  background: rgba(15, 21, 29, 0.6);
}

.services-tab.active {
  color: var(--text);
  border-left-color: var(--blue);
  background: rgba(15, 21, 29, 0.9);
}

/* Right column: vertical stack of sections */
.services-panels {
  padding: 20px 22px;
  border-left: 1px solid #1b2430;
}

/* Each section gets breathing room and a divider */
.services-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #151b25;
}

.services-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Optional: small visual grouping for each block inside a section */
.svc-block {
  margin-top: 22px;
}

.svc-block h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

/* Each panel is currently empty; we just give them a min height */
.services-panel {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.services-panel.active {
  display: block;
}

/* Responsive: stack services nav + content on small screens */
@media (max-width: 900px){
  .services-layout{
    grid-template-columns: 1fr;
  }

  .services-nav{
    position: static;
    top: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid #1b2430;
  }

  .services-panels{
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid #1b2430;
  }

  .services-tab{
    flex: 1 1 48%;
    text-align: center;
  }
}

/* ===== Services Home (tab: Services Home) ===== */

.svc-home-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 4px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.svc-home-eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.9;
}

.svc-home-title {
  margin: 0;
  font-size: 1.8rem;          /* bigger headline */
  line-height: 1.45;
  font-weight: 650;
  color: var(--text);
}

.svc-home-lead {
  margin: 4px auto 0;
  max-width: 780px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
}

/* AI-era context band */
.svc-home-context {
  margin-top: 8px;
  padding: 14px 18px 16px;
  border-radius: 16px;
  border: 1px solid #1b2430;
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(13,116,245,0.16), transparent 60%),
    radial-gradient(800px 420px at 95% 100%, rgba(89,224,11,0.16), transparent 60%),
    #101419;
  text-align: left;           /* easier to read */
}

.svc-home-context h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.svc-home-context p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Pillars list inside the context band */
.svc-home-pillars {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 6px 18px;
  list-style: disc;
}

.svc-home-pillars li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Split service models: two gradient cards */

.svc-home-offers {
  margin-top: 10px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.svc-home-offer {
  padding: 14px 18px 16px;
  border-radius: 16px;
  border: 1px solid #1b2430;
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(13,116,245,0.16), transparent 60%),
    radial-gradient(800px 420px at 95% 100%, rgba(89,224,11,0.16), transparent 60%),
    #101419;
  text-align: left;
  box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

.svc-home-offer-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.svc-home-offer-body {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.svc-home-offer-points {
  margin: 0;
  padding-left: 0;      /* remove default bullets indent */
  list-style: none;     /* kill normal bullets */
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.svc-home-offer-points li {
  position: relative;
  padding-left: 22px;   /* space for the checkmark */
}

/* green checkmark bullets */
.svc-home-offer-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.9rem;

  /* gradient text like the “Core Asset Solutions: Secure, Sustainable, now Simplified.” pill */
  background: linear-gradient(135deg, #0D74F5, #59E00B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;          /* hide solid color so gradient shows */
}


/* Mobile: stack the two cards */
@media (max-width: 900px) {
  .svc-home-offers {
    grid-template-columns: 1fr;
  }
}


/* Tagline band at the bottom */
.svc-home-tagline {
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg,#0D74F5,#59E00B);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.svc-home-tagline p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 550;
  color: #0b0d10;
}

/* Mobile tweaks */
@media (max-width: 900px) {
  .svc-home-hero {
    padding: 4px 0;
  }

  .svc-home-title {
    font-size: 1.4rem;
  }

  .svc-home-lead {
    font-size: 0.94rem;
  }

  .svc-home-context {
    padding: 12px 12px 14px;
  }

  .svc-home-pillars {
    grid-template-columns: 1fr;
  }

  .svc-home-tagline {
    border-radius: 14px;
    width: 100%;
  }
}

/* ===== Shared section typography for Services tabs ===== */

.svc-section-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 640;
  color: var(--text);
}

.svc-section-intro {
  margin: 0;
  max-width: 640px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Segment layout for E-waste & Enterprise sections ===== */

.svc-segment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: flex-start;
}

.svc-segment-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-segment-subheading {
  margin: 10px 0 4px;
  font-size: 0.98rem;
  font-weight: 580;
  color: var(--text);
}

.svc-segment-aside {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.svc-segment-card {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  border: 1px solid #1b2430;
  padding: 14px 16px 16px;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(13,116,245,0.18), transparent 55%),
    radial-gradient(700px 360px at 90% 100%, rgba(89,224,11,0.18), transparent 55%),
    #05070a;
  box-shadow: 0 14px 30px rgba(0,0,0,0.6);
}

.svc-segment-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.svc-segment-footnote {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  opacity: 0.95;
}

/* Reuse the same checkmark style lists for these side cards & bullets */
.svc-segment-card .svc-home-offer-points {
  margin-top: 2px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
  .svc-segment-layout {
    grid-template-columns: 1fr;
  }

  .svc-segment-aside {
    margin-top: 10px;           /* show the right-hand card above copy if you prefer */
    margin-bottom: 10px;
  }
}


/* ===== Our Process layout ===== */

.svc-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: flex-start;
}

/* Left column: step cards */

.svc-process-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-step-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-step-card {
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #101419, #0f151d) padding-box,
    linear-gradient(
      135deg,
      var(--blue),
      #e7f1ff,
      var(--green),
      #f2ffe6,
      var(--blue)
    ) border-box;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  gap: 8px 14px;
}

.svc-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg,#0D74F5,#59E00B);
  color: #0b0d10;
  font-size: 0.9rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.svc-step-body h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.svc-step-body p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.svc-step-body ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.88rem;
  color: var(--muted);
}

.svc-step-footnote {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.9;
}

/* Right column: tall process visual */

.svc-process-visual {
  padding-top: 128px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-process-visual-inner {
  border-radius: 16px;
  border: 1px solid #1b2430;
  background: #05070a;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;            /* tall-ish, you can tweak */
}

.svc-process-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;            /* keeps it from going crazy tall */
  object-fit: contain;
}

.svc-process-caption {
  margin: 0 2px;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.9;
}

/* Responsive: stack image under steps */

@media (max-width: 900px) {
  .svc-process-layout {
    grid-template-columns: 1fr;
  }

  .svc-process-visual-inner {
    min-height: 0;
  }
}

/* ===== Services process image zoom / lightbox ===== */

.svc-process-image {
  cursor: zoom-in;
}

/* Full-screen overlay */
.svc-lightbox {
  position: fixed;
  inset: 0;
  display: none;                 /* hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  z-index: 250;                  /* above header (100) and cards */
}

/* When open, show the flex overlay */
.svc-lightbox.open {
  display: flex;
}

/* Inner content (image + close button) */
.svc-lightbox-content {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  padding: 0;
}

/* Zoomed image */
.svc-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  border-radius: 16px;
  border: 1px solid #1b2430;
  background: #05070a;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

/* Close button in top-right of the zoomed image */
.svc-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #1b2430;
  background: rgba(5, 7, 10, 0.92);
  color: #e8eef6;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.svc-lightbox-close:hover {
  background: #182131;
  border-color: #233249;
  transform: translateY(-0.5px);
}

.svc-lightbox-close:active {
  transform: translateY(0);
}

/* On very small screens, make sure padding/fit is good */
@media (max-width: 600px) {
  .svc-lightbox-content {
    max-width: 100vw;
    max-height: 92vh;
    padding: 0 8px;
  }
}


/* ===== Data Destruction layout ===== */

.svc-destruction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.svc-destruction-copy p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 8px;
}

.svc-destruction-sub {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #c3cde0;
  opacity: 0.95;
}

.svc-destruction-copy ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Right-side abstract “stack” */

.svc-destruction-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-destruction-block {
  border-radius: 16px;
  border: 1px solid #1b2430;
  background: radial-gradient(circle at 10% 10%, rgba(13,116,245,0.35), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(89,224,11,0.25), transparent 55%),
              #05070a;
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
}

.dd-block-1 { height: 120px; opacity: 0.95; }
.dd-block-2 { height: 90px;  opacity: 0.8; }
.dd-block-3 { height: 70px;  opacity: 0.65; }

/* ===== Data Destruction right-side image – match Sustainability style ===== */

.svc-destruction-aside {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px; /* tweak or remove if it feels too pushed in */
  padding-top: 15px;
}

.svc-destruction-lock {
  max-width: 420px;   /* same visual weight as cas_sustain.png */
  width: 100%;
}

.svc-destruction-lock img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;                 /* rounded corners */
  border: 1px solid #05070a;
  background: #05070a;
  box-shadow: 0 16px 36px rgba(0,0,0,0.55);
  filter: none;                        /* remove old heavy drop-shadow */
  opacity: 1;                          /* full-strength image */
}

/* Mobile: stack like Sustainability */
@media (max-width: 900px) {
  .svc-destruction-layout {
    grid-template-columns: 1fr;
  }

  .svc-destruction-aside {
    order: -1;       /* or remove this if you want text first on mobile */
    padding-left: 0;
    margin-bottom: 12px;
  }
}



/* ===== Sustainability layout ===== */

.svc-sustain-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: center;
}

.svc-sustain-copy p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 8px;
}

.svc-sustain-sub {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #cfe9cf;
  opacity: 0.96;
}

.svc-sustain-copy ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Left-side green “impact band” */

.svc-sustain-aside {
  display: flex;
  justify-content: center;
}

.svc-sustain-band {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  border: 1px solid #1a2b1a;
  padding: 18px 14px;
  background:
    radial-gradient(circle at 10% 10%, rgba(89,224,11,0.35), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(13,116,245,0.25), transparent 60%),
    #050a08;
  box-shadow: 0 16px 38px rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

/* Simple icon chips (no text; just visual differentiation) */
.svc-sustain-chip {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
  position: relative;
}

.svc-sustain-chip::before,
.svc-sustain-chip::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.svc-sustain-chip::before {
  inset: 4px;
  border: 1px dashed rgba(255,255,255,0.26);
}

.svc-sustain-chip::after {
  inset: 10px;
}

/* Slightly different inner gradients per chip */
.chip-reuse::after {
  background: radial-gradient(circle, rgba(89,224,11,0.95), rgba(89,224,11,0.1));
}

.chip-ghg::after {
  background: radial-gradient(circle, rgba(13,116,245,0.9), rgba(13,116,245,0.08));
}

.chip-landfill::after {
  background: radial-gradient(circle, rgba(144,238,144,0.9), rgba(144,238,144,0.08));
}

/* ===== Responsive tweaks for both sections ===== */

@media (max-width: 900px) {
  .svc-destruction-layout,
  .svc-sustain-layout {
    grid-template-columns: 1fr;
  }

  .svc-destruction-aside {
    order: -1; /* show the visual first on mobile if you prefer; remove if not */
  }

  .svc-sustain-aside {
    order: -1;
  }
}

/* Shared glowing panel shell for services sections */
.svc-panel-shell {
  border-radius: 18px;

  /* thin gradient border */
  border: 2px solid transparent;

  /* inner dark panel + outer gradient border */
  background:
    linear-gradient(180deg, #101419, #0f151d) padding-box,
    linear-gradient(
      135deg,
      var(--blue),
      #e7f1ff,
      var(--green),
      #f2ffe6,
      var(--blue)
    ) border-box;

  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  padding: 22px 20px 24px; /* keep content layout the same */
}

  
.svc-sustain-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: center;
}

/* Left column with subtle logo */
.svc-sustain-aside {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 24px;
}

.svc-sustain-logo {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(89,224,11,0.16), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(13,116,245,0.24), transparent 65%),
    url("/assets/logo_website_final.png") center/60% no-repeat;
  opacity: 0.18;  /* super faded – bump up/down if needed */
  box-shadow: 0 18px 36px rgba(0,0,0,0.55);
}


/* ===== Simplified Sustainability layout (image on the right) ===== */

.svc-sustain-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: center;
}

/* Left side (text) stays as you already have it */
.svc-sustain-copy p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 8px;
}

/* New right-side image container */
.svc-sustain-media {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.svc-sustain-media img {
  display: block;
  width: 100%;
  max-width: 420px;    /* tweak to taste */
  height: auto;
  border-radius: 16px; /* or 0 if you want sharp edges */
  border: 1px solid #1b2430;
  background: #05070a;
  box-shadow: 0 16px 36px rgba(0,0,0,0.55);
}

/* Responsive: stack sustainability layout on mobile */
@media (max-width: 900px){
  .svc-sustain-layout{
    grid-template-columns: 1fr;
  }

  .svc-sustain-aside{
    order: -1;
    padding-right: 0;
    margin-bottom: 8px;
  }

  .svc-sustain-media{
    margin-top: 12px;
  }
}


/* ===== Services Overview Layout ===== */

.svc-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: center;
}

.svc-overview-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #1b2430;
  background: #0f151d;
  object-fit: cover;
}

/* Right side */
.svc-overview-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 4px;
}

.svc-overview-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.svc-overview-values {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-overview-values li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-overview-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .svc-overview-body {
    padding-right: 0;
  }
}


/* ===== Inline text links (not buttons) ===== */

/* Base style for links inside paragraphs and lists */
p a:not(.btn),
li a:not(.btn) {
  color: var(--blue);
  text-decoration: none;
}

/* Visited state – softer blue, no purple */
p a:not(.btn):visited,
li a:not(.btn):visited {
  color: var(--blue);
  text-decoration: none;
}

/* Hover – brighter and underlined */
p a:not(.btn):hover,
li a:not(.btn):hover {
  color: var(--green);
  /*color: #e8eef6;*/
  text-decoration: underline;
}

/* Active/clicked */
p a:not(.btn):active,
li a:not(.btn):active {
  color: var(--blue);
  text-decoration: underline;
}


/* ===== Industries page: Overview grid cards (Partner-style gradient border) ===== */
.industries-page .industry-overview-grid .solution{
  position: relative;
  border-radius: 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg,#101419,#0f151d) padding-box,
    linear-gradient(135deg, var(--blue), #e7f1ff, var(--green), #f2ffe6, var(--blue)) border-box;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 861px){
  .industries-page .industry-overview-grid .solution{
    aspect-ratio: 1 / 1; /* square blocks on desktop */
  }
}

/* Icon placeholder inside each industry overview square */
.industry-overview-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px dashed #233249;
  background: #0f151d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.industry-overview-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Slightly smaller overview paragraph */
.industries-page .industry-overview-card p{
  font-size: 13.5px;
}

/* ===== Industries page: NEW right-side image slots (placeholders) ===== */
/* Map existing images now so nothing looks blank. Swap filenames later. */
.industry-visual--corporate { background-image: url("/assets/ind_sbm.png"); }
.industry-visual--healthcare-medical { background-image: url("/assets/ind_healthcare.png"); }
.industry-visual--government-public { background-image: url("/assets/ind_gov.png"); }
.industry-visual--education { background-image: url("/assets/ind_gov.png"); }            /* reuse for now */
.industry-visual--financial-sector { background-image: url("/assets/ind_finance.png"); }
.industry-visual--aerospace { background-image: url("/assets/ind_sbm.png"); }            /* placeholder */
.industry-visual--retail-multisite { background-image: url("/assets/ind_smb.png"); }     /* placeholder */
.industry-visual--residential-community { background-image: url("/assets/ind_smb.png"); }/* placeholder */
/* ===== Services Overview: Partner-style gradient border + square cards ===== */
.services-page .services-overview-grid .solution{
  position: relative;
  border-radius: 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg,#101419,#0f151d) padding-box,
    linear-gradient(135deg, var(--blue), #e7f1ff, var(--green), #f2ffe6, var(--blue)) border-box;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 861px){
  .services-page .services-overview-grid .solution{
    aspect-ratio: 1 / 1; /* square-ish on desktop */
  }
}

/* FIX: Services overview cards — stop forcing square height (prevents random tall cards) */
@media (min-width: 861px){
  .services-page .services-overview-grid .solution{ aspect-ratio: auto; }
}


/* Icon placeholder inside each service card (you can drop clip-art later) */
.services-page .service-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px dashed #233249;
  background: #0f151d;
}
/* ===============================
   Service Detail Pages (Template)
   =============================== */

/* ===============================
   Service Detail Pages (Securis-style Hero + Overview Band)
   Applies to all service detail pages except electronics collection programs
   =============================== */

body.service-detail-page{
  background: #000000;
}

.cas-service-hero{
  position: relative;
  z-index: 2;
  min-height: 520px;
  background: #000000;
  overflow: visible;
  isolation: isolate;
}

.cas-service-hero__caption{
  position: relative;
  z-index: 2;
  width: calc(100% - 860px);
  max-width: 785px;
  padding: 100px 0 0 64px;
}

.cas-service-hero__caption h1{
  margin: 0;
  max-width: 785px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(2.66rem, 3.57vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.cas-service-hero__card{
  position: absolute;
  z-index: 3;
  top: 32px;
  right: 0;
  width: clamp(620px, 47.9vw, 750px);
  height: 530px;
  margin: 0;
  background: #55D614;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  color: #333333;
}

.cas-service-hero__contact-row{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  padding: 31px 77px 0 90px;
}

.cas-service-hero__phone{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000000;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.018em;
  text-decoration: none;
  white-space: nowrap;
}

.cas-service-hero__phone:hover,
.cas-service-hero__phone:focus-visible{
  color: #000000;
  text-decoration: none;
}

.cas-service-hero__phone-icon{
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  color: currentColor;
  overflow: visible;
}

.cas-service-hero__phone-icon path{
  stroke: currentColor;
  stroke-width: 1.15px;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.cas-service-hero__phone-icon .step1{
  animation: cas-service-phone2 2s infinite cubic-bezier(0.1, 0.57, 0.5, 1);
}

.cas-service-hero__phone-icon .step2{
  animation: cas-service-phone3 2s infinite cubic-bezier(0.1, 0.57, 0.5, 1);
}

@keyframes cas-service-phone2{
  0%,
  40%{
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  70%,
  90%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100%{
    opacity: 0;
  }
}

@keyframes cas-service-phone3{
  0%,
  50%{
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  80%,
  90%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100%{
    opacity: 0;
  }
}

.cas-service-hero__quote{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 25px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(120deg, #000000 85%, #222222 25%);
  color: #55D614;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.cas-service-hero__quote::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  height: 100%;
  background: #222222;
  transition: width 0.5s ease-in;
}

.cas-service-hero__quote span{
  position: relative;
  z-index: 1;
}

.cas-service-hero__quote:hover,
.cas-service-hero__quote:focus-visible{
  color: #55D614;
  text-decoration: none;
}

.cas-service-hero__quote:hover::before,
.cas-service-hero__quote:focus-visible::before{
  width: 100%;
}

.cas-service-hero__image-wrap{
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(699px, calc(100% - 51px));
  height: 337px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.cas-service-hero__image-wrap img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cas-service-overview-band{
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: clamp(58px, 6vw, 88px) 0 clamp(64px, 6.5vw, 98px);
  background: #171713;
  color: #ffffff;
}
.cas-service-overview-band__inner{
  width: calc(100% - 48px);
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.cas-service-overview-band h2{
  display: inline-block;
  margin: 0 0 24px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.15vw, 3.65rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.042em;
}

.cas-service-overview-band p{
  max-width: 1160px;
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.18vw, 1.22rem);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: -0.012em;
}

@media (max-width: 1220px){
  .cas-service-hero__caption{
    width: calc(100% - 680px);
    padding-left: 44px;
  }

  .cas-service-hero__card{
    width: 640px;
  }

  .cas-service-hero__contact-row{
    gap: 20px;
    padding-right: 42px;
    padding-left: 62px;
  }

  .cas-service-hero__phone{
    font-size: 26px;
  }

  .cas-service-hero__quote{
    font-size: 18px;
    padding: 0 22px;
  }
}

@media (max-width: 1040px){
  .cas-service-hero{
    min-height: auto;
    padding: 44px 24px 0;
  }

  .cas-service-hero__caption{
    width: 100%;
    max-width: 760px;
    padding: 0;
  }

  .cas-service-hero__caption h1{
    max-width: 760px;
    font-size: clamp(2.1rem, 6vw, 3.15rem);
  }

  .cas-service-hero__card{
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 34px 0 -42px auto;
    border-radius: 12px;
  }

  .cas-service-hero__contact-row{
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 28px 28px 30px;
  }

  .cas-service-hero__image-wrap{
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 699 / 337;
    border-radius: 12px 12px 0 0;
  }

  .cas-service-overview-band{
    margin-top: 82px;
  }
}

@media (max-width: 720px){
  .cas-service-hero{
    padding: 32px 18px 0;
  }

  .cas-service-hero__caption h1{
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .cas-service-hero__card{
    margin-top: 28px;
  }

  .cas-service-hero__contact-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px 26px;
  }

  .cas-service-hero__phone{
    font-size: clamp(1.42rem, 7.6vw, 1.85rem);
  }

  .cas-service-hero__phone-icon{
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .cas-service-hero__quote{
    width: 100%;
    min-height: 56px;
    font-size: 18px;
  }

  .cas-service-overview-band{
    margin-top: 76px;
  }

  .cas-service-overview-band__inner{
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce){
  .cas-service-hero__phone-icon .step1,
  .cas-service-hero__phone-icon .step2{
    animation: none;
    opacity: 1;
  }

  .cas-service-hero__quote::before{
    transition: none;
  }
}


/* =========================================================
   CAS INTERACTIVE STANDARD PROCESS BAND
   Shared by all service detail pages except electronics collection programs
   ========================================================= */

.service-detail-page .cas-process-band{
  padding: clamp(46px, 5vw, 76px) 0;
  border-bottom: 0;
}

.service-detail-page .cas-process-panel{
  --cas-process-back-font-max: 40;
  --cas-process-back-font-min: 16;
  --cas-process-front-font-max: 38;
  --cas-process-front-font-min: 15;
  --cas-process-front-font: clamp(1.3rem, 2.05vw, 2.35rem);
  --cas-process-back-font: clamp(1.35rem, 2.15vw, 2.35rem);

  width: min(100%, 1230px);
  max-width: 1230px;
  margin: 0 auto;
  padding: clamp(34px, 3.5vw, 52px) clamp(34px, 4.2vw, 62px) clamp(30px, 3.2vw, 42px);
  background: #77776F;
  border: 1px solid #F2F2F2;
  border-radius: 42px;
  box-shadow: none;
  text-align: center;
}

.service-detail-page .cas-process-title{
  margin: 0 0 clamp(28px, 3vw, 40px);
  color: #FFFFFF;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-align: center;
}

.service-detail-page .cas-process-steps{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 54px);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-page .cas-process-steps::before{
  content: "";
  position: absolute;
  z-index: 0;
  left: 8.5%;
  right: 8.5%;
  top: 29px;
  height: 4px;
  background: #000000;
  border-radius: 999px;
  pointer-events: none;
}

.service-detail-page .cas-process-step{
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: start;
  min-width: 0;
}

.service-detail-page .cas-process-marker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 0 26px;
  border: 2px solid #000000;
  border-radius: 50%;
  background: #E8E8E8;
  color: #77776F;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: 1.68rem;
  font-weight: 900;
  line-height: 1;
}

.service-detail-page .cas-process-step.is-flipped .cas-process-marker{
  background: #000000;
  border-color: #E8E8E8;
  color: #E8E8E8;
}

.service-detail-page .cas-process-card{
  display: block;
  width: 100%;
  max-width: 252px;
  aspect-ratio: 1.27 / 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  perspective: 1100px;
  appearance: none;
  -webkit-appearance: none;
}

.service-detail-page .cas-process-card:focus-visible{
  outline: 3px solid #FFFFFF;
  outline-offset: 8px;
  border-radius: 22px;
}

.service-detail-page .cas-process-cardInner{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
}

.service-detail-page .cas-process-step.is-flipped .cas-process-cardInner{
  transform: rotateY(180deg);
}

.service-detail-page .cas-process-face{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2vw, 28px);
  border: 4px solid #000000;
  border-radius: 18px;
  background: #E8E8E8;
  color: #000000;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: none;
  overflow: hidden;
}

.service-detail-page .cas-process-step.is-visited .cas-process-face--front{
  background: #E8E8E8;
  border-color: #000000;
  color: #000000;
}

.service-detail-page .cas-process-face--back{
  transform: rotateY(180deg);
  background: #000000;
  border-color: #E8E8E8;
  color: #FFFFFF;
}

.service-detail-page .cas-process-frontTitle{
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  color: inherit;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: var(--cas-process-front-font);
  font-weight: 900;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.04;
  letter-spacing: normal;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  font-kerning: normal;
  font-feature-settings: normal;
  text-rendering: auto;
}

.service-detail-page .cas-process-backText{
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  color: #FFFFFF;
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: var(--cas-process-back-font);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-detail-page .cas-process-arrows{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: min(100%, 1230px);
  margin: 24px auto 0;
}

.service-detail-page .cas-process-arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  cursor: pointer;
  transition: opacity 160ms ease, background 160ms ease, transform 160ms ease;
}

.service-detail-page .cas-process-arrow:hover:not(:disabled),
.service-detail-page .cas-process-arrow:focus-visible:not(:disabled){
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-1px);
}

.service-detail-page .cas-process-arrow svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail-page .cas-process-arrow--prev svg{
  transform: rotate(180deg);
}

.service-detail-page .cas-process-arrow:disabled{
  opacity: 0.38;
  cursor: default;
}

@media (max-width: 980px){
  .service-detail-page .cas-process-panel{
    border-radius: 34px;
  }

  .service-detail-page .cas-process-steps{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-page .cas-process-steps::before{
    display: none;
  }

  .service-detail-page .cas-process-card{
    max-width: 290px;
  }
}

@media (max-width: 620px){
  .service-detail-page .cas-process-panel{
    padding: 30px 22px 28px;
    border-radius: 28px;
  }

  .service-detail-page .cas-process-steps{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-detail-page .cas-process-marker{
    margin-bottom: 16px;
  }

  .service-detail-page .cas-process-card{
    max-width: 310px;
  }
}

/* Service body + sidebar cards (reuse your existing svc-segment-card look) */
.service-aside-stack{
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

@media (min-width: 980px){
  .service-aside-stack{
    position: sticky;
    top: 120px; /* under sticky header */
  }
}

.service-detail-page .svc-segment-card{
  max-width: 420px; /* wider than default 340 */
}

.service-cta-card{
  border-color: rgba(89,224,11,0.22);
}

.service-cta-card .btn{
  width: 100%;
  justify-content: center;
}

/* “feature list” uses your existing checkmark bullets */
.service-feature-list{
  margin-top: 8px;
}

/* =========================================================
   Service Detail Page – refinements
   - Bigger/brighter sidebar cards
   - White bullet points instead of green checkmarks
   - Green CTA band (match process icon green)
   ========================================================= */

/* Make the right column wider so the two cards fill the space better */
.service-detail-page .svc-segment-layout{
  grid-template-columns: 1fr 420px;
}

/* Let the aside cards expand (remove the max-width bottleneck) */
.service-detail-page .svc-segment-card{
  max-width: none;
  border: 1px solid rgba(89,224,11,0.22);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(13,116,245,0.22), transparent 55%),
    radial-gradient(900px 420px at 92% 100%, rgba(89,224,11,0.26), transparent 55%),
    #070b10;
  box-shadow: 0 18px 34px rgba(0,0,0,0.65);
}

/* Slightly more “present”/brighter CTA card too */
.service-detail-page .svc-segment-card.service-cta-card{
  border-color: rgba(89,224,11,0.28);
  background:
    radial-gradient(900px 420px at 50% 10%, rgba(89,224,11,0.22), transparent 60%),
    #080f10;
}

/* Replace green checkmarks with normal white bullets (service pages only) */
.service-detail-page .svc-home-offer-points{
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 8px;
}

.service-detail-page .svc-home-offer-points li{
  padding-left: 0;
}

/* Kill the checkmark pseudo-element */
.service-detail-page .svc-home-offer-points li::before{
  content: none !important;
}

/* White bullet markers */
.service-detail-page .svc-home-offer-points li::marker{
  color: rgba(255,255,255,0.92);
}

/* Make the bottom CTA band green (match your --green / process icon green) */
.service-detail-page .cta-band{
  max-width: none;
  border: 2px solid var(--cas-silver-border);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(13,116,245,0.18), transparent 55%),
    radial-gradient(900px 420px at 92% 100%, rgba(89,224,11,0.18), transparent 55%),
    #070b10;
  box-shadow: 0 18px 34px rgba(0,0,0,0.65);
}
/* Brighter green CTA band (service pages only) */
.service-detail-page .cta-band{
  
    background:
    radial-gradient(700px 360px at 10% 0%, rgba(13,116,245,0.18), transparent 55%),
    radial-gradient(700px 360px at 90% 100%, rgba(89,224,11,0.18), transparent 55%),
}

/* ===========================
   SERVICE DETAIL: "About This Service" layout tuning
   Applies to all pages using: <body class="service-detail-page">
   =========================== */

.service-detail-page .content-inner{
  /* makes the whole service page content feel less cramped */
  max-width: 1240px;
}

/* The two-column layout: make left copy larger, right cards larger, reduce dead space */
.service-detail-page .svc-segment-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(420px, 0.95fr);
  gap: 26px;
  align-items: start;
}

/* Left side copy sizing */
.service-detail-page .svc-segment-copy h2{
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 14px 0;
}

.service-detail-page .svc-segment-copy p{
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 14px 0; /* keeps the first paragraph tight */
  max-width: none;    /* removes any narrow text constraint */
}

/* This is the “gap” you’re seeing: default h3/list margins stack too large.
   Tighten spacing between the first paragraph and the next subheading/list. */
.service-detail-page .svc-segment-subheading{
  margin: 22px 0 10px 0;
  font-size: 20px;
  line-height: 1.25;
}

.service-detail-page .svc-home-offer-points{
  margin: 0 0 14px 0;
}

.service-detail-page .svc-home-offer-points li{
  font-size: 17px;
  line-height: 1.6;
  margin: 8px 0;
}

/* Right side cards: make them bigger & visually closer to your reference layout */
.service-detail-page .svc-segment-card{
  padding: 22px 22px;
  border-radius: 18px;
}

.service-detail-page .svc-segment-card h3{
  font-size: 20px;
  margin: 0 0 12px 0;
}

.service-detail-page .service-feature-list li{
  font-size: 16.5px;
  line-height: 1.55;
}

/* CTA card button sizing */
.service-detail-page .service-cta-card .btn{
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 16px;
}

/* Responsive fallback */
@media (max-width: 980px){
  .service-detail-page .svc-segment-layout{
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   SERVICE DETAIL PAGES — LAYOUT / CENTERING FIX ONLY
   Fixes: About This Service section off-center + cards too far right
   (No color changes)
========================================================= */

/* Hard reset any accidental horizontal shifting on service pages */
.service-detail-page .content-inner{
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* About This Service: two-column layout that stays centered */
.service-detail-page .svc-segment-layout{
  width: 100% !important;
  margin: 0 auto !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr) !important;
  gap: clamp(20px, 3vw, 36px) !important;
  align-items: start !important;
}

/* Prevent either column from forcing overflow/shift */
.service-detail-page .svc-segment-copy,
.service-detail-page .svc-segment-aside{
  min-width: 0 !important;
}

/* IMPORTANT: don’t push the sidebar farther right than its grid column */
.service-detail-page .svc-segment-aside{
  justify-self: stretch !important;
  margin-top: 0 !important;
}

/* Make the two cards fill the sidebar column (bigger), without shifting the grid */
.service-detail-page .svc-segment-card{
  width: 100% !important;
  max-width: none !important;
}

/* Remove the awkward “middle gap” after the intro paragraph */
.service-detail-page .svc-segment-copy > p{
  margin-bottom: 18px !important;
}

/* Keep subheadings tight and consistent when you add more */
.service-detail-page .svc-segment-subheading{
  margin-top: 26px !important;
  margin-bottom: 10px !important;
}

/* Mobile: stack cleanly */
@media (max-width: 980px){
  .service-detail-page .svc-segment-layout{
    grid-template-columns: 1fr !important;
  }
  .service-detail-page .svc-segment-aside{
    margin-top: 18px !important;
  }
}

/* =========================================================
   SERVICE PAGES: FULL-VIEWPORT CONTENT (override site max)
   Only affects pages with: <body class="service-detail-page">
   ========================================================= */

/* =========================================================
   SERVICE PAGES: FULL-VIEWPORT CONTENT (override site max)
   Only affects pages with: <body class="service-detail-page">
   ========================================================= */

.service-detail-page .content-shell{
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: -24px;
  margin-bottom: 40px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.service-detail-page .content-inner{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}


.service-detail-page .content-inner{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;

  /* keep readable padding without re-adding “outer gutters” */
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
/* ============================
   Service Pages: Silver Borders
   ============================ */

:root{
  --cas-silver-border: rgba(255,255,255,0.30);
}

/* Right-side squares */
.service-detail-page .svc-segment-card{
  border-color: var(--cas-silver-border);
  border-width: 2px;          /* was 1px */
}

/* Standard Process separator */
.service-detail-page .std-process{
  border-radius: 18px;
  box-shadow: inset 0 0 0 0px var(--cas-silver-border);  /* was 1px */
}

/* Services overview: value badge icon */
.services-page .services-overview-grid .service-icon {
  width: 44px;              /* tweak size here */
  height: 44px;             /* tweak size here */
  margin-bottom: 12px;
  background: url("/assets/4Badge.png") center / contain no-repeat;
  flex: 0 0 auto;
}

/* SERVICES PAGE — How We Work (stacked text then wide image) */
.services-page .how-we-work {
  text-align: left;
}

.services-page .how-we-work-lead {
  max-width: 78ch;
  margin: 10px 0 18px;
  color: var(--muted);
}

.services-page .how-we-work-media {
  margin: 0;
}

.services-page .how-we-work-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Services overview hero: make the subtitle smaller, keep H1 big */
.hero h1 {
  /* leave this alone if you already like the main size */
}

.hero h1 .h1-sub {
  display: block;
  font-size: 0.45em;   /* tweak: 0.40–0.55 */
  line-height: 1.25;
  margin-top: 10px;    /* tweak spacing */
  font-weight: 600;    /* optional: keeps it clean */
}

/* Services overview: make descriptions slightly larger ONLY for
   E-Waste Recycling + Sustainability grids (fills vertical space better) */
.services-overview-grid[aria-label="E-Waste Recycling services"] .service-card p,
.services-overview-grid[aria-label="Sustainability Services"] .service-card p {
  font-size: 1.30rem;      /* bump this up/down */
  line-height: 1.6;
}

/* Optional: keep it from feeling huge on mobile */
@media (max-width: 640px) {
  .services-overview-grid[aria-label="E-Waste Recycling services"] .service-card p,
  .services-overview-grid[aria-label="Sustainability Services"] .service-card p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* Make all service cards lay out consistently */
.service-card {
  display: flex;
  flex-direction: column;
}

/* Push the Learn more button area to the bottom */
.service-card .actions {
  margin-top: auto;
}

/* Services overview cards: make service titles bigger than descriptions */
.services-overview-grid .service-card h3 {
  font-size: 1.35rem;   /* increase/decrease */
  line-height: 1.2;
  margin: 10px 0 10px;  /* adjust spacing if needed */
}

/* Keep descriptions slightly smaller (optional, for consistency) */
.services-overview-grid .service-card p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Mobile tuning */
@media (max-width: 640px) {
  .services-overview-grid .service-card h3 {
    font-size: 1.2rem;
  }
  .services-overview-grid .service-card p {
    font-size: 1rem;
  }
}

/* =========================
   Industries Overview cards (match “Service Features” card style)
   ========================= */

.industry-overview-card {
  position: relative;
  border-radius: 26px;
  padding: 28px;
  border: 2px solid rgba(210, 220, 230, 0.38); /* silver border */
  background:
    radial-gradient(1100px 520px at 14% 18%, rgba(20, 120, 255, 0.22), transparent 55%),
    radial-gradient(980px 520px at 86% 88%, rgba(70, 205, 120, 0.22), transparent 55%),
    rgba(8, 12, 18, 0.92);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* subtle rim */
.industry-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

/* icon badge */
.industry-overview-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.industry-overview-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  stroke: rgba(235, 245, 255, 0.92);
}

/* Title a bit bigger than body */
.industry-overview-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.industry-overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Industries tab: section headings inside each panel */
.industry-subhead {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(235, 245, 255, 0.92);
}

/* Optional related links line */
.industry-links {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.industry-links a { text-decoration: underline; }

/* --- Industries panel spacing + readability (service-page feel) --- */

/* Slightly more comfortable body copy spacing inside panels */
.industry-copy .industry-tagline {
  margin: 8px 0 14px;
  line-height: 1.55;
  max-width: 58ch; /* keeps paragraphs readable */
}

/* Headings: add a subtle separator so sections are easier to scan */
.industry-subhead {
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* If you don’t want the first heading to have a border */
.industry-copy .industry-subhead:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 16px;
}

/* Bullets: increase readability for longer lists */
.industry-points {
  margin: 0 0 12px;
  padding-left: 18px;
}

.industry-points li {
  margin: 7px 0;         /* more breathing room */
  line-height: 1.5;      /* easier scanning */
}

/* Compliance line: separate it visually from the last list */
.industry-compliance {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* Related services line: keep it clean and slightly smaller */
.industry-links {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.10);
  font-size: 14px;
  color: var(--muted);
}

.industry-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   FAQ ACCORDIONS
   Clean Harbors shape/feel, adapted to CAS dark theme
   Uses DETAILS FAQ markup:
   <details class="faq-item">
     <summary>Question <span class="faq-arrow"></span></summary>
     <div class="faq-answer">...</div>
   </details>
   ========================================================= */

/* Give the FAQ column more room so the rows do not feel smashed */
.faq .svc-segment-layout{
  grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.faq .svc-segment-copy{ min-width: 0; }
.faq .faq-list{ width: 100%; }

/* Each FAQ row (DETAILS ONLY) */
details.faq-item{
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: #171c23;
  box-shadow: inset 4px 0 0 rgba(210,220,230,.38);
  overflow: hidden;
}

details.faq-item:first-of-type{
  border-top: 1px solid rgba(255,255,255,.10);
}

details.faq-item + details.faq-item{ margin-top: 0; }

details.faq-item[open]{
  background: linear-gradient(180deg, #1b2129 0%, #171c23 100%);
  box-shadow: inset 4px 0 0 var(--blue);
}

/* Summary row */
details.faq-item > summary{
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 16px 22px 16px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;

  color: #eef3fa;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;

  transition: background .16s ease, color .16s ease;
}

/* Remove browser triangle marker */
details.faq-item > summary::-webkit-details-marker{ display: none; }
details.faq-item > summary::marker{ content: ""; }

details.faq-item > summary:hover{
  background: rgba(255,255,255,.025);
  color: #ffffff;
}

/* Use the summary itself for the + icon so it always appears before the text */
details.faq-item > summary .faq-arrow{ display: none; }

details.faq-item > summary::before{
  content: "";
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  margin-top: 2px;
  background:
    linear-gradient(#ffffff, #ffffff) center / 14px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) center / 2px 14px no-repeat;
  border-radius: 999px;
  transition: background .16s ease, opacity .16s ease, transform .16s ease;
}

details.faq-item[open] > summary::before{
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat;
}

/* Answer area */
details.faq-item > .faq-answer{
  padding: 16px 22px 18px 46px;
  background: #141920;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

details.faq-item > .faq-answer p{
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

details.faq-item > .faq-answer > *:last-child{ margin-bottom: 0; }

/* Stack the FAQ layout sooner so it never feels cramped */
@media (max-width: 980px){
  .faq .svc-segment-layout{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Mobile */
@media (max-width: 720px){
  details.faq-item > summary{
    grid-template-columns: 16px minmax(0, 1fr);
    min-height: 60px;
    padding: 14px 16px 14px 14px;
    column-gap: 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  details.faq-item > summary::before{
    width: 16px;
    height: 16px;
    background:
      linear-gradient(#ffffff, #ffffff) center / 12px 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) center / 2px 12px no-repeat;
  }

  details.faq-item[open] > summary::before{
    background:
      linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat;
  }

  details.faq-item > .faq-answer{
    padding: 14px 16px 16px 44px;
    font-size: 14px;
    line-height: 1.65;
  }

  details.faq-item > .faq-answer p{
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
  }
}

/* =========================================================
   INDUSTRIES FAQ (NO HTML CHANGES)
   Works with your current industries markup:
   <section class="section industry-faq">
     <div class="faq-list">
       <div class="faq-item">
         <h3>Question</h3>
         <p>Answer...</p>
       </div>
     </div>
   </section>

   JS will wrap the answer into: <div class="faq-answer">...</div>
   ========================================================= */

.industry-faq .faq-list{
  width: 100%;
}

/* Row shell */
.industry-faq .faq-item{
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: #171c23;
  box-shadow: inset 4px 0 0 rgba(210,220,230,.38);
  overflow: hidden;
}

.industry-faq .faq-item:first-of-type{
  border-top: 1px solid rgba(255,255,255,.10);
}

.industry-faq .faq-item.is-open{
  background: linear-gradient(180deg, #1b2129 0%, #171c23 100%);
  box-shadow: inset 4px 0 0 var(--blue);
}

/* Question row (your HTML uses H3) */
.industry-faq .faq-item > h3{
  margin: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;

  width: 100%;
  min-height: 68px;
  padding: 16px 22px 16px 16px;

  cursor: pointer;
  user-select: none;

  color: #eef3fa;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;

  transition: background .16s ease, color .16s ease;
}

.industry-faq .faq-item > h3:hover{
  background: rgba(255,255,255,.025);
  color: #ffffff;
}

.industry-faq .faq-item > h3:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Plus icon (before the question text) */
.industry-faq .faq-item > h3::before{
  content: "";
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  margin-top: 2px;
  background:
    linear-gradient(#ffffff, #ffffff) center / 14px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) center / 2px 14px no-repeat;
  border-radius: 999px;
  transition: background .16s ease;
}

.industry-faq .faq-item.is-open > h3::before{
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat;
}

/* Answer area (JS creates .faq-answer wrapper) */
.industry-faq .faq-item > .faq-answer{
  padding: 16px 22px 18px 46px;
  background: #141920;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* If your answer content is <p>, keep it clean */
.industry-faq .faq-item > .faq-answer p{
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* IMPORTANT: collapse only when JS is active (SEO-safe / no-JS fallback stays open) */
.industry-faq .faq-list.faq-js .faq-item > .faq-answer{
  display: none;
}
.industry-faq .faq-list.faq-js .faq-item.is-open > .faq-answer{
  display: block;
}

/* Mobile tuning */
@media (max-width: 720px){
  .industry-faq .faq-item > h3{
    grid-template-columns: 16px minmax(0, 1fr);
    min-height: 60px;
    padding: 14px 16px 14px 14px;
    column-gap: 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  .industry-faq .faq-item > h3::before{
    width: 16px;
    height: 16px;
    background:
      linear-gradient(#ffffff, #ffffff) center / 12px 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) center / 2px 12px no-repeat;
  }

  .industry-faq .faq-item.is-open > h3::before{
    background:
      linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat;
  }

  .industry-faq .faq-item > .faq-answer{
    padding: 14px 16px 16px 44px;
    font-size: 14px;
    line-height: 1.65;
  }
}

/* Service-detail pages: enforce the same gutter + centered max width */
.service-detail-page .content-shell{
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.service-detail-page .content-inner{
  max-width: 1560px;   /* match your site max width if different */
  margin-left: auto;
  margin-right: auto;
}

.hero--full .hero-inner{
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}


/* =========================================================
   SERVICE PAGES — GUTTERS + STRUCTURE (match Sustainability)
   Paste at END of stylesheet
   ========================================================= */

:root{
  --svc-gutter: clamp(16px, 2.4vw, 28px);
  --svc-panel-pad: clamp(18px, 2vw, 26px);
}

/* If any service pages are wrapped in main.container, kill its padding
   so we don't get "double gutters" */
.services-page main.container,
.service-detail-page main.container{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Outer page gutter (same concept as Sustainability) */
.services-page .services-page-shell,
.service-detail-page .content-shell{
  max-width: var(--site-max) !important;
  margin: -24px auto 40px !important;
  padding-left: var(--svc-gutter) !important;
  padding-right: var(--svc-gutter) !important;
}

/* Inner panel padding so content never touches the border */
.service-detail-page .content-inner{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: var(--svc-panel-pad) !important;
}

/* Services overview block: keep your internal grid padding, just ensure the shell clips nicely */
.services-page .services-shell{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

/* CTA band border = match the "Quick Links" card border (svc-segment-card) */
.service-detail-page .cta-band{
  border-radius: 18px; /* match your card rounding */
  border: 2px solid var(--cas-silver-border);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* =========================================
   Services page: small workflow thumb + zoom
   ========================================= */

.services-page .how-we-work-media{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Normal view: ~1/3-ish width on desktop */
.services-page .how-we-work-media .services-process-thumb{
  width: min(520px, 33vw);
  height: auto;

  border-radius: 16px;
  border: 2px solid var(--cas-silver-border, rgba(255,255,255,0.30));
  background: #05070a;
  box-shadow: 0 16px 36px rgba(0,0,0,0.55);

  cursor: zoom-in;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.services-page .how-we-work-media .services-process-thumb:hover{
  transform: scale(1.02);
  filter: brightness(1.02);
}

/* Caption styling (reuses your class name) */
.services-page .how-we-work-media .svc-process-caption{
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.9;
}

/* Mobile: let it be full width */
@media (max-width: 900px){
  .services-page .how-we-work-media .services-process-thumb{
    width: min(100%, 720px);
  }
}

/* Zoomed view: allow bigger than your old 1100px cap */
.svc-lightbox-content{
  max-width: min(1400px, 96vw);
}

/* FIX: hero buttons not clickable (force hero art/overlays to ignore clicks) */
.hero.hero--full { position: relative; }

.hero.hero--full .hero-inner {
  position: relative;
  z-index: 10;
}

.hero.hero--full .hero-inner a,
.hero.hero--full .hero-inner .btn {
  position: relative;
  z-index: 11;
  pointer-events: auto;
}

.hero.hero--full .hero-art,
.hero.hero--full .hero-art * {
  pointer-events: none !important;
}

/* if you have any hero overlay layers (gradients, masks), ensure they don't steal clicks */
.hero.hero--full::before,
.hero.hero--full::after {
  pointer-events: none !important;
}

/* SEO/H1 cleanup: support hero sub-lines as real subtitles outside the H1. */
.hero.hero--full.hero--main > .hero-inner > .h1-sub,
.hero.hero--full.hero--main .hero-inner > h1 + .h1-sub {
  display: block !important;
  max-width: 860px !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(18px, 2vw, 25px) !important;
  line-height: 1.28 !important;
  font-weight: 650 !important;
  text-align: center !important;
}

.hero.hero--full.hero--main .hero-inner > h1 + .h1-sub + .hero-main__sub {
  margin-top: 18px !important;
}

@media (max-width: 760px){
  .hero.hero--full.hero--main > .hero-inner > .h1-sub,
  .hero.hero--full.hero--main .hero-inner > h1 + .h1-sub {
    max-width: 100% !important;
    margin-top: 10px !important;
    font-size: clamp(17px, 5vw, 20px) !important;
    line-height: 1.32 !important;
  }
}

/* =========================================================
   SERVICE DETAIL QUICK LINKS CARDS — METALLIC SILVER STYLE
   ========================================================= */

.service-detail-page .service-aside-stack .svc-segment-card{
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 330px;
  padding: 38px 40px 42px;
  border-radius: 38px;
  border: 3px solid rgba(180,180,180,0.86);
  background:
    radial-gradient(
      780px 480px at 76% 18%,
      rgba(255,255,255,0.88) 0%,
      rgba(238,238,236,0.62) 20%,
      rgba(194,194,190,0.34) 37%,
      transparent 58%
    ),
    radial-gradient(
      520px 420px at 42% 44%,
      rgba(255,255,255,0.34) 0%,
      rgba(190,190,186,0.22) 38%,
      transparent 68%
    ),
    linear-gradient(
      115deg,
      #4a4a47 0%,
      #6f6f69 28%,
      #a5a5a0 52%,
      #8f8f89 74%,
      #686862 100%
    );
  box-shadow: none;
}

.service-detail-page .service-aside-stack .svc-segment-card::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      105deg,
      rgba(255,255,255,0.12) 0%,
      transparent 30%,
      rgba(255,255,255,0.34) 58%,
      transparent 76%
    );
  opacity: 0.72;
}

.service-detail-page .service-aside-stack .svc-segment-card > *{
  position: relative;
  z-index: 1;
}

.service-detail-page .service-aside-stack .svc-segment-card h3{
  margin: 0 0 28px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(1.55rem, 1.75vw, 1.95rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points{
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points li{
  margin: 0 0 26px;
  padding-left: 8px;
  color: #ffffff;
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.55vw, 1.7rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.022em;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points li:last-child{
  margin-bottom: 0;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points li::marker{
  color: #ffffff;
  font-size: 0.78em;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points li::before{
  content: none;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points a,
.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points a:visited{
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.88);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points a:hover,
.service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points a:focus-visible{
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* =========================================================
   SERVICE DETAIL PAGES — MEDIA GUIDE BODY REBUILD
   Add after existing service-page styles.
   Scope: service detail pages only, excluding resource guide pages.
   ========================================================= */

body.service-detail-page:not(.cas-resource-blancco-page){
  background: #000000;
  color: #ffffff;
}

body.service-detail-page:not(.cas-resource-blancco-page) .content-shell{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

body.service-detail-page:not(.cas-resource-blancco-page) .content-inner{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-container{
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-guide-body{
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000000;
  color: #ffffff;
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(58px, 6vw, 92px) 0 clamp(58px, 6vw, 92px);
  background: #000000;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row{
  display: grid;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 47%) minmax(0, 43%);
  column-gap: 10%;
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row:not(:last-child){
  margin-bottom: clamp(76px, 7.2vw, 112px);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row[data-alignment="right"] .cas-service-alt__image{
  order: 2;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row[data-alignment="right"] .cas-service-alt__copy{
  order: 1;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame{
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame::before{
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.035),
    0 24px 68px rgba(255,255,255,0.035),
    0 30px 70px rgba(0,0,0,0.72);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame img{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 810 / 540;
  object-fit: cover;
  object-position: center center;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__copy{
  align-self: start;
  padding-top: 0;
  margin-top: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__copy h2{
  margin: 0 0 22px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(2rem, 2.55vw, 3rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__copy p{
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: clamp(1rem, 1.06vw, 1.14rem);
  font-weight: 500;
  line-height: 1.66;
  letter-spacing: -0.012em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits{
  padding: clamp(18px, 2vw, 28px) 0 clamp(56px, 6vw, 92px);
  background: #000000;
  color: #ffffff;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__grid{
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__intro h2{
  margin: 0 0 16px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 3.55rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.052em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__intro p{
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 550;
  line-height: 1.55;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__box{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefit{
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-check{
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: transparent;
  background: #4EA72E;
  border: 0;
  border-radius: 999px;
  font-size: 0;
  line-height: 1;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-check::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 8px;
  border-left: 3px solid #000000;
  border-bottom: 3px solid #000000;
  transform: translate(-50%, -58%) rotate(-45deg);
  transform-origin: center;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefit h3{
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefit p{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 520;
  line-height: 1.5;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-below{
  padding: clamp(10px, 1.6vw, 26px) 0 clamp(54px, 6vw, 90px);
  background: #000000;
  color: #ffffff;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type{
  margin: 0;
  padding: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type h2{
  margin: 0 0 24px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.15vw, 3.45rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.048em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type p,
body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-confirm-list li{
  color: rgba(255,255,255,0.84);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: clamp(1rem, 1.06vw, 1.15rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: -0.012em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type p{
  width: min(100%, 1440px);
  margin: 0 0 18px;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-reference-card{
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: 100%;
  margin: 34px auto 46px;
  padding: 42px 32px;
  background: #171713;
  border: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-reference-card img{
  display: block;
  width: 96px;
  height: 96px;
  padding: 0;
  object-fit: contain;
  object-position: center center;
  background: #000000;
  border: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-reference-card h3{
  margin: 0 0 6px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-reference-card p{
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: -0.012em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-separator{
  width: 100%;
  height: 1px;
  margin: clamp(44px, 5vw, 70px) 0;
  border: 0;
  background: rgba(255,255,255,0.24);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-separator--vendor{
  margin-top: clamp(48px, 5vw, 76px);
  margin-bottom: 38px;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type--1b{
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 46px) 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-square-visual{
  margin: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-square-visual img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.18);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type--1b p{
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.3vw, 1.36rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.018em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type__intro{
  max-width: 980px;
  margin-bottom: 34px !important;
  color: rgba(255,255,255,0.88) !important;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
  margin-top: 30px;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method{
  padding: clamp(24px, 2.4vw, 34px);
  background: #050505;
  border: 1px solid rgba(255,255,255,0.18);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method h3{
  margin: 0 0 14px;
  color: #ffffff;
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-size: clamp(1.45rem, 1.75vw, 2rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method p{
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  line-height: 1.62;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type--2b{
  margin-top: clamp(46px, 5vw, 72px);
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-diagram{
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-diagram img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 26px;
  box-shadow: none;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-diagram figcaption{
  width: 100%;
  margin: 13px 0 0;
  padding: 0;
  color: rgba(255,255,255,0.86);
  font-family: "Red Hat Text", "Red Hat Display", system-ui, sans-serif;
  font-size: calc(0.88rem + 2px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: left;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-confirm-list{
  box-sizing: border-box;
  width: min(100%, 1440px);
  margin: 22px 0 26px;
  padding-left: 24px;
  list-style: disc;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-confirm-list li{
  position: static;
  margin-bottom: 10px;
  padding-left: 0;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-confirm-list li::before{
  content: none !important;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-confirm-list li::marker{
  color: rgba(255,255,255,0.92);
  font-size: 0.86em;
}

body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-guide-body + .cas-process-band{
  width: calc(100% - 48px);
  max-width: 1440px;
  margin: 0 auto clamp(50px, 5vw, 74px);
}

body.service-detail-page:not(.cas-resource-blancco-page) .section.faq{
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1040px){
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-container,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-guide-body + .cas-process-band,
  body.service-detail-page:not(.cas-resource-blancco-page) .section.faq{
    width: calc(100% - 36px);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__grid,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type--1b{
    grid-template-columns: 1fr;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row{
    row-gap: 26px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row[data-alignment="right"] .cas-service-alt__image,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row[data-alignment="right"] .cas-service-alt__copy{
    order: initial;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__box,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px){
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-container,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-guide-body + .cas-process-band,
  body.service-detail-page:not(.cas-resource-blancco-page) .section.faq{
    width: calc(100% - 28px);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__row:not(:last-child){
    margin-bottom: 58px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame::before,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame img{
    border-radius: 18px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-reference-card{
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-reference-card img{
    width: 90px;
    height: 90px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-type h2{
    font-size: clamp(2rem, 10vw, 2.85rem);
  }
}

/* =========================================================
   PHASE 10 — SERVICE DETAIL PAGES RESPONSIVE ADDITIONS
   Adds small phone behavior (320-520px) and intermediate widths.
   Only ADDS new rules — no existing rules modified.
   ========================================================= */

/* ---- Overflow safety ---- */

.service-detail-page .content-shell,
.service-detail-page .cas-service-guide-body{
  overflow-x: clip;
}

/* ---- Service hero: very small phones (320-390px) ---- */

@media (max-width: 390px){
  .cas-service-hero{
    padding: 24px 14px 0;
  }

  .cas-service-hero__caption h1{
    font-size: clamp(1.75rem, 8.5vw, 2.1rem);
  }

  .cas-service-hero__card{
    margin-top: 22px;
  }

  .cas-service-hero__contact-row{
    gap: 14px;
    padding: 20px 16px 22px;
  }

  .cas-service-hero__phone{
    font-size: clamp(1.2rem, 6.5vw, 1.42rem);
  }

  .cas-service-hero__phone-icon{
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .cas-service-hero__quote{
    min-height: 48px;
    font-size: 16px;
    padding: 0 18px;
  }

  .cas-service-overview-band__inner{
    width: calc(100% - 20px);
  }

  .cas-service-overview-band h2{
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .cas-service-overview-band p{
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  }
}

/* ---- Process band: small phone card sizing ---- */

@media (max-width: 390px){
  .service-detail-page .cas-process-panel{
    padding: 24px 16px 22px;
    border-radius: 22px;
  }

  .service-detail-page .cas-process-title{
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .service-detail-page .cas-process-steps{
    gap: 20px;
  }

  .service-detail-page .cas-process-marker{
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .service-detail-page .cas-process-card{
    max-width: 280px;
  }

  .service-detail-page .cas-process-face{
    padding: clamp(12px, 3.5vw, 18px);
    border-width: 3px;
    border-radius: 14px;
  }

  .service-detail-page .cas-process-arrow{
    width: 40px;
    height: 40px;
  }

  .service-detail-page .cas-process-arrow svg{
    width: 18px;
    height: 18px;
  }
}

/* ---- About This Service sidebar: small phone ---- */

@media (max-width: 520px){
  .service-detail-page .svc-segment-copy h2{
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .service-detail-page .svc-segment-copy p{
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  }

  .service-detail-page .svc-segment-subheading{
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .service-detail-page .svc-home-offer-points li{
    font-size: clamp(0.88rem, 3.8vw, 1rem);
  }
}

/* ---- Metallic sidebar cards: small phone ---- */

@media (max-width: 520px){
  .service-detail-page .service-aside-stack .svc-segment-card{
    min-height: 240px;
    padding: 28px 24px 30px;
    border-radius: 28px;
  }

  .service-detail-page .service-aside-stack .svc-segment-card h3{
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
    margin-bottom: 20px;
  }

  .service-detail-page .service-aside-stack .svc-segment-card .svc-home-offer-points li{
    font-size: clamp(1rem, 4.5vw, 1.35rem);
    margin-bottom: 18px;
  }
}

/* ---- Service alt rows (guide body): small phones ---- */

@media (max-width: 520px){
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-container{
    width: calc(100% - 24px);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-alt__copy h2{
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame::before,
  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-image-frame img{
    border-radius: 16px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefits__intro h2{
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefit{
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 18px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-check{
    width: 32px;
    height: 32px;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-benefit h3{
    font-size: 1.05rem;
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method{
    padding: clamp(18px, 5vw, 24px);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-method h3{
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  body.service-detail-page:not(.cas-resource-blancco-page) .cas-service-separator{
    margin: clamp(28px, 7vw, 44px) 0;
  }
}

/* ---- FAQ section: small phone refinement ---- */

@media (max-width: 520px){
  .faq .svc-segment-layout{
    gap: 14px;
  }

  details.faq-item > summary{
    font-size: 14px;
    padding: 12px 14px 12px 12px;
    min-height: 54px;
  }

  details.faq-item > .faq-answer{
    padding: 12px 14px 14px 38px;
    font-size: 13px;
  }
}

/* ---- Services overview tab layout: small phone ---- */

@media (max-width: 520px){
  .services-layout{
    grid-template-columns: 1fr;
  }

  .services-nav{
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .services-tab{
    flex: 1 1 46%;
    text-align: center;
    font-size: 15px;
    padding: 8px 4px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .services-tab.active{
    border-left-color: transparent;
    border-bottom-color: var(--blue);
  }

  .services-panels{
    border-left: none;
    padding: 14px 12px;
  }

  .svc-home-title{
    font-size: clamp(1.15rem, 5.5vw, 1.4rem);
  }

  .svc-home-offer{
    padding: 12px 14px 14px;
  }

  .svc-home-offer-title{
    font-size: 0.95rem;
  }

  .svc-step-card{
    padding: 10px 12px;
  }

  .svc-section-title{
    font-size: clamp(1.15rem, 5.5vw, 1.5rem);
  }
}

/* =========================================================
   SERVICE DETAIL — MOBILE HERO & CONTENT REFINEMENTS
   (migrated from mobile_overrides.css)
   ========================================================= */

@media (max-width: 860px){
  .hero--service .service-hero-lead{
    font-size: clamp(15px, 3.9vw, 16.8px);
    line-height: 1.55;
  }
}

@media (max-width: 720px){
  .hero--service .hero-btn{
    font-size: 15px;
    padding: 12px 16px;
    min-height: 46px;
    border-radius: 999px;
    white-space: nowrap;
    width: auto;
    flex: 0 0 auto;
    align-self: flex-start;
  }

  .hero--service .service-hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .hero--service .service-hero-actions .btn{
    width: auto;
    flex: 0 0 auto;
    align-self: flex-start;
    justify-content: center;
    margin: 0;
  }
}

@media (max-width: 520px){
  .hero--service .service-hero-actions{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Service detail page separators and bullets */
body.service-detail-page .svc-segment-copy .svc-segment-subheading{
  margin: 26px 0 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.service-detail-page .service-type-group + .service-type-group{
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.service-detail-page .svc-segment-copy p + .svc-home-offer-points{
  margin-top: 10px;
}

body.service-detail-page .svc-segment-copy .svc-home-offer-points + .svc-segment-subheading{
  margin-top: 24px;
}

body.service-detail-page .svc-home-offer-points{
  display: block;
  margin: 8px 0 0;
  padding-left: 18px;
}

body.service-detail-page .svc-home-offer-points li{
  margin: 5px 0;
  padding-left: 2px;
  line-height: 1.55;
}

body.service-detail-page .svc-home-offer-points li::marker{
  color: rgba(255,255,255,0.90);
}

body.service-detail-page .service-feature-list{
  margin-top: 6px;
}

body.service-detail-page .service-feature-list li{
  margin: 4px 0;
  line-height: 1.5;
}

@media (max-width: 720px){
  body.service-detail-page .svc-segment-copy .svc-segment-subheading{
    margin: 22px 0 9px;
    padding-top: 12px;
  }

  body.service-detail-page .service-type-group + .service-type-group{
    margin-top: 18px;
    padding-top: 18px;
  }

  body.service-detail-page .svc-home-offer-points{
    margin-top: 7px;
    padding-left: 17px;
  }

  body.service-detail-page .svc-home-offer-points li{
    margin: 4px 0;
    line-height: 1.52;
  }
}

@media (max-width: 860px){
  .svc-segment-card.service-cta-card > .btn:first-of-type{
    margin-top: 12px;
  }
}

