/* ============================================================================
   SERVICES V2 — AtlasGroup-style services page, built on the houzzhunt
   corporate design system (corporate.css tokens + the deep-green / mint
   palette used across home-v2.css). Every class is namespaced .svcx-* so it
   cannot collide with legacy or homepage styles.
   ============================================================================ */

.svcx-page {
    --sv-deep: #0b5159;
    --sv-deep-2: #09747f;
    --sv-mint: #d3efe9;
    --sv-mint-soft: #ecf6f4;
    --sv-line: #e6eaec;
    --sv-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------------------
   Shared primitives
   ---------------------------------------------------------------------------- */
.svcx-sec {
    padding: clamp(56px, 7vw, 100px) 0;
}

/* Uniform section rhythm — client request: every section gets 30px top/bottom.
   Hero is intentionally excluded (full-bleed banner whose large top padding
   clears the transparent overlay navbar). */
.svcx-page .svcx-purpose,
.svcx-page .svcx-services,
.svcx-page .svcx-why,
.svcx-page .svcx-process,
.svcx-page .svcx-stats,
.svcx-page .svcx-tst,
.svcx-page .svcx-cta {
    padding: 50px 0 !important;
}

.svcx-head--center {
    max-width: 720px;
    margin: 0 auto clamp(36px, 4.5vw, 60px);
    text-align: center;
}

/* beat corporate.css [class*="title"]/h2 { color:#222 !important } */
.svcx-page .svcx-h2 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: normal;
    letter-spacing: -0.5px;
    margin: 18px 0 0;
}

.svcx-page .svcx-h2--light,
.svcx-page .svcx-h2--light * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.svcx-sub {
    color: var(--c-body);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.7;
    margin: 16px 0 0;
}

.svcx-sub--light {
    color: rgba(255, 255, 255, 0.82);
}

/* pills / eyebrows */
.svcx-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.svcx-pill--deep {
    background: var(--sv-deep);
    color: #fff;
}

.svcx-pill--mint {
    background: var(--sv-mint);
    color: var(--sv-deep-2);
}

.svcx-pill--dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

/* buttons */
.svcx-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.25s var(--sv-ease), color 0.25s var(--sv-ease),
        transform 0.25s var(--sv-ease), box-shadow 0.25s var(--sv-ease);
}

.svcx-btn:hover {
    transform: translateY(-2px);
}

.svcx-btn svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.svcx-btn--deep {
    background: var(--sv-deep);
    color: #fff;
}

.svcx-btn--deep:hover {
    background: var(--sv-deep-2);
    color: #fff;
    box-shadow: 0 14px 28px rgba(11, 70, 76, 0.28);
}

.svcx-btn--mint {
    background: var(--sv-mint);
    color: var(--sv-deep-2);
}

.svcx-btn--mint:hover {
    background: #b9e6df;
    color: var(--sv-deep-2);
}

.svcx-btn--white {
    background: #fff;
    color: var(--sv-deep-2);
}

.svcx-btn--white:hover {
    background: var(--sv-mint-soft);
    color: var(--sv-deep-2);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

/* check list */
.svcx-check {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.svcx-check li {
    position: relative;
    padding-left: 34px;
    line-height: 1.5;
    font-size: 15.5px;
}

.svcx-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sv-mint);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e4034' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.svcx-check--dark li {
    color: var(--c-body);
}

/* ----------------------------------------------------------------------------
   1. HERO
   ---------------------------------------------------------------------------- */
.svcx-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(520px, 60vw, 700px);
    padding: clamp(150px, 20vw, 220px) 0 clamp(46px, 6vw, 74px);
    overflow: hidden;
    isolation: isolate;
}

.svcx-hero-bg,
.svcx-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.svcx-hero-bg img {
    filter: brightness(0.78) saturate(1.05);
}

.svcx-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 32, 35, 0.35) 0%, rgba(6, 32, 35, 0.4) 45%, rgba(6, 32, 35, 0.5) 62%, rgba(6, 32, 35, 0.8) 100%),
        linear-gradient(90deg, rgba(6, 32, 35, 0.5) 0%, rgba(6, 32, 35, 0.2) 72%, rgba(6, 32, 35, 0.1) 100%);
}

.svcx-hero-inner {
    position: relative;
    width: 100%;
}

.svcx-page .svcx-hero-title {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 700;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -1px;
    margin: 22px 0 0;
    max-width: 820px;
    text-shadow: 0 2px 30px rgba(5, 24, 26, 0.55), 0 1px 4px rgba(5, 24, 26, 0.55);
}

.svcx-hero-sub {
    text-shadow: 0 1px 12px rgba(5, 24, 26, 0.5);
}

.svcx-hero-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 2.2vw, 28px);
    margin-top: clamp(22px, 2.6vw, 34px);
}

/* breadcrumb sits after (below) the description */
.svcx-hero-foot .svcx-breadcrumb {
    align-self: flex-start;
}

.svcx-hero-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
    max-width: 500px;
    margin: 0;
}

.svcx-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 999px;
}

.svcx-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
}

.svcx-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s var(--sv-ease);
}

.svcx-breadcrumb a:hover {
    color: #fff;
}

.svcx-breadcrumb li:last-child span {
    color: #fff;
    font-weight: 600;
}

/* ----------------------------------------------------------------------------
   2. PURPOSE (image | mint mission | deep approach)
   ---------------------------------------------------------------------------- */
.svcx-purpose-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: clamp(16px, 1.6vw, 26px);
    align-items: stretch;
}

.svcx-purpose-media {
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
}

.svcx-purpose-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svcx-purpose-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
    padding: clamp(28px, 2.6vw, 44px);
}

/* the card is a flex column (align-items:stretch would blow the badge to
   full width) — keep the badge a compact pill, per reference */
.svcx-purpose-card .svcx-pill {
    align-self: flex-start;
    flex: 0 0 auto;
    width: auto;
}

.svcx-purpose-card--mint {
    background: var(--sv-mint);
}

.svcx-purpose-card--deep {
    background: var(--sv-deep);
}

.svcx-purpose-card--mint p {
    color: #234a4a;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.6 !important;
    margin: clamp(22px, 2.4vw, 34px) 0 auto;
    font-weight: 500;
}

.svcx-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: clamp(26px, 3vw, 40px);
}

/* letter avatar (photo removed per client feedback) — the selector stays
   more specific than the generic `.svcx-author span` role rule below */
.svcx-author .svcx-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #09747f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
}

.svcx-author strong {
    display: block;
    color: var(--sv-deep-2);
    font-size: 15px;
}

.svcx-author span {
    font-size: 13px;
    color: #55625b;
}

.svcx-page .svcx-purpose-card--deep h3 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(22px, 1.9vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    margin: clamp(22px, 2.4vw, 32px) 0 clamp(20px, 2.2vw, 30px);
}

.svcx-purpose-card--deep .svcx-check {
    margin-bottom: clamp(26px, 3vw, 40px);
}

.svcx-purpose-card--deep .svcx-check li {
    color: rgba(255, 255, 255, 0.9);
}

.svcx-purpose-card--deep .svcx-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ----------------------------------------------------------------------------
   3. SERVICES (split head + 3x2 gridline cards)
   ---------------------------------------------------------------------------- */
.svcx-services-head {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(20px, 3vw, 60px);
    align-items: start;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.svcx-services-head .svcx-h2 {
    margin-top: 0;
}

.svcx-services-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--sv-line);
    border: 1px solid var(--sv-line);
    border-radius: 18px;
    overflow: hidden;
}

.svcx-svc-row {
    display: flex;
    gap: 1px;
    align-items: stretch;
}

/* card: FIXED-size shell (it never resizes, so nothing on the row shifts).
   By default it shows a compact resting layer (icon + title + description).
   On hover the whole full section (content + image) SLIDES in from the right and
   OVERLAPS the same box — smooth, because the card's size never changes. */
.svcx-svc {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    min-height: clamp(380px, 33vw, 440px);
    overflow: hidden;
}

/* ---- resting layer (shown by default): icon + title + description, centred ---- */
.svcx-svc-rest {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(28px, 2.8vw, 44px) clamp(22px, 2vw, 34px);
    opacity: 1;
    transition: opacity 0.35s var(--sv-ease);
}

.svcx-svc:hover .svcx-svc-rest {
    opacity: 0;
}

.svcx-svc-rest p {
    margin-bottom: 0;
}

/* ---- full section (hidden by default): the whole box, slides in right-to-left ---- */
.svcx-svc-full {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(18px, 1.8vw, 28px);
    padding: clamp(28px, 2.8vw, 44px) clamp(22px, 2vw, 34px);
    background: var(--c-surface-2);
    text-decoration: none;
    transform: translateX(100%);
    transition: transform 0.6s var(--sv-ease);
}

.svcx-svc:hover .svcx-svc-full {
    transform: translateX(0);
}

.svcx-svc-full-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.svcx-svc-full-text p {
    max-width: none;
    /* safety: keep the description within the fixed card height */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- shared icon / heading / paragraph ---- */
.svcx-svc-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-deep);
    margin-bottom: 20px;
}

.svcx-svc-icon svg {
    width: 42px;
    height: 42px;
}

.svcx-page .svcx-svc h4 {
    color: var(--sv-deep) !important;
    -webkit-text-fill-color: var(--sv-deep) !important;
    font-size: clamp(18px, 1.4vw, 21px);
    font-weight: 700;
    margin: 0 0 12px;
}

.svcx-svc p {
    color: var(--c-body);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 300px;
}

/* ---- image on the right of the full section ---- */
.svcx-svc-media {
    flex: 0 0 40%;
    align-self: stretch;
    border-radius: 12px;
    overflow: hidden;
}

.svcx-svc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- "Read More" pill (lives inside the full section) ---- */
.svcx-svc-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--sv-deep);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 9px;
    margin-top: 8px;
    transition: background 0.25s var(--sv-ease);
}

.svcx-svc-more svg {
    width: 16px;
    height: 16px;
}

.svcx-svc-full:hover .svcx-svc-more {
    background: var(--sv-deep-2);
}

/* ----------------------------------------------------------------------------
   4. WHY CHOOSE (image + checklist, then 4 feature cards)
   ---------------------------------------------------------------------------- */
/* left-aligned header (reference) */
.svcx-why-head {
    max-width: 640px;
    margin-bottom: clamp(32px, 4vw, 52px);
}

.svcx-why-head .svcx-h2 {
    margin-top: 18px;
}

.svcx-why-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.svcx-why-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 360px;
}

.svcx-why-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* play button over the image */
.svcx-why-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.25s var(--sv-ease), transform 0.25s var(--sv-ease);
}

.svcx-why-play::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.svcx-why-play:hover {
    background: var(--sv-deep);
    transform: translate(-50%, -50%) scale(1.05);
}

.svcx-why-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

/* intro paragraph with an accent bar (reference) */
.svcx-why-intro {
    position: relative;
    color: var(--c-body);
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.75;
    margin: 0 0 clamp(26px, 3.2vw, 40px);
    padding-left: 22px;
    border-left: 2px solid var(--sv-deep);
}

.svcx-why-content .svcx-btn {
    margin-top: clamp(26px, 3.2vw, 38px);
}

/* checklist rendered as divider rows (reference) */
.svcx-check--rows {
    display: block;
}

.svcx-check--rows li {
    padding: 16px 0 16px 34px;
    border-bottom: 1px solid var(--sv-line);
    color: var(--c-ink);
    font-size: 15.5px;
}

.svcx-check--rows li:first-child {
    padding-top: 0;
}

.svcx-check--rows li::before {
    width: 20px;
    height: 20px;
    top: 15px;
    background: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230e4034' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
}

.svcx-check--rows li:first-child::before {
    top: -1px;
}

.svcx-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 1.8vw, 26px);
    margin-top: clamp(40px, 5vw, 72px);
}

.svcx-feat {
    background: var(--c-surface);
    border: 1.5px solid var(--sv-line);
    border-radius: 16px;
    padding: clamp(24px, 2.2vw, 32px);
    transition: border-color 0.25s var(--sv-ease), box-shadow 0.25s var(--sv-ease);
}

.svcx-feat:hover,
.svcx-feat.is-active {
    border-color: var(--c-accent);
    box-shadow: 0 14px 32px rgba(9, 116, 127, 0.08);
}

/* title at the top (reference) */
.svcx-page .svcx-feat h4 {
    color: var(--sv-deep) !important;
    -webkit-text-fill-color: var(--sv-deep) !important;
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 700;
    margin: 0 0 clamp(20px, 2vw, 28px);
}

/* circular icon; swaps to mint on hover/active */
.svcx-feat-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--sv-deep);
    color: var(--sv-mint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 clamp(22px, 2.4vw, 30px);
    transition: background 0.25s var(--sv-ease), color 0.25s var(--sv-ease);
}

.svcx-feat:hover .svcx-feat-icon,
.svcx-feat.is-active .svcx-feat-icon {
    background: var(--sv-mint);
    color: var(--sv-deep);
}

.svcx-feat-icon svg {
    width: 28px;
    height: 28px;
}

/* description sits in a soft inner box (reference) */
.svcx-feat-desc {
    background: var(--c-surface-2);
    border-radius: 12px;
    padding: clamp(16px, 1.6vw, 20px);
}

.svcx-feat-desc p {
    color: var(--c-body);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* ----------------------------------------------------------------------------
   5. PROCESS (deep-green band: image + numbered accordion)
   ---------------------------------------------------------------------------- */
.svcx-process {
    background: var(--sv-deep);
    padding: clamp(56px, 7vw, 100px) 0;
}

.svcx-process-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.svcx-process-media {
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
}

.svcx-process-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svcx-process-content .svcx-h2 {
    margin-top: 16px;
}

.svcx-steps {
    margin-top: clamp(28px, 3.4vw, 44px);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.svcx-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.svcx-step-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 22px 0;
    color: #fff;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 600;
}

.svcx-step-num {
    color: var(--sv-mint);
    font-weight: 700;
    min-width: 34px;
}

.svcx-step-head .svcx-step-chev {
    margin-left: auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.3s var(--sv-ease);
}

.svcx-step.is-open .svcx-step-chev {
    transform: rotate(180deg);
    color: var(--sv-mint);
}

.svcx-step-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--sv-ease);
}

.svcx-step-body p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    padding: 0 0 24px 50px;
    max-width: 560px;
}

/* ----------------------------------------------------------------------------
   6. STATS
   ---------------------------------------------------------------------------- */
.svcx-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 56px);
}

.svcx-stat {
    padding: 0 clamp(8px, 1.6vw, 28px);
    border-left: 1px solid var(--sv-line);
}

.svcx-stat:first-child {
    border-left: none;
    padding-left: 0;
}

.svcx-stat-num {
    display: block;
    color: var(--sv-deep) !important;
    -webkit-text-fill-color: var(--sv-deep);
    font-size: clamp(40px, 4.5vw, 42px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
}

.svcx-stat-label {
    display: block;
    color: var(--c-ink);
    font-weight: 700;
    font-size: clamp(15px, 1.2vw, 18px);
    margin: 16px 0 10px;
}

.svcx-stat p {
    color: var(--c-body);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 300px;
}

/* ----------------------------------------------------------------------------
   7. TESTIMONIALS
   ---------------------------------------------------------------------------- */
.svcx-tst-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.svcx-tst-head .svcx-h2 {
    margin-top: 16px;
}

.svcx-tst-head-copy {
    max-width: 560px;
}

.svcx-tst-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.svcx-rating-score {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    color: var(--sv-deep);
}

.svcx-stars {
    color: #f5a623;
    letter-spacing: 3px;
    font-size: 16px;
}

.svcx-rating-note {
    font-size: 13px;
    color: var(--c-muted);
}

.svcx-tst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 30px);
}

.svcx-tst-card {
    background: var(--sv-deep);
    border-radius: 18px;
    padding: clamp(28px, 2.6vw, 40px);
    display: flex;
    flex-direction: column;
}

.svcx-tst-quote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    line-height: 0.6;
    color: var(--sv-mint);
    height: 34px;
}

.svcx-tst-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 clamp(24px, 3vw, 36px);
}

.svcx-tst-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.svcx-tst-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.svcx-tst-author strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.svcx-tst-author span {
    font-size: 13px;
    color: var(--sv-mint);
}

.svcx-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: clamp(30px, 3.4vw, 44px);
}

.svcx-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sv-line);
}

.svcx-dots span.is-active {
    width: 26px;
    border-radius: 999px;
    background: var(--sv-deep);
}

/* ----------------------------------------------------------------------------
   8. CTA
   ---------------------------------------------------------------------------- */
.svcx-cta {
    background: #fff;
}

/* contained panel — replaces the old full-bleed banner CTA */
.svcx-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 60px);
    flex-wrap: wrap;
    background: linear-gradient(120deg, var(--sv-mint-soft) 0%, var(--sv-mint) 100%);
    border: 1px solid var(--sv-line);
    border-radius: 26px;
    padding: clamp(34px, 5vw, 64px) clamp(28px, 5vw, 68px);
}

.svcx-cta-copy {
    flex: 1 1 440px;
}

.svcx-page .svcx-cta h2 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.5px;
    margin: 0;
    max-width: 620px;
}

.svcx-cta p {
    color: var(--sv-deep-2);
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
    margin: 14px 0 0;
    max-width: 560px;
}

.svcx-cta-btn {
    flex: 0 0 auto;
}

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .svcx-purpose-grid {
        grid-template-columns: 1fr 1fr;
    }
    .svcx-purpose-media {
        grid-column: 1 / -1;
        min-height: 280px;
    }
    .svcx-feats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* touch devices have no hover — show the full section (stacked) at rest so the
   image, Read More and link are always available. */
@media (hover: none) {
    .svcx-svc {
        flex-grow: 0 !important;
    }
    .svcx-svc-rest {
        display: none;
    }
    .svcx-svc-full {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: flex-start;
    }
    .svcx-svc-full .svcx-svc-media {
        flex: none;
        width: 100%;
        height: 240px;
        margin-top: 6px;
    }
}

@media (max-width: 900px) {
    .svcx-services-head,
    .svcx-why-grid,
    .svcx-process-grid {
        grid-template-columns: 1fr;
    }
    .svcx-svc-row {
        flex-wrap: wrap;
    }
    .svcx-svc {
        flex: 1 1 45%;
    }
    .svcx-process-media {
        min-height: 300px;
    }
    .svcx-tst-grid {
        grid-template-columns: 1fr;
    }
    .svcx-stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .svcx-stat {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--sv-line);
        padding-top: 24px;
    }
    .svcx-stat:first-child {
        border-top: none;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .svcx-purpose-grid {
        grid-template-columns: 1fr;
    }
    .svcx-feats {
        grid-template-columns: 1fr;
    }
    /* mobile: one card per row */
    .svcx-svc {
        flex: 1 1 100%;
        min-height: auto;
    }
    .svcx-hero-foot {
        flex-direction: column;
        align-items: flex-start;
    }
    .svcx-tst-head {
        align-items: flex-start;
    }
    .svcx-tst-rating {
        align-items: flex-start;
        text-align: left;
    }
}
