/*!
 * Homepage "Featured Services" — v6.0.0  ("Option 3": full-width service bands)
 * Shree Umiya Structure Pvt. Ltd.  (section#our-services-stack in index.php)
 *
 * Heading block uses the site's own Bootstrap/theme classes (unchanged markup).
 * Each service is a white band: big pale number, icon + label, title, text and link on one side,
 * an angled photo with a golden slanted bar on the other. Photo side alternates (row 2 is flipped).
 *   ≥992px   bands side by side (text 7 / photo 5 columns)
 *   <992px   photo on top (slanted bottom edge), text below
 *
 * Scope: everything sits under section.sfo. Plain CSS values only — no clamp, calc, min or max
 * functions and no CSS custom properties. No JavaScript.
 *
 * Palette: navy #082D5C · heading navy #0B2344 · golden yellow #FFAA00 · light grey #F5F7FA ·
 *          body text #697587
 * Previous versions: css/suspl-stack.backup-v5.0.css, css/suspl-stack.backup-v3.0.css,
 *                    css/suspl-stack.backup-v2.0.css, css/suspl-stack.backup-v1.0.css
 */

/* ======================================================================
   1. Section + background drawings
   ====================================================================== */
section.sfo {
    position: relative;
    overflow: hidden;
    overflow: clip;
    padding: 100px 0 110px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 40%, #f3f6f9 100%);
}

.sfo *,
.sfo *::before,
.sfo *::after {
    box-sizing: border-box;
}

.sfo .sfo__drawing {
    position: absolute;
    z-index: 0;
    max-width: none;
    height: auto;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.sfo .sfo__drawing--right {
    top: -60px;
    right: -220px;
    width: 960px;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(200deg, #000000 30%, rgba(0, 0, 0, 0) 75%);
    mask-image: linear-gradient(200deg, #000000 30%, rgba(0, 0, 0, 0) 75%);
}

.sfo .sfo__drawing--left {
    top: 360px;
    left: -380px;
    width: 1000px;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 40%, #000000 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 40%, #000000 70%, rgba(0, 0, 0, 0) 100%);
}

.sfo .container {
    z-index: 1;
}

/* ======================================================================
   2. Service bands (shared)
   ====================================================================== */
.sfo .sfo__rows {
    position: relative;
}

.sfo .sfo-row {
    position: relative;
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 22px 44px -26px rgba(11, 35, 68, 0.22), 0 2px 8px rgba(11, 35, 68, 0.04);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.sfo .sfo-row:last-child {
    margin-bottom: 0;
}

.sfo .sfo-row > .row {
    margin: 0;
}

/* text side */
.sfo .sfo-row__content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 240px;
    padding: 34px 40px 34px 196px;
}

.sfo .sfo-row__num {
    position: absolute;
    top: 50%;
    left: 52px;
    margin-top: -48px;
    font-family: 'Poppins', 'Space Grotesk', sans-serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 96px;
    letter-spacing: -2px;
    color: #e4e8ed;
    -webkit-transform: scaleX(0.82);
    transform: scaleX(0.82);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.sfo .sfo-row__body {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.sfo p.sfo-row__label {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    color: #34445b;
}

.sfo p.sfo-row__label i {
    width: 26px;
    margin-right: 14px;
    font-size: 22px;
    line-height: 1;
    text-align: center;
    color: #082d5c;
}

.sfo h3.sfo-row__title {
    margin: 12px 0 0;
    font-family: 'Poppins', 'Space Grotesk', sans-serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: -0.6px;
    text-align: left;
    color: #0b2344;
}

/* the title's full stop drawn as a golden dot (the "." stays in the text for screen readers) */
.sfo .sfo-row__title em {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 7px;
    border-radius: 50%;
    background: #ffaa00;
    font-size: 0;
    line-height: 0;
    vertical-align: baseline;
}

.sfo p.sfo-row__text {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    color: #697587;
}

.sfo a.sfo-row__link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: #0b2344;
    text-decoration: none;
    transition: color 0.25s ease;
}

.sfo .sfo-row__arrow {
    margin-left: 10px;
    font-weight: 400;
    color: #ffaa00;
    transition: transform 0.25s ease;
}

.sfo .sfo-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 12px;
    border-radius: 50%;
    background: #ffaa00;
    font-size: 14px;
    color: #ffffff;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.sfo a.sfo-row__link:hover,
.sfo a.sfo-row__link:focus-visible {
    color: #082d5c;
}

.sfo a.sfo-row__link:hover .sfo-row__arrow,
.sfo a.sfo-row__link:focus-visible .sfo-row__arrow {
    transform: translateX(4px);
}

.sfo a.sfo-row__link:hover .sfo-row__btn,
.sfo a.sfo-row__link:focus-visible .sfo-row__btn {
    background: #082d5c;
    transform: translateX(3px);
}

.sfo a.sfo-row__link:focus-visible {
    outline: 2px solid #ffaa00;
    outline-offset: 4px;
}

/* photo side */
.sfo .sfo-row__media {
    position: relative;
    min-height: 240px;
}

.sfo .sfo-row__photo,
.sfo .sfo-row__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.sfo .sfo-row__photo {
    overflow: hidden;
    background: #e9eef4;
    -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 8% 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 8% 100%);
}

.sfo .sfo-row__photo img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* golden slanted bar along the photo's angled edge */
.sfo .sfo-row__bar {
    z-index: 1;
    background: linear-gradient(180deg, #ffb21a 0%, #ffaa00 100%);
    -webkit-clip-path: polygon(13.5% 0, 18.6% 0, 6.6% 100%, 1.5% 100%);
    clip-path: polygon(13.5% 0, 18.6% 0, 6.6% 100%, 1.5% 100%);
    pointer-events: none;
}

/* row 2: photo on the left, angled edge on its right */
.sfo .sfo-row--flip .sfo-row__photo {
    -webkit-clip-path: polygon(0 0, 92% 0, 80% 100%, 0 100%);
    clip-path: polygon(0 0, 92% 0, 80% 100%, 0 100%);
}

.sfo .sfo-row--flip .sfo-row__bar {
    -webkit-clip-path: polygon(93.4% 0, 98.5% 0, 86.5% 100%, 81.4% 100%);
    clip-path: polygon(93.4% 0, 98.5% 0, 86.5% 100%, 81.4% 100%);
}

/* hover */
.sfo .sfo-row:hover {
    box-shadow: 0 30px 56px -26px rgba(11, 35, 68, 0.3), 0 2px 8px rgba(11, 35, 68, 0.05);
}

.sfo .sfo-row:hover .sfo-row__photo img {
    transform: scale(1.05);
}

/* ======================================================================
   3. ≥992: side by side; row 2 puts the photo first
   ====================================================================== */
@media (min-width: 992px) {
    .sfo .sfo-row__media {
        order: 2;
    }

    .sfo .sfo-row--flip .sfo-row__media {
        order: -1;
    }

    .sfo .sfo-row--flip .sfo-row__content {
        padding-left: 176px;
    }

    .sfo .sfo-row--flip .sfo-row__num {
        left: 34px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .sfo .sfo-row__content {
        min-height: 240px;
        padding: 36px 34px 36px 168px;
    }

    .sfo .sfo-row__num {
        left: 42px;
        margin-top: -42px;
        font-size: 84px;
        line-height: 84px;
    }

    .sfo .sfo-row__media {
        min-height: 240px;
    }

    .sfo h3.sfo-row__title {
        font-size: 28px;
        line-height: 35px;
    }

    .sfo p.sfo-row__text {
        font-size: 15.5px;
        line-height: 25px;
    }

    .sfo .sfo-row--flip .sfo-row__content {
        padding-left: 150px;
    }

    .sfo .sfo-row--flip .sfo-row__num {
        left: 24px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    section.sfo {
        padding: 90px 0 96px;
    }

    .sfo .sfo-row__content {
        min-height: 240px;
        padding: 32px 28px 32px 136px;
    }

    .sfo .sfo-row__num {
        left: 30px;
        margin-top: -36px;
        font-size: 72px;
        line-height: 72px;
    }

    .sfo .sfo-row__media {
        min-height: 240px;
    }

    .sfo h3.sfo-row__title {
        font-size: 26px;
        line-height: 32px;
    }

    .sfo p.sfo-row__text {
        font-size: 15px;
        line-height: 24px;
    }

    .sfo .sfo-row--flip .sfo-row__content {
        padding-left: 122px;
    }

    .sfo .sfo-row--flip .sfo-row__num {
        left: 16px;
    }
}

/* ======================================================================
   4. <992: photo on top with a slanted lower edge, text below
   ====================================================================== */
@media (max-width: 991px) {
    section.sfo {
        padding: 80px 0 88px;
    }

    .sfo .sfo__drawing--right {
        top: -40px;
        right: -300px;
        width: 760px;
        opacity: 0.3;
    }

    .sfo .sfo__drawing--left {
        top: 520px;
        left: -420px;
        width: 860px;
        opacity: 0.22;
    }

    .sfo .sfo-row {
        margin-bottom: 30px;
    }

    .sfo .sfo-row__media {
        order: -1;
        min-height: 0;
        height: 320px;
    }

    .sfo .sfo-row__photo,
    .sfo .sfo-row--flip .sfo-row__photo {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 78%, 0 92%);
        clip-path: polygon(0 0, 100% 0, 100% 78%, 0 92%);
    }

    .sfo .sfo-row__bar,
    .sfo .sfo-row--flip .sfo-row__bar {
        -webkit-clip-path: polygon(0 94.5%, 100% 80.5%, 100% 86.5%, 0 100.5%);
        clip-path: polygon(0 94.5%, 100% 80.5%, 100% 86.5%, 0 100.5%);
    }

    .sfo .sfo-row__content,
    .sfo .sfo-row--flip .sfo-row__content {
        min-height: 0;
        padding: 18px 34px 36px;
    }

    .sfo .sfo-row__num,
    .sfo .sfo-row--flip .sfo-row__num {
        top: -6px;
        right: 26px;
        left: auto;
        margin-top: 0;
        font-size: 72px;
        line-height: 72px;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }

    .sfo .sfo-row__body {
        max-width: none;
    }

    .sfo h3.sfo-row__title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (max-width: 767px) {
    section.sfo {
        padding: 64px 0 72px;
    }

    .sfo .sfo-row__media {
        height: 260px;
    }

    .sfo .sfo-row__content,
    .sfo .sfo-row--flip .sfo-row__content {
        padding: 14px 24px 30px;
    }

    .sfo .sfo-row__num,
    .sfo .sfo-row--flip .sfo-row__num {
        right: 18px;
        font-size: 60px;
        line-height: 60px;
    }

    .sfo p.sfo-row__label {
        font-size: 14px;
    }

    .sfo h3.sfo-row__title {
        font-size: 25px;
        line-height: 31px;
    }

    .sfo p.sfo-row__text {
        font-size: 15px;
        line-height: 24px;
    }

    .sfo a.sfo-row__link {
        min-height: 44px;
        margin-top: 14px;
    }
}

@media (max-width: 575px) {
    .sfo .sfo-row__media {
        height: 210px;
    }

    .sfo .sfo-row__content,
    .sfo .sfo-row--flip .sfo-row__content {
        padding: 12px 20px 26px;
    }

    .sfo .sfo-row__num,
    .sfo .sfo-row--flip .sfo-row__num {
        font-size: 52px;
        line-height: 52px;
    }

    .sfo .sfo__drawing--left {
        display: none;
    }
}

@media (max-width: 375px) {
    .sfo .sfo-row__media {
        height: 180px;
    }

    .sfo h3.sfo-row__title {
        font-size: 23px;
        line-height: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sfo .sfo-row,
    .sfo .sfo-row__photo img,
    .sfo a.sfo-row__link,
    .sfo .sfo-row__arrow,
    .sfo .sfo-row__btn {
        transition: none;
    }

    .sfo .sfo-row:hover .sfo-row__photo img {
        transform: none;
    }
}
