/* ==========================================
   MBIZ CONSULTING - SERVICES OVERVIEW PAGE
   Brand: blue #0286E7, teal #02BFC9, navy #041C4C, white
   ========================================== */

.sv-page {
    --sv-blue: #0286E7;
    --sv-teal: #02BFC9;
    --sv-navy: #041C4C;
    --sv-text: #475569;
    --sv-line: #E2E8F0;
    --sv-soft: #F5F9FD;
    color: var(--sv-text);
    font-family: var(--font-main, 'Gilroy', 'Poppins', system-ui, sans-serif);
}

.sv-page h1,
.sv-page h2,
.sv-page h3 {
    font-family: var(--font-heading, 'Gilroy', 'Poppins', system-ui, sans-serif);
    color: var(--sv-navy);
    letter-spacing: -0.02em;
}

/* ---------- 01 HERO (compact) ---------- */
.sv-hero {
    background: var(--sv-soft);
    padding: 44px 0 40px;
    border-bottom: 1px solid var(--sv-line);
}

.sv-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
}

.sv-eyebrow,
.sv-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sv-blue);
    margin-bottom: 12px;
}

.sv-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 16px;
}

.sv-hero-copy p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 520px;
}

.sv-hero-media img {
    display: block;
    width: 100%;
    max-width: 440px;
    max-height: 340px;
    height: auto;
    object-fit: contain;
    margin-left: auto;
}

/* ---------- Shared headings ---------- */
.sv-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.sv-heading-left {
    text-align: left;
    margin: 0;
}

.sv-heading h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 12px;
}

.sv-heading p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 02 OUR SERVICES (alternating rows) ---------- */
.sv-services {
    background: #fff;
    padding: 64px 0 40px;
}

.sv-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding: 36px 0;
    border-top: 1px solid var(--sv-line);
}

.sv-row:first-of-type {
    border-top: 0;
}

.sv-row:nth-of-type(even) .sv-media {
    order: 2;
}

.sv-media img,
.sv-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 340px;
    object-fit: cover;
    border-radius: 12px;
}

.sv-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 26px;
    background: var(--sv-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sv-placeholder::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 24px solid var(--sv-teal);
    opacity: 0.35;
}

.sv-placeholder-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--sv-teal);
    letter-spacing: 0.08em;
}

.sv-placeholder-name {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
}

.sv-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--sv-blue);
    margin-bottom: 8px;
}

.sv-body h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 12px;
}

.sv-body > p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.sv-points {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.sv-points li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
}

.sv-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sv-teal);
}

.sv-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.sv-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--sv-blue);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.sv-link:hover,
.sv-link:focus-visible {
    color: #0269B8;
    border-bottom-color: currentColor;
}

/* ---------- 03 CUSTOMIZED DIGITAL SOLUTIONS ---------- */
.sv-custom {
    background: var(--sv-soft);
    padding: 64px 0;
    border-top: 1px solid var(--sv-line);
}

.sv-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sv-steps li {
    background: #fff;
    border: 1px solid var(--sv-line);
    border-radius: 12px;
    padding: 22px 20px;
}

.sv-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sv-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sv-steps h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
}

.sv-steps p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.sv-custom-cta {
    text-align: center;
    margin-top: 32px;
}

/* ---------- 04 FAQ ---------- */
.sv-faq {
    background: #fff;
    padding: 64px 0;
}

.sv-faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
}

.sv-faq-item {
    border-bottom: 1px solid var(--sv-line);
}

.sv-faq-item:first-child {
    border-top: 1px solid var(--sv-line);
}

.sv-faq-item summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 18px 36px 18px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sv-navy);
}

.sv-faq-item summary::-webkit-details-marker {
    display: none;
}

.sv-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 14px;
    font-size: 24px;
    font-weight: 400;
    color: var(--sv-blue);
}

.sv-faq-item[open] summary::after {
    content: "\2212";
}

.sv-faq-item summary:focus-visible {
    outline: 2px solid var(--sv-blue);
    outline-offset: 2px;
}

.sv-faq-item p {
    margin: 0;
    padding: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- 05 CONSULTATION BANNER (uses global .cta-banner) ---------- */
.sv-page .cta-banner {
    padding: 52px 0;
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .sv-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sv-row {
        gap: 32px;
    }
    .sv-faq-inner {
        gap: 32px;
    }
}

/* ---------- MOBILE: compact stacked layouts ---------- */
@media (max-width: 860px) {
    .sv-hero {
        padding: 32px 0 28px;
    }
    .sv-hero-grid,
    .sv-faq-inner {
        grid-template-columns: 1fr;
    }
    .sv-hero-media img {
        max-width: 320px;
        max-height: 240px;
        margin: 0 auto;
    }
    .sv-services,
    .sv-custom,
    .sv-faq {
        padding: 44px 0;
    }
    .sv-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 0;
    }
    .sv-row:nth-of-type(even) .sv-media {
        order: 0;
    }
    .sv-media img,
    .sv-placeholder {
        max-height: 220px;
        aspect-ratio: 16 / 9;
    }
    .sv-heading {
        margin-bottom: 28px;
    }
}

@media (max-width: 560px) {
    .sv-steps {
        grid-template-columns: 1fr;
    }
    .sv-hero-copy p {
        font-size: 16px;
    }
    .sv-faq-item summary {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sv-page * {
        transition: none !important;
    }
}