/* ===== Reset & tokens ===== */
*,
*::before,
*::after {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

img,
svg,
video {
    display: block;
    max-width: 100%
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer
}

a {
    text-decoration: none;
    color: inherit
}

:root {
    /* --- palette from reference --- */
    --ink: #0b0b0b;
    --text: #23262a;
    --muted: #6b7280;
    --primary: #2d3dea;
    /* blue used for hover accents */
    --cta: #ffea00;
    --cta-ink: #0b0b0b;
    /* mint CTA pill */
    --white: #fff;
    --border: #e5e7eb;

    /* header behavior */
    --header-height: 72px;
    --header-bg-transp: rgba(255, 255, 255, 0);
    /* fully transparent on load */
    --header-bg-solid: rgba(255, 255, 255, .98);
    /* solid on scroll */
    --header-blur: 14px;

    /* glass panel */
    --glass-bg: rgba(245, 247, 250, .68);
    --glass-blur: 20px;
    --glass-radius: 26px;
    --glass-border: rgba(17, 24, 39, .08);
    --shadow: 0 18px 50px rgba(0, 0, 0, .14);

    /* type */
    --step-0: clamp(1rem, .2vw + 1rem, 1.1rem);
    --step-1: clamp(1.25rem, 1vw + 1.1rem, 1.6rem);
    --display: clamp(2.2rem, 5vw + 1rem, 6.1rem);
    /* hero headline */

    --container: 1680px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    /* fonts */
    --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Poppins", "Inter", system-ui, sans-serif;
}

/* base type */
body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--text);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    margin: 0 0 0.6em;
}


@media (min-width: 1200px) {
    .px-xl-7 {
        padding-left: 7rem !important;
        padding-right: 7rem !important;
    }
}

/* layout */
.l-container {
    max-width: var(--container);
    width: 100%;
    margin-inline: auto;
    padding-inline: 24px
}


.container {
    max-width: var(--container);
}

@media (min-width: 1200px) {
    .container {
        max-width: var(--container);
        padding-inline: 84px;
    }
}

.l-row {
    display: flex;
    gap: 16px;
    align-items: center
}

.l-between {
    justify-content: space-between
}

/* ===== Header ===== */
.c-header {
    position: fixed;
    inset: 0 0 auto 0;
    /* height: var(--header-height); */
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 24px 0;
    top: 34px;
    background: var(--header-bg-transp);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    transition: background .25s var(--ease), backdrop-filter .25s var(--ease), box-shadow .25s var(--ease);
    transition:
        background .25s var(--ease),
        backdrop-filter .25s var(--ease),
        box-shadow .25s var(--ease),
        transform .3s var(--ease);
    will-change: transform;
}

/* Slide up when hidden */
.c-header.is-hidden {
    transform: translateY(-100%);
}

.c-header.is-solid {
    background: var(--header-bg-solid);
    -webkit-backdrop-filter: blur(var(--header-blur));
    backdrop-filter: blur(var(--header-blur));
    box-shadow: 0 6px 30px rgba(0, 0, 0, .06);
    top: 0;
}

.c-header.is-solid .c-brand img {
    filter: invert(1)
}

.c-brand img {
    height: 60px;
    transition: all .25s var(--ease);
}

/* header link colors:
   - transparent state: white links (over hero video)
   - solid state: dark links */
.c-header .c-nav__link,
.c-header .c-link-arrow,
.c-header .c-lang a,
.c-header .c-nav-toggle__bar {
    color: #fff
}

.c-header.is-solid .c-nav__link,
.c-header.is-solid .c-link-arrow,
.c-header.is-solid .c-lang a {
    color: var(--ink)
}

.c-header.is-solid .c-nav-toggle__bar {
    background: #111
}

/* nav layout */
.c-nav {
    display: flex;
    align-items: center;
    gap: 18px
}

.c-nav__list {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0
}

.c-nav__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .65rem;
    font-weight: 500;
    font-size: 20px;
}

.c-link-arrow {
    transition: transform .2s var(--ease);
    opacity: .9
}

.c-nav__link:hover .c-link-arrow {
    transform: translateX(2px)
}

.c-nav__aside {
    display: flex;
    align-items: center;
    gap: 14px
}

.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-height: 44px; */
    padding: 18px 32px;
    border-radius: 999px;
    font-weight: 400;
    transition: all .22s var(--ease);
    font-size: 16px;
}

.c-button:hover {
    background: #000;
    color: #fff;
}

.c-button--cta {
    background: var(--cta);
    color: var(--cta-ink);
    /* box-shadow: 0 12px 30px rgba(34, 211, 166, .35) */
}

.c-flag {
    width: 18px;
    height: auto
}

/* dropdowns */
.has-sub {
    position: relative
}

.c-nav__link--btn {
    font: inherit;
    font-size: 20px;
    font-weight:600;
}

/* simple dropdown */
.c-sub {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    list-style: none;
    margin: 0;
    padding: .5rem;
    min-width: 240px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.99);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}

.has-sub:hover>.c-sub,
.has-sub.is-open>.c-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s
}

.c-sub__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .6rem .7rem;
    border-radius: 10px;
    color: var(--ink)
}

.c-sub__link:hover {
    background: rgba(255, 255, 255, .6)
}

/* MEGAPANEL */
.c-mega {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: min(680px, calc(100vw - 32px));
    padding: 14px;
    color: var(--ink);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.995);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}

.has-sub:hover>.c-mega,
.has-sub.is-open>.c-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s
}

.c-mega__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .25rem .5rem .25rem
}

.c-mega__header h3 {
    font: 700 1.25rem/1.2 "Poppins", "Inter", system-ui, sans-serif;
    margin: 0
}

.c-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: .25rem .5rem .75rem
}

.c-mega__col h4 {
    font: 700 1rem/1.2 "Poppins", "Inter", system-ui, sans-serif;
    margin: .25rem 0 .5rem
}

.c-mega__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem .7rem;
    border-radius: 12px;
    color: #1b1b1b
}

.c-mega__link:hover {
    background: rgba(255, 255, 255, .6)
}

.c-mega__link i {
    opacity: .85;
    transition: transform .18s var(--ease)
}

.c-mega__link:hover i {
    transform: translateX(2px)
}

/* mobile drawer */
.c-nav-toggle {
    display: none;
    position: relative;
    width: 32px;
    height: 32px
}

.c-nav-toggle__bar {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #fff;
    transition: transform .22s var(--ease), opacity .16s var(--ease), top .16s var(--ease)
}

.c-nav-toggle__bar:nth-child(1) {
    top: 9px
}

.c-nav-toggle__bar:nth-child(2) {
    top: 15px
}

.c-nav-toggle__bar:nth-child(3) {
    top: 21px
}

.c-header.is-menu-open .c-nav-toggle__bar:nth-child(1) {
    top: 15px;
    transform: rotate(45deg)
}

.c-header.is-menu-open .c-nav-toggle__bar:nth-child(2) {
    opacity: 0
}

.c-header.is-menu-open .c-nav-toggle__bar:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg)
}

.cm-nav {
    display: none;
}

@media (max-width: 980px) {
    .c-nav-toggle {
        display: inline-block
    }

    .c-nav__link {
        color: #fff;
    }

    .c-nav {
        position: fixed;
        inset: 0 0 0;
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        background: rgba(0, 0, 0, .9);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform .22s var(--ease);
        height: 100vh;
        padding-top: 100px;
        z-index: 999;
    }

    .cd-nav {
        display: none;
    }

    .cm-nav {
        display: block;
    }

    .c-header {
        top: 0;
        padding: 15px 0;
    }

    .c-brand img {
        height: 20px;
    }

    .c-nav.is-open {
        transform: translateX(0)
    }

    .c-nav__list {
        flex-direction: column;
        gap: .25rem;
        width: 100%
    }

    .c-nav__aside {
        flex-direction: column;
        align-self: stretch
    }

    .c-mega,
    .c-sub {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none
    }

    .has-sub>.c-mega,
    .has-sub>.c-sub {
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, .25);
        transition: max-height .22s var(--ease), padding .22s var(--ease)
    }

    .has-sub.is-open>.c-mega,
    .has-sub.is-open>.c-sub {
        max-height: 520px;
        padding: .5rem
    }
}


/* allows header to sit over it cleanly */
.hero-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    min-height: calc(100vh - 4rem);
    margin: 2rem;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02)
}

.hero-shine {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 340px at 70% 0%, rgba(255, 255, 255, .42), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .38) 65%, rgba(0, 0, 0, .48) 100%);
    pointer-events: none
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: min(100vh - 4rem);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(16px, 2vw + 12px, 28px)
}

.hero-title {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
    margin: 0 0 8px;
    font-size: 92px;
}

.c-button--cta {
    align-self: flex-start
}

@media (max-width: 980px) {
    .hero-wrap {
        min-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .hero-title {
        font-size: 62px;
    }
}

/* ===== Features Section ===== */
.l-section {
    padding: clamp(40px, 6vw, 72px) 0;
}

.s-features {
    width: 100%;
    position: relative;
}

.s-features__head {
    display: grid;
    gap: .5rem;
    justify-items: center;
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
    padding-inline: 8px;
}

.s-features__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 1.2vw + 1.4rem, 2.4rem);
    color: var(--ink);
    margin: 0;
}

.s-features__lead {
    max-width: 62ch;
    color: var(--muted);
    font-family: var(--font-body);
    margin: 0;
}

/* Grid */
.s-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 22px);
}

@media (max-width: 980px) {
    .s-features__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .s-features__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Feature Card */
.f-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: clamp(18px, 2vw, 22px);
    border-radius: 24px;
    transform: translateY(0);
    transition: all .18s var(--ease);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .1);
    background: rgba(245, 247, 250, .78);
}

.f-card .f-card__body {
    width: calc(100% - 85px);
    position: relative;
}

.f-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    /* background:
        radial-gradient(900px 340px at 60% -10%, rgba(255, 255, 255, .45), transparent 60%),
        radial-gradient(600px 260px at 10% 20%, rgba(255, 255, 255, .30), transparent 60%); */
}

.f-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 50px 60px rgba(0, 0, 0, .1);
    background: rgba(245, 247, 250, .8);
}

.f-card__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
}

.f-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.f-card__title {
    font: 700 1.1rem/1.2 var(--font-heading);
    color: #000000;
    margin: 0 0 15px 0;
    font-weight: 500;
    font-size: 24px;
}

.f-card__text {
    font: 400 1rem/1.6 var(--font-body);
    color: #43464b;
    margin: 0 0 .25rem;
}

.f-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--ink);
}

.f-card__link i {
    transition: transform .18s var(--ease);
}

.f-card__link:hover i {
    transform: translateX(3px);
}

/* Responsive tweaks */
@media (max-width: 980px) {
    .f-card {
        padding: 20px;
        border-radius: 22px;
    }

    .f-card__title {
        font-size: 1.05rem
    }

    .f-card__text {
        font-size: .98rem
    }
}

@media (max-width: 480px) {
    .s-features__title {
        font-size: 1.5rem
    }

    .s-features__lead {
        font-size: .95rem
    }

    .f-card {
        padding: 16px 14px;
        border-radius: 18px;
    }
}

/* ===== Logos slider ===== */
.s-logos {
    background: #fff;
}

.s-logos__head {
    margin-bottom: 28px;
    text-align: left;
    position: absolute;
    z-index: 3;
}

.s-logos__title {
    font-family: var(--font-heading, "Poppins", system-ui, sans-serif);
    font-weight: 400;
    font-size: clamp(1.1rem, 1vw + 1rem, 1.25rem);
    color: var(--ink, #0b0b0b);
    margin: 0;
    line-height: 1.4;
    font-size: 18px;
}

.logos-swiper:before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #fff 40%, hsla(0, 0%, 100%, 0));
    height: 100%;
    top: 0;
    max-width: 40rem;
    z-index: 2;
}

.logos-swiper:after {
    content: "";
    background: linear-gradient(270deg, #fff 20%, hsla(0, 0%, 100%, 0));
    right: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 100px;
    z-index: 2;
}

/* Swiper container */
.logos-swiper {
    width: 100%;
    overflow: hidden;
}

/* Slides */
.logos-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-swiper img {
    max-height: 65px;
    /* matches screenshot size */
    width: auto;
    object-fit: contain;
    display: block;
    filter: none;
    transition: transform .2s ease;
}

.logos-swiper img:hover {
    transform: scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 980px) {
    .s-logos__head {
        text-align: center;
        position: relative;
    }

    .logos-swiper:before {
        max-width: 75px;
    }

    .logos-swiper:after {
        max-width: 75px;
    }
}

/* INFO SECTION */
/* ---------- SECTION-SCOPED THEME ---------- */
.s-twoCol {
    /* local tokens for THIS section only */
    --bg-dark: #181818;
    --panel: #ffffff;
    --ink: #0b0b0b;
    --text: #d7dde5;
    --mint: #ffea00;
    --orange: #f38336;
    --pink: #f7b3ff;
    --blue: #97e0ff;
    --lime: #d5f56f;

    --radius-panel: 22px;
    --radius-video: 18px;
    --radius-tile: 14px;

    --display: clamp(2.2rem, 5.6vw, 4.6rem);

    background: var(--bg-dark);
    color: var(--text);
    padding: clamp(56px, 8vw, 96px) 0;
    /* fonts only applied to descendants of this section */
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* container & grid only inside section */
.s-twoCol .container {
    margin-inline: auto;
}

.s-twoCol .grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
}

/* LEFT: white panel with video and tiles */
.s-twoCol .panel {
    background: var(--panel);
    border-radius: var(--radius-panel);
    padding: clamp(12px, 1.6vw, 16px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.s-twoCol .videoWrap {
    position: relative;
    border-radius: var(--radius-video);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--orange);
}

.s-twoCol .videoWrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
}

.s-twoCol .tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(12px, 1.6vw, 16px);
    margin-top: clamp(12px, 2vw, 18px);
}

.s-twoCol .tile {
    height: 110px;
    border-radius: var(--radius-tile)
}

.s-twoCol .tile--pink {
    background: var(--pink)
}

.s-twoCol .tile--blue {
    background: var(--blue)
}

.s-twoCol .tile--lime {
    background: var(--lime)
}

/* RIGHT: copy */
.s-twoCol .copy {
    padding-inline: clamp(0px, 1vw, 8px)
}

.s-twoCol .title {
    margin: 0 0 clamp(14px, 1.2vw, 18px);
    font: 800 var(--display)/1.03 "Poppins", "Inter", system-ui, sans-serif;
    letter-spacing: -0.01em;
    color: var(--mint);
    font-size: 64px;
}

.s-twoCol .lead {
    margin: 0 0 8px;
    font: 600 clamp(1rem, .4vw + 1rem, 1.125rem)/1.7 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #d7f7ec;
    max-width: 50ch;
}

.s-twoCol .body {
    margin: 0;
    color: var(--text);
    max-width: 65ch;
}

/* buttons (scoped) */
.s-twoCol .ctaRow {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.s-twoCol .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .75rem 1.05rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font: 600 0.98rem/1 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    transition: transform .12s ease, box-shadow .22s ease, background .22s ease;
}

.s-twoCol .btn--mint {
    background: var(--mint);
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(57, 226, 180, .35)
}

.s-twoCol .btn--mint:hover {
    transform: translateY(-1px)
}

.s-twoCol .btn--ghost {
    background: #fff;
    color: var(--ink);
    border-color: #e7e7e7
}

/* -------- Responsive (still scoped) -------- */
@media (max-width: 1100px) {
    .s-twoCol .grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .s-twoCol .title {
        font-size: clamp(2rem, 7vw, 3.2rem)
    }
}

@media (max-width: 680px) {
    .s-twoCol .tiles {
        grid-template-columns: 1fr 1fr
    }

    .s-twoCol .tile {
        height: 96px
    }
}

@media (max-width: 420px) {
    .s-twoCol .tiles {
        grid-template-columns: 1fr
    }

    .s-twoCol .tile {
        height: 84px
    }
}

/* ===== Case Studies Bento Section ===== */
.case-bento {
    --radius: 20px;
    --gap: 16px;
    --dur: 220ms;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --lift: 2px;

    padding: clamp(56px, 8vw, 96px) 0;
    background: #fafafa;
}

.l-container {
    margin-inline: auto;
}

/* Header */
.case-head {
    text-align: left;
    margin-bottom: clamp(24px, 5vw, 56px);
}

.case-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
    color: #0b0b0b;
    margin: 0 0 12px;
}

.case-lead {
    font-family: "Inter", sans-serif;
    color: #555;
    max-width: 62ch;
    margin: 0 auto;
}

/* Grid row */
.case-row {
    display: flex;
    gap: var(--gap);
    align-items: stretch;
}

/* Tile */
.case-tile {
    position: relative;
    flex: 1 1 0;
    min-width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
    transition:
        flex-basis .6s var(--ease),
        flex-grow .6s var(--ease),
        transform .6s var(--ease),
        box-shadow .6s var(--ease);
    will-change: flex-basis, transform;
    text-decoration: none;
    color: inherit;
}

/* Media inside tile */
.case-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform var(--dur) var(--ease);
}

/* Meta overlay (text) */
.case-meta {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 70%);
    color: #fff;
}

.case-name {
    font-family: "Poppins", sans-serif;
    margin: 0 0 4px;
    width: max-content;
    background: var(--cta);
    padding: 9px;
    border-radius: 50px;
    font-weight: 300;
    font-size: 16px;
}

.case-title2 {
    font-family: "Inter", sans-serif;
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: normal;
    color: #fff;
}

.case-tile {
    height: 450px;
    position: relative;
    display: block;
}

/* Hover: stretch, lift, zoom, shine */
.case-row:hover .case-tile {
    flex: 1 1 0
}

.case-row .case-tile:hover {
    flex: 1.2 1 0;
    transform: translateY(calc(-1 * var(--lift)));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
}

.case-row .case-tile:hover .case-media {
    transform: scale(1.05)
}

.case-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* background:
        radial-gradient(900px 340px at 70% 0%, rgba(255, 255, 255, .42), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .12) 100%);
    opacity: 0; */
    transition: opacity var(--dur) var(--ease);
}

.case-tile:hover::after {
    opacity: .8
}

.case-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.case-nav {
    display: flex;
    gap: 10px;
}

.case-swiper {
    padding: 30px 0;
    background: #fff;
}

.swiper-slide-active .case-tile {
    transform: scale(1.05);
}

.case-nav button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--cta);
    color: #000;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.case-nav button:hover {
    background: var(--cta);
}

/* Counter */
.kpi {
    background: var(--cta);
    color: var(--ink);
}

.kpi__inner {
    width: min(1200px, 92%);
    margin-inline: auto;
    padding: clamp(48px, 12vw, 120px) 0;
    text-align: center;
}

.kpi__eyebrow {
    margin: 0 0 10px;
    font: 700 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing: .08em;
}

.kpi__headline {
    margin: 0 0 clamp(32px, 6vw, 72px);
    font-weight: 800;
    font-size: clamp(28px, 6.5vw, 72px);
    letter-spacing: .01em;
}

.kpi__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 5vw, 48px);
    align-items: start;
}

.kpi__item {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.kpi__value {
    font-weight: 800;
    font-size: clamp(48px, 10vw, 128px);
    line-height: 1;
    letter-spacing: .01em;
    /* subtle pop-in once animated */
    transform: translateY(8px);
    opacity: .85;
    transition: transform .6s ease, opacity .6s ease;
}

.kpi__value.is-done {
    transform: translateY(0);
    opacity: 1;
}

.kpi__label {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 18px);
    opacity: .9;
}

/* Stack on small screens */
@media (max-width: 720px) {
    .kpi__grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .case-row {
        flex-direction: column
    }

    .case-tile {
        min-height: 220px
    }

    .case-row:hover .case-tile,
    .case-row .case-tile:hover {
        flex: 1 1 auto
    }

    /* disable stretch on mobile */
}

/* Testimonial Section */
/* ========== Reviews Section (scoped) ========== */
.s-reviews {
    background: #fff;
    padding: clamp(56px, 8vw, 96px) 0;
    color: #0b0b0b;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* container helper (or remove if you already have one) */
.l-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.s-reviews__eyebrow {
    margin: 0 0 6px;
    color: #6b7280;
    font: 600 .9rem/1 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.s-reviews__title {
    margin: 0 0 10px;
    font: 800 clamp(2rem, 4.6vw, 4rem)/1.05 "Poppins", "Inter", system-ui, sans-serif;
    letter-spacing: -.01em;
}

.s-reviews__bar {
    display: block;
    width: 160px;
    height: 6px;
    border-radius: 6px;
    background: var(--cta);
    /* mint underline */
    margin: 12px 0 28px;
}

/* --- Swiper container --- */
.reviews-swiper {
    overflow: hidden;
}

.reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

.reviews-swiper .swiper-slide {
    height: auto;
}

/* Center-focus effect: side slides are smaller + blurred + faded */
.reviews-swiper .swiper-slide {
    transition:
        transform .28s cubic-bezier(.22, .61, .36, 1),
        filter .28s cubic-bezier(.22, .61, .36, 1),
        opacity .28s cubic-bezier(.22, .61, .36, 1);
    opacity: .35;
    filter: blur(3px);
    transform: scale(.96);
}

.reviews-swiper .swiper-slide-active {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

/* --- Review card --- */
.review-card {
    background: #efefef;
    border-radius: 28px;
    /* large pill corners like the ref */
    padding: 28px clamp(20px, 4vw, 40px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .08);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-text {
    margin: 0 0 16px;
    color: #0b0b0b;
    font: 700 clamp(1rem, 1.2vw + 1rem, 1.6rem)/1.45 "Inter", system-ui, sans-serif;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.review-author {
    font: 700 1rem/1 "Inter", system-ui, sans-serif;
    color: #0b0b0b;
}

/* Stars (Font Awesome) */
.review-stars i {
    color: #f6b10a;
    /* golden */
    font-size: 1rem;
    margin-right: 2px;
}

/* --- Navigation (centered under slider) --- */
.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 22px;
}

.reviews-prev,
.reviews-next {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .22s ease, color .16s ease, border-color .16s ease;
    color: #9ca3af;
}

.reviews-prev:hover,
.reviews-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
    color: #6b7280;
    border-color: #cbd5e1;
}

.reviews-prev i,
.reviews-next i {
    font-size: 1.1rem;
}

/* Optional pagination dots (hidden by default) */
.s-reviews .swiper-pagination {
    display: none;
}

/* --- Responsive tweaks --- */
@media (max-width: 980px) {
    .review-text {
        font-size: clamp(1rem, 3.2vw, 1.25rem);
    }
}

@media (max-width: 640px) {
    .s-reviews__bar {
        margin-bottom: 20px;
    }

    .reviews-nav {
        margin-top: 18px;
    }
}

/* Reduced motion: disable autoplay & heavy transitions */
@media (prefers-reduced-motion: reduce) {
    .reviews-swiper .swiper-slide {
        transition: none !important;
    }
}


/* ===== Contact (scoped) ===== */
.s-contact {
    --mint: #ffea00;
    --ink: #0b0b0b;
    --text: #3b3b3b;
    --muted: #6b7280;
    --bg: #efefef;
    /* soft grey behind the block (like screenshot) */
    --field-bg: #fff;
    --field-br: #e5e7eb;
    --radius-lg: 18px;
    --radius-sm: 12px;

    background: var(--bg);
    padding: clamp(56px, 8vw, 96px) 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
}

.s-contact__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 6vw, 72px);
    align-items: start;
}

/* Left column */
.s-contact__eyebrow {
    margin: 0 0 6px;
    color: #8a8f98;
    font: 600 .9rem/1 "Inter", system-ui, sans-serif;
}

.s-contact__title {
    margin: 0 0 10px;
    color: var(--ink);
    font: 800 clamp(2.2rem, 4.6vw, 4rem)/1.05 "Poppins", "Inter", system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.s-contact__bar {
    display: block;
    width: 160px;
    height: 6px;
    border-radius: 6px;
    background: var(--mint);
    margin: 12px 0 26px;
}

.s-contact__lead {
    margin: 0;
    max-width: 60ch;
    color: #444;
    line-height: 1.8;
}

/* Right column (form) */
.s-contact__form {
    width: 100%
}

.f-row {
    display: grid;
    gap: 8px;
    margin-bottom: 8px
}

.f-row.f-2 {
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.f-field {
    position: relative
}

.f-field input {
    width: 100%;
    /* height: 56px; */
    padding: 23px;
    border-radius: 5px;
    border: 1px solid var(--field-br);
    background: var(--field-bg);
    outline: none;
    font: 500 1rem/1 "Inter", system-ui, sans-serif;
    color: #0b0b0b;
    transition: border-color .15s ease, box-shadow .2s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
    font-size: 14px;
}

.f-field input::placeholder {
    color: #9aa3ad
}

.f-field input:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 24%, transparent);
}

/* Errors */
.f-error {
    position: relative;
    left: 12px;
    bottom: 0;
    font-size: .85rem;
    color: #dc2626;
    display: none;
}

/* Fine print */
.s-contact__fineprint {
    font-size: .92rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 10px 0 18px;
}

/* Button */
.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: .9rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}

.c-button--mint {
    background: var(--mint);
    color: #0b0b0b;
}

.c-button--mint:hover {
    transform: translateY(-1px)
}

/* Success message */
.s-contact__success {
    margin-top: 10px;
    color: #065f46;
    font-weight: 600;
    display: none;
}

/* Accessibility helpers */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 980px) {
    .s-contact__grid {
        grid-template-columns: 1fr
    }

    .f-row.f-2 {
        grid-template-columns: 1fr
    }
}

/* ===== Footer (Yabie-style, tuned for Digital Effekt) ===== */
.site-footer {
    --ink: #fff;
    --muted: #d1d5db;
    --bg: #000;
    --accent: #39e2b4;

    background: var(--bg);
    color: var(--ink);
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 10vw, 120px) 0 28px;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* giant wordmark in the back */
.footer-brand {
    position: relative;
    font-family: "Poppins", "Inter", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, .08);
    line-height: .9;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    text-transform: lowercase;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

/* content container */
.footer-container {
    position: relative;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 24px);
}

/* links grid */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 40px);
    align-items: start;
}

.footer-col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.footer-col a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* small heading like “Hör av dig!” */
.footer-heading {
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

/* socials (circle buttons) */
.footer-social li {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #0f0f0f;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
    transition: transform .12s ease, background .2s ease, border-color .2s ease;
}

.social:hover {
    transform: translateY(-1px);
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, .25);
}

.social i {
    font-size: 14px
}

/* credit line */
.footer-credit {
    margin-top: clamp(24px, 5vw, 40px);
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* so it breaks nicely on small screens */
    gap: 12px;
    color: var(--muted);
    font-size: .95rem;
}

.footer-credit a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-credit a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* responsive */
@media (max-width: 960px) {
    .footer-links {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 720px) {
    .footer-credit {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-social li {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 560px) {
    .footer-links {
        grid-template-columns: 1fr
    }

    .footer-brand {
        font-size: clamp(120px, 34vw, 220px)
    }

}

@media (max-width: 450px) {
    .hero-title {
        font-size: 34px;
    }

    .logos-swiper:before,
    .logos-swiper:after {
        display: none;
    }
}