   
 .vid-cap{   position: absolute;
    width: 100%;
    border-radius: 16px;
    height: 100%;
    background: #114A9F99;} 

   
 .mr-stats-flex {
            gap: 36px;
        }
 
 
     
    .mr-hero .hero-inner { 
    padding-block: clamp(70px, 9vw, 110px);
}

.banner-sub { 
    max-width: 63ch;  
    margin-top: 16px;
    color:var(--gray)
}
@media (max-width: 991.98px) {
    
 .mr-stats-flex {
            gap: 18px;
        }
    .mr-hero .hero-inner {
        max-width: none;
        padding-block: 40px;
    }
    .banner-sub { 
    max-width: 40ch;   
    }
}
@media (max-width: 767.98px) {
    .mr-hero .hero-inner {
        padding-block: 40px 20px;
    }
  }
@media (max-width: 575.98px) {
    .mr-hero .hero-inner {
        padding-block: 40px 10px;
    }
}
.mr-hero .hero-title {
    font-size: clamp(28px, 4.1vw, 52px); 
    margin-top: 26px !important;
    margin-bottom: 16px !important;
} 
 

 /* Scoped to .av-overview. Move to your page CSS file if preferred. */
  .av-overview .av-card,
  .av-overview .av-img {
    height: 100%;
    min-height: 300px;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
  }
 
  .av-overview .av-card {
    background: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px; 
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  }
 
  .av-overview .av-card:hover {
    transform: translateY(-4px); 
    box-shadow: 0 16px 40px -16px rgba(17, 74, 159, .16);
  }
 
  .av-overview .av-icon {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #F8F9FD;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
  }
 
  .av-overview .av-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1;
  }
 
  .av-overview .av-title { 
    color: var(--primary);
    margin-bottom: 16px;
  }

  .av-overview .av-text { 
    color: var(--gray);
    margin-bottom: 0;
  }
 
  .av-overview .av-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }
 
  @media (max-width: 991.98px) {
     .av-overview .av-icon svg {
    width: 26px;
    height: 26px; 
  }
    .av-overview .av-card,
    .av-overview .av-img {
      min-height: 260px;
    }
  }
  .gap-grid {--bs-gutter-y: 30px;
        --bs-gutter-x: 30px;}
    @media (max-width: 1200px) {
    .gap-grid {--bs-gutter-y: 15px;
        --bs-gutter-x: 15px;}
  }


/* ---------- Authorised partners ---------- */
.pt-head .h2-display { letter-spacing: -0.01em; }

.pt-brand {
    margin-top: clamp(24px, 2.6vw, 36px);
    padding: 24px 0 24px 24px;
    border-left: 2px solid var(--primary);
}

.pt-brand img {
    display: block;
    height: 32px;
    width: auto;
}

.pt-brand p {
    margin: 16px 0 16px;
    line-height: 1.45;
    color: var(--gray);
}

/* Cards: 2 columns, rows stretch to equal height */
.pt-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: clamp(32px, 4.4vw, 66px);
}

.pt-card {
    padding: 24px;
    border: 1px solid #d3d3d3;
    border-radius: 16px;
    background: #fff;
}

.pt-card-title {
    margin: 0;
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.4;
    font-weight: 400;
    color: var(--primary);
}

.pt-logos {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    align-items: center;
    gap: 28px 16px;
    margin-top: clamp(12px, 2.5vw, 42px);
}

.pt-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}

.pt-logo img {
    max-width: 100%; 
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Certifications */
.pt-certs {
    margin-top: clamp(30px, 4.6vw, 66px);
    padding-top: clamp(30px, 4.4vw, 66px);
    border-top: 1px solid #D5D5D5;
}

.pt-certs-title {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 32px);
    line-height: 1.3;
    font-weight: 400;
    color: var(--primary);
}

.pt-certs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 24px 16px;
    margin-top: clamp(24px, 3vw, 40px);
}

.pt-cert {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.pt-cert img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1399.98px) {
    .pt-brand p { font-size: 16px; }
    .pt-logo img { max-height: 64px; }
}

/* Tablet: cards stack, logos 3 per row */
@media (max-width: 991.98px) {

    .pt-brand { padding: 16px 0 16px 24px; }
    .pt-groups { grid-template-columns: 1fr; gap: 20px; }
    .pt-logos { grid-template-columns: repeat(3, 1fr); }
    .pt-certs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 575.98px) {
    .pt-brand { padding: 16px; }
    .pt-card { padding: 20px; }
    .pt-logos { grid-template-columns: repeat(3, 1fr); gap:3px 12px; }
    .pt-logo { height: 46px; }
    .pt-logo img { max-height: 34px; } 
    .pt-cert { 
    height: 50px;
}
.pt-cert img { 
    max-height: 64px; 
}
}
  
  /* ---------- Services grid ---------- */
  .sv-head .h2-display { letter-spacing: -0.01em; }
 
  .sv-lead { 
    line-height: 1.6;
    color: var(--gray);
  }
 
  /* ---------- Tab buttons ---------- */
  .sv-tabs-wrap { 
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sv-tabs-wrap::-webkit-scrollbar { display: none; }
 
  .sv-tabs {
    display: flex; 
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
    border: 0; 
  }
 
  .sv-tab {
    white-space: nowrap;
    background: transparent;
    color: var(--gray);
    border: 1px solid #D5DEEC;
    border-radius: 100px;
    padding: 16px 32px; 
    transition: background .25s, color .25s, border-color .25s;
  }
 
  .sv-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
 
  .sv-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
  }
 /* ---------- Accordion list ---------- */
.sv-acc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.sv-acc {
  border: 1px solid #E3E8F2;
  border-radius: 20px;
  background: linear-gradient(180deg, #F8F9FD 0%, #F1F4FB 100%);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.sv-acc.is-open {
  background: #fff;
  border-color: #E6E8F0;
  box-shadow: 0 8px 30px rgba(17, 74, 159, .06);
}

.sv-acc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px;
  background: none;
  border: 0;
  border-radius: 20px;
  text-align: left;
  color: var(--primary);
  cursor: pointer;
}
.sv-acc-head:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

.sv-acc-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #F8F9FD;
  color: var(--primary);
}
.sv-acc-icon svg { width: 26px; height: 26px; stroke-width: 1; }

.sv-acc-title { flex: 1; margin: 0; color: var(--primary); }

.sv-acc-chev {
  flex: 0 0 auto;
  display: flex;
  color: var(--primary);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.sv-acc.is-open .sv-acc-chev { transform: rotate(180deg); }

/* height animation: grid rows 0fr -> 1fr (no fixed heights needed) */
.sv-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .45s;
}
.sv-acc.is-open .sv-acc-body {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1), visibility 0s;
}
.sv-acc-inner { overflow: hidden; min-height: 0; }

/* cards fade and rise in as the panel opens */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 16px 16px 24px;
}
.sv-card {
  display: block;
  color: inherit;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}
.sv-acc.is-open .sv-card { opacity: 1; transform: none; }
.sv-acc.is-open .sv-card:nth-child(1) { transition-delay: .10s; }
.sv-acc.is-open .sv-card:nth-child(2) { transition-delay: .17s; }
.sv-acc.is-open .sv-card:nth-child(3) { transition-delay: .24s; }
.sv-acc.is-open .sv-card:nth-child(4) { transition-delay: .31s; }

.sv-img {
  aspect-ratio: 348 / 270;
  overflow: hidden;
  background: #E8EDF5;
}
.sv-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.sv-card:hover .sv-img img { transform: scale(1.04); }

.sv-title {
  margin: 24px 0 16px;
  color: var(--primary);
}
.sv-text {
  margin: 0;
  line-height: 1.45;
  color: var(--gray);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .sv-tabs { gap: 12px; }
  .sv-tab  { padding: 14px 22px; }
  .sv-grid { gap: 24px; }
}
@media (max-width: 575.98px) {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-acc-icon { width: 46px; height: 46px; }
  .sv-acc-title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-acc, .sv-acc-body, .sv-acc-chev, .sv-card { transition: none; }
}


 
 
  /* tab bar */
  .sg-tabs {
    display: flex; 
    border-bottom: 1px solid #E3E3E3;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sg-tabs::-webkit-scrollbar { display: none; }
 
  .sg-tab {
    flex: 0 0 304px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;  
    color: var(--gray);
    white-space: nowrap;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
  }
  .sg-tab svg { width: 24px; height: 24px; stroke-width: 1; flex-shrink: 0; }
  .sg-tab:hover { color: var(--primary); }
  .sg-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
  .sg-tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: linear-gradient(180deg, #F8F9FD 0%, #DEEBFE 100%); 
  }
 
  /* panels */
  .sg-panel { display: none; padding-top: 24px; }
  .sg-panel.is-active { display: block; animation: sgFade .5s ease both; }
  @keyframes sgFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
 
  .sg-main {
    display: grid;
    grid-template-columns: minmax(0, 764px) minmax(0, 1fr);
    gap: 42px;
    align-items: stretch;
  }
 .sg-photo {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 20px;
  background: var(--s-tint);
  min-height: 320px;
}

/* toggle pill */
.sg-view-toggle {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px; 
  border: 1px solid #D5DEEC;
  border-radius: 100px;
  background: #fff;
}
.sg-view-btn {
  padding: 6px 16px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  font-size: 14px;
  line-height: 1.3;
  color: var(--gray);
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.sz-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--paragraph);
    align-items: center;
}
.sz-legend span {
    font-size: 14px;
    color: var(--paragraph);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.sz-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: -1px;
}
.sg-view-btn:hover { color: var(--primary); }
.sg-view-btn.is-active { background: var(--primary); color: #fff; }
.sg-view-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* stacked images, cross-fade */
.sg-views {
  position: relative;
  flex: 1;
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.sg-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-viewtop{
  opacity: 0;
  visibility: hidden;
  height: 0px; 
}
.sg-viewtop.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
  height: 100%;
}
 /* top-view plan */
.sg-plan { display: flex; align-items: center; justify-content: center; background: #F6F6F4; }
.sg-plan svg { width: 100%; height: 100%; display: block; }
.sg-plan svg [data-k] { transition: opacity .3s ease; }

/* spec card hover / focus state */
.sg-spec { cursor: default; transition: background .25s ease; }
.sg-spec:hover,
.sg-spec:focus-visible { background: #F8F9FD; outline: none; }
.sg-spec-icon { transition: background .25s ease, color .25s ease; }
.sg-spec:hover .sg-spec-icon,
.sg-spec:focus-visible .sg-spec-icon { background: var(--primary); color: #fff; }
 
  /* spec list */
  .sg-spec {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #D3D3D3;
    margin-bottom: 16px;
  } 
 
  .sg-spec-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--s-tint);
    color: var(--primary);
  }
  .sg-spec-icon svg { width: 24px; height: 24px; stroke-width: 1; }
  
   .sg-spec-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.223;
    font-weight: 600;
    color: var(--gray);
  }
  .sg-spec-text {
    margin: 0;  
    color: var(--gray);
  }
 
  .sg-fit {
    margin-top: 42px;
    padding-left: 16px;
    border-left: 2px solid var(--primary);
  }
  .sg-fit-label {
    margin: 0; 
    color: var(--gray);
  }
  .sg-fit-text {
    margin: 0;  
    color: var(--primary);
  }
 
  /* shared notes */
  .sg-notes { margin-top: 16px; row-gap: 20px; }
  .sg-note {
    height: 100%;
    padding: 16px;
    border-top: 1px solid #D3D3D3;
  }
  .sg-note-title {
    margin: 0 0 8px;
     
    color: var(--gray);
  }
  .sg-note-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: var(--graylte);
  }
 
  /* CTA bar */
  .sg-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 24px;
    border-radius: 20px;
    background: #F5F9FC;
  }
  .sg-cta-title {
    margin: 0 0 12px; 
    color: var(--primary);
  }
  .sg-cta-text { margin: 0;   color: var(--gray); }
 
  .sg-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 18px;
    line-height: 1.2;
  }
  .sg-btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
  .sg-btn:hover svg { transform: translateX(4px); }
 
  @media (max-width: 1199.98px) {
    .sg-main { grid-template-columns: minmax(0, 537px) minmax(0, 1fr); }
    .sg-tab { flex-basis: 240px; font-size: 16px; }
  }
 
  @media (max-width: 991.98px) { 
    .sg-spec{padding: 10px 0;}
    .sg-main { grid-template-columns: 1fr;gap: 22px; }
    .sg-photo { min-height: 0; }
.sg-views { flex: none; aspect-ratio: 16 / 11; min-height: 0; }
    .sg-tab { flex: 0 0 auto; padding: 14px 20px; }
    .sg-fit { margin-top: 28px; }
    .sg-cta { flex-direction: column; align-items: flex-start; }
  }
 

  @media (max-width: 767.98px) {
    .sg-tab { 
        padding: 14px;
         
    align-items: center; 
    border-radius: 16px;
    gap: 4px;     
    font-size: 13px !important;
    border: 1px solid #d3d3d3;
    }
.sg-tabs{
  flex-wrap: wrap;
  gap: 13px;
    padding-bottom: 21px;
}
.sg-tab.is-active { 
    border-color: var(--primary); 
}
.sg-tab svg {
    width: 20px;
    height: 20px;
     
} 

    .sg-spec{gap: 18px;}
    .sz-legend { 
    gap: 8px; 
    font-size: 13px; 
}
    .sz-legend span {
    font-size: 12px;}
    .sz-legend i {
    width: 8px;
    height: 8px; 
    margin-right: 3px;  }
  .sg-notes {   row-gap: 0px; }
  }
  @media (max-width: 575.98px) {
    .sg-spec-title, .sg-spec-text, .sg-fit-label, .sg-fit-text,
    .sg-note-title{ font-size: 16px; }
    .sg-btn { width: 100%; justify-content: center; }
  }
 
   @media (max-width: 452px) {
        .sg-tab { 
        gap: 9px;
        font-size: 14px !important; 
    }
    .sg-tab {  
    width: 46%; 
    }
  }
  @media (prefers-reduced-motion: reduce) {
  .sg-panel.is-active { animation: none; }
  .sg-view { transition: none; }
}

  /* ---------- AI in the room ---------- */
  .ai-section { background: #F8F9FD; }
 
  .ai-desc {
    max-width: 150ch;
    color: var(--gray);
    margin-bottom: 0;
  }
 
  .ai-grid { margin-top: clamp(4px, 1.5vw, 28px); }
 
  .ai-card {
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(25px, 5.5vw, 52px);
  }
 
  .ai-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 16px;
    background: #EEF5FF;
    color: var(--primary); 
    transition: background .25s ease, color .25s ease;
  }
 
  .ai-badge.is-platform {
    background: var(--primary);
    color: #fff;
  }
 
  .ai-title {
    margin: 0 0 16px;
     
    color: var(--primary);
  }
 
  .ai-text {
    margin: 0;
    max-width: 30ch;
    color: var(--graylte);
  }
 
  .ai-note {
    margin-top: clamp(20px, 3vw, 52px);
    padding-top: clamp(20px, 2.6vw, 24px);
    border-top: 1px solid #D3D3D3;
  }
 
  .ai-note p {
    margin: 0;
    max-width: 150ch;
    color: var(--gray);
  }
  .ai-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--primary);
}
.ai-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1;
}
 
  @media (max-width: 1199.98px) {
    .ai-card { padding: 16px 6px; gap: 28px; }
  }
 @media (max-width: 767.98px) {
    .ai-icon { 
    width: 48px;
    height: 48px; 
}
.ai-icon svg {
    width: 28px;
    height: 28px; 
}
  }
  @media (max-width: 575.98px) { 
    .ai-text { max-width: none; }
  }
  @media (min-width: 1600px) {
    .row-14{
        row-gap: 14px !important;
    }
  }
/* ---------- AV challenges: problem / solution ---------- */
  .avc-lead {
    margin: 0;
    padding-bottom: clamp(16px, 2vw, 24px);
    border-bottom: 1px solid #D3D3D3;
    color: var(--gray);
  }
 
  .avc-table { 
    border: 1px solid #D3D3D3;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
  }
 
  .avc-head,
  .avc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
 
  .avc-head-cell {
    padding: 10px 16px;
    text-align: center;
    font-size: 16px;
    line-height: 1.625;
  }
  .avc-head-cell.is-problem  { background: #FDD2D2; color: #DD0505; }
  .avc-head-cell.is-solution { background: #F2FFE9; color: #007D1F; }
 
  .avc-cell {
    padding: 16px; 
  }
  .avc-cell.is-problem  { border-right: 1px solid #D3D3D3; }
 .avc-row .avc-cell .avc-result{padding-bottom: 24px;} 
  .avc-row:last-child .avc-cell .avc-result{padding-bottom: 0;}
 
  .avc-title {
    margin: 0 0 16px; 
    color: var(--gray);
  }
 
  .avc-text {
    margin: 0 0 16px;
    color: var(--graylte);
  }
 
  .avc-result {
    margin: 0;
    font-weight: 400;
  }
  .avc-cell.is-problem  .avc-result { color: #DD0505; }
  .avc-cell.is-solution .avc-result { color: #007D1F; }
 
  /* small tag shown only when columns stack on mobile */
  .avc-tag {
    display: none;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 14px;
    line-height: 1.4;
  }
  .avc-cell.is-problem  .avc-tag { background: #FFD1D1; color: #DD0505; }
  .avc-cell.is-solution .avc-tag { background: #F1FFE8; color: #007D1F; }
 
  @media (max-width: 767.98px) {
    .avc-head { display: none; }
    .avc-row { grid-template-columns: 1fr; }
    .avc-cell.is-problem { border-right: 0; padding-bottom: 8px; }
    .avc-row + .avc-row .avc-cell.is-problem { padding-top: 24px; border-top: 1px solid #D3D3D3; }
    .avc-cell.is-solution { padding-top: 12px; }
    .avc-row + .avc-row .avc-cell.is-solution { padding-top: 12px; }
    .avc-tag { display: inline-block; }
  }

    /* ---------- Why GS IT (AV) ---------- */
  .wg-lead { margin: 0; color: var(--gray); }
 
  .wg-grid {
    display: grid;
    grid-template-columns: 531fr 303fr 303fr 303fr;
    gap: 24px; 
  }
 
  /* featured blue card */
  .wg-feat {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
  }
 
  .wg-feat-title {
    margin: 0 0 16px; 
    color: #fff;
  }
 
  .wg-feat-text {
    margin: 0 0 clamp(20px, 2.4vw, 24px);
    color: #fff;
  }
 
  .wg-list {
    margin: auto 0 0;
    padding: 0;
    list-style: none;
  }
 
  .wg-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16.5px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, .85);
    color: #fff;
    line-height: 1.223 !important;
    margin-bottom: 16px;
  }
  .wg-list li:last-child { border-bottom: 0; padding-bottom: 0; }
  /* .wg-list li:first-child { padding-top: 0; } */
  .wg-list .wg-tag { flex-shrink: 0; text-align: right; }
 
  /* light benefit cards */
  .wg-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 103px;
    min-height: 100%;
    padding: 24px;
    border-radius: 16px;
    background: #FAFAFA;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  }
  .wg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -16px rgba(17, 74, 159, .16);
  }
 
  .wg-card-title {
    margin: 0; 
    color: var(--gray);
  }
 .wg-grid .wg-card:last-child {
    grid-column: span 2;
}
  .wg-card-text { margin: 0; color: var(--graylte); }
 
  @media (max-width: 1199.98px) {
    .wg-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .wg-feat { grid-column: 1 / -1; grid-row: auto; }
    .wg-list { margin-top: 0; }
  }
 
  @media (max-width: 767.98px) {
    .wg-grid { grid-template-columns: repeat(2, 1fr); }
  }
 
  @media (max-width: 575.98px) {
    .wg-card {
     grid-column: 1 / -1; 
      grid-row: auto; 
    }
    .wg-grid { grid-template-columns: 1fr; }
    .wg-card { gap: 24px; }
    .wg-list li { padding: 16px 0; }
  }

 
    /* ---------- How we work ---------- */
  .hw-lead { margin: 0; color: var(--gray); }
 
  .hw-grid {
    display: grid;
    grid-template-columns: minmax(0, 515fr) minmax(0, 963fr);
    gap: 42px;
    align-items: start; 
  }
 
  /* ----- left: step list ----- */
  .hw-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 0 16px;
    border: 0;
    border-bottom: 1px solid #D3D3D3;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: border-color .3s ease;
  }
  .hw-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
 
  .hw-num {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E3E9F3;
    border-radius: 8px;
    background: #F8F9FD;
    color: var(--primary);
    font-size: 16px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
  }
 
  .hw-tab-title {
    display: block;  
    color: var(--gray);
    transition: color .3s ease;
  }
 
  .hw-tab-sub {
    display: none;  
    color: var(--primary);
  }
 
  .hw-tab:hover .hw-tab-title { color: var(--primary); }
 
  .hw-tab.is-active { border-bottom-color: var(--primary); }
  .hw-tab.is-active .hw-num { background: var(--primary); border-color: var(--primary); color: #fff; }
  .hw-tab.is-active .hw-tab-title { color: var(--primary); }
  .hw-tab.is-active .hw-tab-sub { display: block; }
 
   
 
  /* ----- right: detail panel ----- */
  .hw-panel {
    display: none;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    min-height: 100%;
  }
  .hw-panels{height: 100%;}
  .hw-panel.is-active { display: block; animation: hwFade .45s ease both; }
  @keyframes hwFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }
 
  .hw-progress { display: flex; gap: 2px; margin-bottom: 24px; }
  .hw-progress span {
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: #D9D9D9;
    transition: width .5s var(--ease), background-color .5s ease;
  }
  .hw-progress span.is-on { width: 36px; background: var(--primary); }
 
  /* Each panel is hidden/shown with display, so a plain transition would not
     run. This animation replays every time a panel becomes active. */
  .hw-panel.is-active .hw-progress span.is-on {
    animation: hwDash .6s var(--ease) both;
  }
  @keyframes hwDash {
    from { width: 16px; background-color: #D9D9D9; }
    to   { width: 36px; background-color: var(--primary); }
  }
 
  .hw-panel-title {
    margin: 0 0 8px; 
    color: var(--primary);
  }
 
  .hw-panel-desc {
    margin: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #D3D3D3;
    color: var(--graylte);
  }
 
  .hw-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #D3D3D3;
  }
 
  .hw-meta-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #F4F7FB;
    color: var(--primary);
  }
  .hw-meta-icon svg { width: 20px; height: 20px; stroke-width: 1; }
 
  .hw-meta-label { margin: 0 0 8px; font-size: 16px; line-height: 1.625; color: var(--gray); }
  .hw-meta-value { margin: 0; color: var(--graylte); }
 
  .hw-happens-title {
    margin: 24px 0 16px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--gray);
  }
 
  .hw-checks { margin: 0; padding: 0; list-style: none; }
  .hw-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--graylte);
  }
  .hw-checks li:last-child {
    margin-bottom: 0;
  }
  .hw-checks svg { flex: 0 0 22px; width: 22px; height: 22px; }
 
  /* ----- after handover ----- */
  .hw-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(30px, 4vw, 52px);
    padding: 24px;
    border-radius: 16px;
    background: #fff;
  }
  .hw-after-title {
    margin: 0 0 12px;  
    color: var(--primary);
  }
  .hw-after-lead { margin: 0; font-weight: 600; color: var(--gray); }
  .hw-after-text { margin: 0; color: var(--gray); }
 
  .hw-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 18px;
    line-height: 1.2;
  }
  .hw-btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
  .hw-btn:hover svg { transform: translateX(4px); }
 
  @media (max-width: 1199.98px) {
    .hw-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
    .hw-meta { grid-template-columns: 1fr; gap: 20px; }
  }
 
  @media (max-width: 991.98px) {
    .hw-grid { grid-template-columns: 1fr; gap: 20px; }
    .hw-tab:not(.is-active) { padding-block: 16px; }
    .hw-meta { grid-template-columns: repeat(3, 1fr); }
    .hw-after { flex-direction: column; align-items: flex-start; }
  }
 
  @media (max-width: 767.98px) {
    .hw-meta { grid-template-columns: 1fr; }
  }
 
  @media (max-width: 575.98px) {
    .hw-panel { padding: 16px; }
    .hw-btn { width: 100%; justify-content: center; }
  }
 
  @media (prefers-reduced-motion: reduce) {
    .hw-panel.is-active { animation: none; }
    .hw-panel.is-active .hw-progress span.is-on { animation: none; }
    .hw-progress span { transition: none; }
  }
  /* ---------- How we work: mobile accordion ---------- */
.hw-chev { display: none; }

@media (max-width: 991.98px) {
  .hw-panel.is-active{margin-top: 18px !important;}
  .hw-grid.is-acc .hw-panels { display: none; }

  .hw-grid.is-acc .hw-tab-text { flex: 1; min-width: 0; }

  .hw-grid.is-acc .hw-chev {
    display: flex;
    flex: 0 0 auto;
    color: var(--primary);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  }
  .hw-grid.is-acc .hw-tab.is-active .hw-chev { transform: rotate(180deg); }

  .hw-grid.is-acc .hw-panel {
    min-height: 0;
    margin: 0 0 12px;
  }
  .hw-grid.is-acc .hw-panel .hw-panel-title { display: none; } /* the step button already shows the title */
  .hw-grid.is-acc .hw-progress { display: none; }
}
/* ---------- Related services cards: smooth hover ---------- */
.rs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 268px;
  padding: 24px;
  background: #fff;
  border: 1px solid transparent;          /* always present, so no layout shift */
  border-radius: 14px;
  color: inherit;
  transition:
    border-color .45s var(--ease),
    box-shadow .45s var(--ease),
    transform .45s var(--ease);
  will-change: transform;
}

.rs-card:hover,
.rs-card:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 16px 40px -16px rgba(17, 74, 159, .28);
  transform: translateY(-4px);
}

/* Arrow box */
.rs-arrow {
  position: relative;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--s-tint);
  color: var(--primary);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease);
}

/* Gradient layer fades in instead of snapping */
.rs-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #114A9F 0%, #032C69 100%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.rs-arrow svg,
.rs-arrow i {
  width: 32px;
  height: 32px;
  stroke-width: 1;
  transition: transform .45s var(--ease);
}

.rs-card:hover .rs-arrow,
.rs-card:focus-visible .rs-arrow { color: #fff; }

.rs-card:hover .rs-arrow::before,
.rs-card:focus-visible .rs-arrow::before { opacity: 1; }

.rs-card:hover .rs-arrow svg,
.rs-card:hover .rs-arrow i { transform: translate(2px, -2px); }

.rs-title { color: var(--primary); margin: 0 0 16px; }
.rs-text  { color: #6B7280;    margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .rs-card, .rs-arrow, .rs-arrow::before, .rs-arrow svg { transition: none; }
  .rs-card:hover { transform: none; }
}