/* ==========================================================================
   Our Services / What We Offer (template: our-services.php)
   Figma: Website 2.0 › "What We Offer" (desktop frame 827:14876, 1440px, content 1240px).
   No mobile frame: mobile follows the other Website 2.0 mobile frames
   (single column, 20px gutters, smaller headings) below 1034px (the header's breakpoint).
   Decorative illustrations (hero arc + avatars, photo collage, glows) are positioned
   on their Figma canvases; all content uses flex/grid.
   ========================================================================== */

main.w2-services {
    --w2s-black: #1a1a1a;
    --w2s-navy: #0c0e19;
    --w2s-dark: #0a0a0a;
    --w2s-light-grey: #eef3ff;
    --w2s-brand-gradient: linear-gradient(143deg, #e35246 17.01%, #ea7331 18.92%, #f1931d, #f6a90f, #f9b706, #fbbc04 30.33%, #f7bb05 32.23%, #eeba09 35.09%, #deb90f 36.04%, #c7b618, #a9b324 39.84%, #85b032 40.79%, #5aab43 42.69%, #34a853 43.65%, #4285f4 57.91%, #956697 71.23%, #ff7d95 83.59%, #a25367 88.35%, #533041 92.15%, #221b2a 95.96%, #101321 96.91%);

    position: relative;
    overflow: hidden;
    overflow: clip;
    background: var(--w2s-dark);
    font-family: "Work Sans", sans-serif;
}

main.w2-services .w2s-hero *,
main.w2-services .w2s-hiring *,
main.w2-services .w2s-not-included *,
main.w2-services .w2s-hassle * {
    box-sizing: border-box;
}

main.w2-services h1,
main.w2-services h2,
main.w2-services h3,
main.w2-services p,
main.w2-services ul {
    margin: 0;
}

main.w2-services section {
    position: relative;
}

.w2-services .w2s-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

/* Figma trims these headings to the cap height (text-box-trim) */
.w2-services .w2s-hero-title,
.w2-services .w2s-hiring .w2s-h2,
.w2-services .w2s-hassle-title,
.w2-services .w2s-card-title {
    text-box: trim-both cap alphabetic;
}

.w2-services .w2s-h2 {
    font-family: "Oswald", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: capitalize;
}

.w2-services .w2s-grad {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.w2-services .w2s-grad-green-blue {
    background-image: linear-gradient(167deg, #34a853 4.74%, #4285f4 55.57%);
}

.w2-services .w2s-grad-yellow-red {
    background-image: linear-gradient(172deg, #fbbc04 4.74%, #e35246 100%);
}

/* --------------------------------------------------------------------------
   Hero (Figma 827:14878): 574px below the 116px top nav, which overlays it
   -------------------------------------------------------------------------- */
.w2-services .w2s-hero {
    height: 690px;
    padding-top: 222px;
    overflow: hidden;
    background: var(--w2s-dark);
}

.w2-services .w2s-hero-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 652px;
    max-width: 100%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.w2-services .w2s-hero-title {
    width: 713px;
    max-width: calc(100vw - 40px);
    font-family: "Oswald", sans-serif;
    font-size: 76px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: capitalize;
}

.w2-services .w2s-hero-title .w2s-grad {
    font-size: 78px;
    font-weight: 600;
}

.w2-services .w2s-hero-sub {
    font-size: 17px;
    line-height: 1.3;
}

/* Arc + avatars illustration: 532 x 523 canvas, only its top part shows above the next section */
.w2-services .w2s-hero-art {
    position: absolute;
    z-index: 1;
    top: 489px;
    left: calc(50% - 268.89px);
    width: 531.89px;
    height: 523.46px;
    pointer-events: none;
    user-select: none;
}

.w2-services .w2s-hero-art img {
    position: absolute;
    display: block;
    max-width: none;
}

.w2-services .w2s-hero-globe {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.w2-services .w2s-hero-glow {
    left: -95.27px;
    top: -128.74px;
    width: 760.86px;
    height: 756.9px;
}

.w2-services .w2s-arc-left   { left: 185.15px; top: 97.66px;  width: 41.49px;  height: 292.11px; }
.w2-services .w2s-arc-right  { left: 318.63px; top: 64.25px;  width: 66.46px;  height: 313.71px; }
.w2-services .w2s-line-top   { left: 117.81px; top: 184.29px; width: 331.89px; height: 8.32px; }
.w2-services .w2s-line-bottom{ left: 121.59px; top: 305.99px; width: 314.98px; height: 8.32px; }

/* Avatar = gradient circle + photo clipped to the circle + Filta logo on the shirt */
.w2-services .w2s-av {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    overflow: hidden;
}

.w2-services .w2s-av .w2s-av-bg {
    inset: 0;
    width: 100%;
    height: 100%;
}

.w2-services .w2s-av-photo {
    position: absolute;
    left: var(--px);
    top: var(--py);
    width: var(--pw);
    height: var(--ph);
    overflow: hidden;
}

.w2-services .w2s-av-photo img {
    left: var(--ix);
    top: var(--iy);
    width: var(--iw);
    height: var(--ih);
}

.w2-services .w2s-av .w2s-av-logo {
    left: var(--lx);
    top: var(--ly);
    width: var(--lw);
    height: var(--lh);
}

.w2-services .w2s-av-1 {
    --x: 133.91px; --y: 25.6px; --s: 81.17px;
    --px: -5.79px; --py: 1.95px; --pw: 88.91px; --ph: 84.18px;
    --ix: -50.13px; --iy: 0px; --iw: 189.17px; --ih: 132.32px;
    --lx: 22.49px; --ly: 65.53px; --lw: 38.3px; --lh: 5.87px;
}

.w2-services .w2s-av-1 .w2s-av-photo {
    transform: scaleX(-1);
}

.w2-services .w2s-av-2 {
    --x: 32.89px; --y: 141.95px; --s: 99.55px;
    --px: -22.79px; --py: 4.8px; --pw: 139.11px; --ph: 152.35px;
    --ix: -56.42px; --iy: 0px; --iw: 228.41px; --ih: 152.35px;
    --lx: 25.19px; --ly: 82.76px; --lw: 46.97px; --lh: 7.2px;
}

.w2-services .w2s-av-3 {
    --x: 396.76px; --y: 49.78px; --s: 46.93px;
    --px: -0.57px; --py: 4.52px; --pw: 51.26px; --ph: 43.17px;
    --ix: -71.02px; --iy: -17.19px; --iw: 155.57px; --ih: 103.7px;
    --lx: 12.96px; --ly: 37.91px; --lw: 22.62px; --lh: 3.47px;
}

.w2-services .w2s-av-4 {
    --x: 226.89px; --y: 120px; --s: 55.46px;
    --px: 4.01px; --py: 2.68px; --pw: 49.34px; --ph: 55.59px;
    --ix: -89.14px; --iy: -25.99px; --iw: 219.29px; --ih: 146.16px;
    --lx: 15.37px; --ly: 44.78px; --lw: 26.17px; --lh: 4.01px;
}

.w2-services .w2s-av-5 {
    --x: 432.89px; --y: 159px; --s: 42.66px;
    --px: 0px; --py: -2.57px; --pw: 41.56px; --ph: 46.86px;
    --ix: 0px; --iy: 0px; --iw: 100%; --ih: 100%;
    --lx: 10.79px; --ly: 35.47px; --lw: 20.13px; --lh: 3.08px;
}

.w2-services .w2s-av-5 .w2s-av-photo img {
    object-fit: cover;
    object-position: bottom;
}

/* --------------------------------------------------------------------------
   Hiring globally is easy (Figma 827:14920)
   -------------------------------------------------------------------------- */
.w2-services .w2s-hiring {
    background: #fff;
    color: var(--w2s-black);
}

.w2-services .w2s-hiring-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 683px;
    padding-right: 70px;
}

.w2-services .w2s-hiring-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 568px;
    max-width: 100%;
}

.w2-services .w2s-hiring-text p {
    font-size: 17px;
    line-height: 1.3;
}

/* Collage canvas is 519 x 480 (top 78 / bottom 125 in the 683 section) */
.w2-services .w2s-collage-wrap {
    flex: none;
    margin-bottom: 47px;
}

.w2-services .w2s-collage {
    position: relative;
    width: 519px;
    height: 480px;
    overflow: hidden;
}

.w2-services .w2s-collage img {
    position: absolute;
    display: block;
    max-width: none;
}

.w2-services .w2s-collage-glow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.w2-services .w2s-collage-glow-inner {
    position: relative;
    flex: none;
    overflow: hidden;
}

.w2-services .w2s-collage-glow-a {
    left: 29.17px;
    top: -150px;
    width: 447.06px;
    height: 621.84px;
}

.w2-services .w2s-collage-glow-a .w2s-collage-glow-inner {
    width: 331.8px;
    height: 444.4px;
    transform: rotate(43.42deg) scaleX(-1) skewX(-15.8deg);
}

.w2-services .w2s-collage-glow-b {
    left: 43.91px;
    top: 25.82px;
    width: 473.95px;
    height: 612.2px;
}

.w2-services .w2s-collage-glow-b .w2s-collage-glow-inner {
    width: 331.4px;
    height: 445px;
    transform: rotate(-122.74deg) scaleX(-1) skewX(-15.78deg);
}

.w2-services .w2s-cg-1 {
    top: 17.12%;
    right: 1.83%;
    bottom: 5.93%;
    left: 0;
    width: 98.17%;
    height: 76.95%;
}

.w2-services .w2s-cg-2 {
    top: 0;
    left: 10.3%;
    width: 89.7%;
    height: 100%;
}

.w2-services .w2s-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 24px;
    background: #343131;
}

.w2-services .w2s-photo img {
    object-fit: cover;
}

.w2-services .w2s-photo-1 { left: 79px; top: 94px; width: 390px; height: 234px; }
.w2-services .w2s-photo-1 img { left: -260px; top: -76px; width: 888px; height: 499px; }
.w2-services .w2s-photo-1 .w2s-photo-blur { filter: blur(2.5px); }

.w2-services .w2s-photo-2 { left: 0; top: 227px; width: 234px; height: 179px; }
.w2-services .w2s-photo-2 img { left: -66px; top: -11px; width: 383px; height: 215px; }

.w2-services .w2s-photo-3 { left: 263px; top: 274px; width: 253px; height: 179px; }
.w2-services .w2s-photo-3 img { left: -37px; top: -2px; width: 323px; height: 182px; }

/* --------------------------------------------------------------------------
   What's not included (Figma 2198:25412)
   -------------------------------------------------------------------------- */
.w2-services .w2s-not-included {
    padding: 80px 0;
    background: var(--w2s-light-grey);
    color: var(--w2s-black);
}

.w2-services .w2s-not-included .w2s-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.w2-services .w2s-not-included .w2s-h2 {
    line-height: normal;
}

.w2-services .w2s-not-included p {
    font-size: 17px;
    line-height: normal;
}

.w2-services .w2s-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.w2-services .w2s-chip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    font-size: 16px;
    line-height: normal;
    white-space: nowrap;
}

.w2-services .w2s-chip-x {
    color: #ed6b21;
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
    margin-top: -1px;
}

/* --------------------------------------------------------------------------
   How does Filta take the hassle out (Figma 827:14949)
   -------------------------------------------------------------------------- */
.w2-services .w2s-hassle {
    padding: 90px 0;
    overflow: hidden;
    background: var(--w2s-dark);
    color: #fff;
}

.w2-services .w2s-hassle-glow {
    position: absolute;
    z-index: 0;
    top: -51px;
    left: calc(50% - 790px);
    width: 1520.45px;
    height: 1510.9px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.w2-services .w2s-hassle-glow-clip {
    position: relative;
    flex: none;
    width: 1153px;
    height: 992.38px;
    overflow: hidden;
    transform: rotate(-42.59deg);
}

.w2-services .w2s-hassle-glow-clip img {
    position: absolute;
    left: -104.65px;
    top: -91.85px;
    width: 1362.3px;
    height: 1362.3px;
    max-width: none;
    transform: rotate(53.05deg);
}

.w2-services .w2s-hassle-title {
    width: 591px;
    max-width: 100%;
    margin: 0 auto 77px;
    text-align: center;
}

.w2-services .w2s-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 605px));
    justify-content: center;
    gap: 30px;
}

.w2-services .w2s-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: linear-gradient(var(--w2s-navy), var(--w2s-navy)) padding-box, var(--w2s-brand-gradient) border-box;
}

.w2-services .w2s-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 605px;
}

.w2-services .w2s-card-title {
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: capitalize;
}

/* Figma lets the longest one-line title run ~7px into the card padding */
@media (min-width: 1201px) {
    .w2-services .w2s-card-title {
        margin-right: -20px;
    }
}

.w2-services .w2s-card-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.w2-services .w2s-card-body p {
    font-size: 17px;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Shared CTA (Figma 827:14988) – base styles come from main.css (.see-whats-possible.light)
   -------------------------------------------------------------------------- */
.w2-services .w2s-cta .content-middle {
    max-width: 860px;
    margin-top: 60px;
}

.w2-services .w2s-cta .see-whats-possible-title {
    margin-bottom: 57px;
    text-box: trim-both cap alphabetic;
}

.w2-services .w2s-btn-talk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13.4px;
    padding: 13.4px 26.8px;
    border: 1.341px solid #fff;
    border-radius: 134px;
    background: linear-gradient(161deg, #fbbc04 4.74%, #e35246 100%);
    color: #fff;
    font-family: "Work Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.w2-services .w2s-btn-talk img {
    width: 32.18px;
    height: 32.18px;
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1340px) {
    .w2-services .w2s-container {
        padding: 0 60px;
    }

    .w2-services .w2s-hiring-inner {
        padding-right: 40px;
    }
}

@media (max-width: 1200px) {
    .w2-services .w2s-hiring-text {
        width: auto;
        flex: 1 1 0;
    }

    .w2-services .w2s-card-title {
        font-size: 28px;
    }
}

/* --------------------------------------------------------------------------
   Mobile (single column, 20px gutters)
   -------------------------------------------------------------------------- */
@media (max-width: 1033px) {
    .w2-services .w2s-container {
        max-width: 600px;
        padding: 0 20px;
    }

    .w2-services .w2s-h2 {
        font-size: 34px;
    }

    /* Hero */
    .w2-services .w2s-hero {
        height: auto;
        padding-top: 32px;
        padding-bottom: 0;
    }

    .w2-services .w2s-hero-text {
        gap: 24px;
        padding: 0 20px;
    }

    .w2-services .w2s-hero-title {
        width: auto;
        max-width: none;
        font-size: 44px;
    }

    .w2-services .w2s-hero-title .w2s-grad {
        font-size: 46px;
    }

    .w2-services .w2s-hero-sub {
        font-size: 16px;
    }

    /* The illustration keeps its canvas (scaled to 72%); the section shows its top ~145px */
    .w2-services .w2s-hero-art {
        position: relative;
        top: auto;
        left: 50%;
        margin: 40px 0 -378px;
        transform: translateX(-50%) scale(0.72);
        transform-origin: 50% 0;
    }

    /* Hiring */
    .w2-services .w2s-hiring {
        padding: 64px 0;
    }

    .w2-services .w2s-hiring-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        min-height: 0;
        padding-right: 20px;
    }

    .w2-services .w2s-hiring-text {
        width: 100%;
        gap: 24px;
    }

    .w2-services .w2s-hiring-text p {
        font-size: 16px;
        line-height: 1.4;
    }

    .w2-services .w2s-collage-wrap {
        display: flex;
        justify-content: center;
        /* the canvas has empty space under the photos */
        margin: 0 0 -40px;
    }

    /* Scaled down to the column width by w2-services.js (zoom keeps layout size in sync) */
    .w2-services .w2s-collage {
        zoom: var(--w2s-collage-scale, 1);
    }

    /* Not included */
    .w2-services .w2s-not-included {
        padding: 64px 0;
    }

    .w2-services .w2s-not-included .w2s-container {
        gap: 20px;
    }

    .w2-services .w2s-not-included p {
        font-size: 16px;
        line-height: 1.4;
    }

    .w2-services .w2s-chips {
        gap: 10px;
    }

    .w2-services .w2s-chip {
        font-size: 15px;
        white-space: normal;
        text-align: left;
    }

    /* Hassle cards */
    .w2-services .w2s-hassle {
        padding: 64px 0;
    }

    .w2-services .w2s-hassle-glow {
        top: 150px;
        left: calc(50% - 760px);
        transform: scale(0.75);
        transform-origin: center top;
    }

    .w2-services .w2s-hassle-title {
        margin-bottom: 40px;
    }

    .w2-services .w2s-hassle-title br {
        display: none;
    }

    .w2-services .w2s-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .w2-services .w2s-card {
        gap: 20px;
        padding: 24px 20px;
    }

    .w2-services .w2s-card-title {
        font-size: 26px;
    }

    .w2-services .w2s-card-body {
        gap: 20px;
    }

    .w2-services .w2s-card-body p {
        font-size: 16px;
        line-height: 1.4;
    }

    /* CTA */
    .w2-services .w2s-cta.see-whats-possible.light {
        height: 560px;
    }

    .w2-services .w2s-cta .content-middle {
        margin-top: 0;
        padding: 0 20px;
    }

    .w2-services .w2s-cta .see-whats-possible-title,
    .w2-services .w2s-cta .see-whats-possible-title .pink-gradient {
        font-size: 40px;
    }

    .w2-services .w2s-cta .see-whats-possible-title {
        margin-bottom: 40px;
    }

    .w2-services .w2s-btn-talk {
        font-size: 18px;
    }
}
