﻿/* ═══════════════════════════════════════════════════════════════════
   SIEGWART — PRODUCTS V3  |  Refined Light Industrial
   FIXES: removed top padding, removed SW watermark, full responsive
═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --c-white: #ffffff;
    --c-snow: #f8f9fc;
    --c-fog: #eef1f7;
    --c-mist: #dde3ee;
    --c-steel: #8899b4;
    --c-slate: #4a5772;
    --c-ink: #111827;
    --c-navy: #002D62;
    --c-blue: #0060d6;
    --c-blue-lt: #e8f1fd;
    --c-blue-mid: #ccddf8;
    --c-accent: #0096FF;
    --f-display: 'DM Serif Display', Georgia, serif;
    --f-body: 'DM Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 2px 16px rgba(0,45,98,.07), 0 1px 3px rgba(0,0,0,.04);
    --shadow-lift: 0 12px 48px rgba(0,45,98,.14), 0 4px 12px rgba(0,0,0,.06);
    --shadow-xl: 0 24px 80px rgba(0,45,98,.18);
}

.sw-hero *, .sw-products * {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.sw-hero {
    background: var(--c-white);
    padding: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--c-mist);
}

.sw-hero__noise {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--c-mist) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .35;
    pointer-events: none;
}

/* ── FIX: شلنا الـ SW watermark ── */
.sw-hero__watermark {
    display: none;
}

.sw-hero__grid-lines {
    display: none;
}

.sw-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--c-accent), var(--c-blue));
    z-index: 3;
}

[dir="rtl"] .sw-hero::before {
    left: auto;
    right: 0;
}

/* ── FIX: شلنا الـ padding-top الزيادة ── */
.sw-hero .container {
    padding-top: 48px; /* كان 100px — خفضناه */
    padding-bottom: 52px;
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.sw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-steel);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: .08em;
    flex-wrap: wrap;
}

    .sw-breadcrumb a {
        color: var(--c-steel);
        text-decoration: none;
        transition: color .18s;
    }

        .sw-breadcrumb a:hover {
            color: var(--c-accent);
        }

    .sw-breadcrumb span[aria-current] {
        color: var(--c-accent);
    }

[dir="rtl"] .sw-breadcrumb {
    flex-direction: row-reverse;
}

/* Eyebrow */
.sw-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

[dir="rtl"] .sw-hero__eyebrow {
    flex-direction: row-reverse;
}

.sw-hero__line {
    width: 36px;
    height: 2px;
    background: var(--c-accent);
    border-radius: 1px;
    flex-shrink: 0;
}

.sw-hero__label {
    font-family: var(--f-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-accent);
}

/* Title */
.sw-hero__title {
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--c-ink);
    margin: 0 0 24px;
    letter-spacing: -.02em;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sw-hero__title-outline {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--c-mist);
}

.sw-hero__title-solid {
    display: block;
}

/* Sub */
.sw-hero__sub {
    font-family: var(--f-body);
    font-size: clamp(.88rem, 1.4vw, 1rem);
    font-weight: 400;
    color: var(--c-slate);
    max-width: 480px;
    line-height: 1.78;
    margin-bottom: 40px;
}

/* Stats */
.sw-hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.sw-hero__stat {
    display: flex;
    flex-direction: column;
    padding: 0 32px 0 0;
    margin-right: 32px;
    border-right: 1px solid var(--c-mist);
}

    .sw-hero__stat:last-child {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

.sw-hero__stat-num {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 400;
    color: var(--c-blue);
    line-height: 1;
}

.sw-hero__stat-lbl {
    font-family: var(--f-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-steel);
    margin-top: 4px;
}

[dir="rtl"] .sw-hero__stat {
    padding-right: 0;
    padding-left: 32px;
    margin-right: 0;
    margin-left: 32px;
    border-right: none;
    border-left: 1px solid var(--c-mist);
}

    [dir="rtl"] .sw-hero__stat:last-child {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }

/* ═══════════════════════════════════════════════════════════════════
   TOOLBAR (Search + Filter)
═══════════════════════════════════════════════════════════════════ */
.sw-toolbar {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-mist);
    position: sticky;
    top: var(--h-height-sm, 68px);
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,45,98,.05);
}

    .sw-toolbar .container {
        padding-top: 14px;
        padding-bottom: 14px;
    }

.sw-toolbar__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Search */
.sw-search {
    position: relative;
    flex: 0 0 260px;
    max-width: 100%;
}

.sw-search__icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--c-steel);
    font-size: 13px;
    pointer-events: none;
}

[dir="rtl"] .sw-search__icon {
    left: auto;
    right: 12px;
}

.sw-search__input {
    width: 100%;
    height: 40px;
    padding: 0 38px 0 36px;
    border: 1.5px solid var(--c-mist);
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    background: var(--c-snow);
    color: var(--c-ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

[dir="rtl"] .sw-search__input {
    padding: 0 36px 0 38px;
}

.sw-search__input:focus {
    border-color: var(--c-accent);
    background: var(--c-white);
    box-shadow: 0 0 0 3px rgba(0,150,255,.12);
}

.sw-search__input::placeholder {
    color: var(--c-steel);
}

.sw-search__clear {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--c-steel);
    cursor: pointer;
    padding: 4px;
    font-size: 12px;
    transition: color .2s;
    display: flex;
    align-items: center;
}

[dir="rtl"] .sw-search__clear {
    right: auto;
    left: 10px;
}

.sw-search__clear:hover {
    color: var(--c-ink);
}

/* Filters */
.sw-filters {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    flex: 1;
}

.sw-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--c-mist);
    background: var(--c-snow);
    color: var(--c-slate);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all .18s ease;
}

    .sw-filter:hover {
        border-color: var(--c-accent);
        color: var(--c-blue);
        background: var(--c-blue-lt);
    }

    .sw-filter.active {
        background: var(--c-navy);
        border-color: var(--c-navy);
        color: var(--c-white);
        box-shadow: 0 3px 10px rgba(0,30,69,.2);
    }

        .sw-filter.active .sw-filter__count {
            background: rgba(255,255,255,.2);
            color: var(--c-white);
        }

.sw-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--c-mist);
    color: var(--c-slate);
    font-size: 11px;
    font-weight: 700;
    transition: all .18s;
}

/* Result bar */
.sw-result-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--c-steel);
}

.sw-result-bar__reset {
    border: none;
    background: none;
    color: var(--c-accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color .18s;
}

    .sw-result-bar__reset:hover {
        color: var(--c-blue);
    }

/* No results */
.sw-search-empty {
    padding: 80px 20px;
}

.sw-empty__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-ink);
    margin: 0 0 8px;
}

.sw-empty__sub {
    font-size: .9rem;
    color: var(--c-steel);
    margin: 0;
}

.sw-empty .bi {
    font-size: 3rem;
    color: var(--c-mist);
}

/* Hidden when filtered */
.sw-product-card[hidden], .sw-cat-section[hidden] {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCTS SECTION
═══════════════════════════════════════════════════════════════════ */
.sw-products {
    background: var(--c-snow);
    font-family: var(--f-body);
    overflow-x: hidden;
}

/* Category label */
.sw-cat-label {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding: 64px 64px 36px;
    flex-wrap: wrap;
}

    .sw-cat-label.rtl {
        flex-direction: row-reverse;
        text-align: right;
    }

.sw-cat-label__index {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 400;
    color: var(--c-blue-mid);
    line-height: 1;
    min-width: 56px;
    user-select: none;
}

.sw-cat-label__text {
    flex: 1;
    min-width: 0;
}

.sw-cat-label__pre {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 6px;
}

.sw-cat-label__name {
    font-family: var(--f-display);
    font-size: clamp(1.3rem, 2.8vw, 2.6rem);
    font-weight: 400;
    color: var(--c-ink);
    margin: 0;
    line-height: 1.1;
    word-wrap: break-word;
}

.sw-cat-label__count {
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-steel);
    background: var(--c-blue-lt);
    padding: 5px 13px;
    border-radius: 20px;
    white-space: nowrap;
    margin-bottom: 5px;
    border: 1px solid var(--c-blue-mid);
    flex-shrink: 0;
}

/* Tag */
.sw-tag {
    display: inline-block;
    font-family: var(--f-body);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-blue);
    padding: 3px 11px;
    border-radius: 3px;
    margin-bottom: 14px;
}

/* ── SOLO ── */
.sw-solo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    margin: 0 64px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--c-white);
    border: 1px solid var(--c-mist);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

    .sw-solo:hover {
        box-shadow: var(--shadow-xl);
        transform: translateY(-4px);
    }

.sw-solo__img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--c-fog);
    min-height: 280px;
}

.sw-solo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
    transform: scale(1.03);
}

.sw-solo:hover .sw-solo__img {
    transform: scale(1.09);
}

.sw-solo__placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--c-mist);
    background: linear-gradient(135deg, var(--c-fog), var(--c-white));
}

.sw-solo__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(255,255,255,.1));
    pointer-events: none;
}

.sw-solo__body {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--c-white);
}

    .sw-solo__body::before {
        content: '';
        position: absolute;
        left: 0;
        top: 36px;
        bottom: 36px;
        width: 3px;
        background: linear-gradient(to bottom, var(--c-accent), var(--c-blue));
        border-radius: 0 2px 2px 0;
        opacity: 0;
        transition: opacity .4s var(--ease);
    }

.sw-solo:hover .sw-solo__body::before {
    opacity: 1;
}

.sw-solo__title {
    font-family: var(--f-display);
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    font-weight: 400;
    color: var(--c-ink);
    line-height: 1.15;
    margin: 0 0 18px;
    transition: color .3s;
    word-wrap: break-word;
}

.sw-solo:hover .sw-solo__title {
    color: var(--c-blue);
}

.sw-solo__desc {
    font-size: clamp(.86rem, 1.2vw, .96rem);
    color: var(--c-slate);
    line-height: 1.78;
    margin-bottom: 28px;
    flex: 1;
}

.sw-solo__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-blue);
    padding: 12px 24px;
    border-radius: 8px;
    align-self: flex-start;
    transition: background .3s, gap .3s, transform .3s var(--ease);
    box-shadow: 0 4px 14px rgba(0,96,214,.3);
}

.sw-solo:hover .sw-solo__cta {
    background: var(--c-navy);
    gap: 15px;
    transform: translateX(4px);
}

.sw-solo .rtl {
    text-align: right;
}

    .sw-solo .rtl::before {
        left: auto;
        right: 0;
        border-radius: 2px 0 0 2px;
    }

    .sw-solo .rtl .sw-solo__cta {
        align-self: flex-end;
    }

/* ── DUO ── */
.sw-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 0 64px;
}

.sw-duo__item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--c-mist);
    background: var(--c-white);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

    .sw-duo__item:hover {
        box-shadow: var(--shadow-lift);
        transform: translateY(-6px);
    }

.sw-duo__img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 62%;
    overflow: hidden;
    background: var(--c-fog);
}

.sw-duo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
    transform: scale(1.04);
}

.sw-duo__item:hover .sw-duo__img {
    transform: scale(1.1);
}

.sw-duo__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--c-mist);
}

.sw-duo__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--c-white) 36%, transparent 64%);
    pointer-events: none;
}

.sw-duo__body {
    position: relative;
    z-index: 2;
    padding: 22px 26px 26px;
    background: transparent;
}

.sw-duo__title {
    font-family: var(--f-display);
    font-size: clamp(1.1rem, 1.9vw, 1.65rem);
    font-weight: 400;
    color: var(--c-ink);
    margin: 0 0 9px;
    line-height: 1.2;
    transition: color .3s;
}

.sw-duo__item:hover .sw-duo__title {
    color: var(--c-blue);
}

.sw-duo__desc {
    font-size: .87rem;
    color: var(--c-slate);
    line-height: 1.65;
    margin: 0 0 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s var(--ease), opacity .35s var(--ease);
}

.sw-duo__item:hover .sw-duo__desc {
    max-height: 80px;
    opacity: 1;
}

.sw-duo__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--c-mist);
    border-radius: 50%;
    color: var(--c-blue);
    background: var(--c-white);
    transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.sw-duo__item:hover .sw-duo__arrow {
    background: var(--c-blue);
    border-color: var(--c-blue);
    color: var(--c-white);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,96,214,.3);
}

.sw-duo__body.rtl {
    text-align: right;
}

.sw-duo__item:hover .sw-duo__body.rtl .sw-duo__arrow {
    transform: translateX(-4px);
}

/* ── MOSAIC ── */
.sw-mosaic {
    display: grid;
    gap: 18px;
    padding: 0 64px;
}

    .sw-mosaic[data-count="3"] {
        grid-template-columns: 1.55fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

        .sw-mosaic[data-count="3"] .sw-tile--hero {
            grid-row: 1/3;
        }

    .sw-mosaic[data-count="4"] {
        grid-template-columns: 1.4fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

        .sw-mosaic[data-count="4"] .sw-tile--hero {
            grid-row: 1/3;
        }

    .sw-mosaic[data-count="5"] {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: auto auto;
    }

        .sw-mosaic[data-count="5"] .sw-tile--hero {
            grid-column: 1/3;
        }

    .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) {
        grid-template-columns: repeat(3,1fr);
    }

        .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) .sw-tile--hero {
            grid-column: 1/3;
        }

.sw-tile {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--c-mist);
    background: var(--c-white);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

    .sw-tile:hover {
        box-shadow: var(--shadow-lift);
        transform: translateY(-5px);
    }

.sw-tile--hero {
    min-height: 460px;
}

.sw-tile__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--c-fog);
}

.sw-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
    transform: scale(1.04);
    filter: brightness(.92);
}

.sw-tile:hover .sw-tile__img {
    transform: scale(1.1);
    filter: brightness(.82);
}

.sw-tile__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--c-mist);
    background: linear-gradient(135deg, var(--c-fog), var(--c-blue-lt));
}

.sw-tile__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,.97) 0%, rgba(255,255,255,.7) 30%, transparent 60%);
    pointer-events: none;
}

.sw-tile--hero .sw-tile__veil {
    background: linear-gradient(to top, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 35%, transparent 65%);
}

.sw-tile__body {
    position: relative;
    z-index: 2;
    padding: 18px 22px;
}

.sw-tile--hero .sw-tile__body {
    padding: 28px 32px;
}

.sw-tile__title {
    font-family: var(--f-display);
    font-size: clamp(.95rem, 1.5vw, 1.35rem);
    font-weight: 400;
    color: var(--c-ink);
    margin: 0 0 8px;
    line-height: 1.2;
    transition: color .3s;
    word-wrap: break-word;
}

.sw-tile--hero .sw-tile__title {
    font-size: clamp(1.15rem, 2.1vw, 1.9rem);
}

.sw-tile:hover .sw-tile__title {
    color: var(--c-blue);
}

.sw-tile__desc {
    font-size: .84rem;
    color: var(--c-slate);
    line-height: 1.65;
    margin: 0 0 14px;
}

.sw-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-blue);
    transition: gap .3s, color .3s;
}

.sw-tile:hover .sw-tile__cta {
    gap: 11px;
    color: var(--c-navy);
}

.sw-tile__body.rtl {
    text-align: right;
}

    .sw-tile__body.rtl .sw-tile__cta {
        flex-direction: row-reverse;
    }

/* Divider */
.sw-divider {
    height: 1px;
    background: var(--c-mist);
    margin: 64px 64px 0;
}

/* Empty */
.sw-empty {
    text-align: center;
    padding: 100px 20px;
    font-family: var(--f-body);
}

.sw-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    color: var(--c-mist);
}

    .sw-empty__icon svg {
        width: 100%;
        height: 100%;
    }

.sw-empty p {
    font-size: 1rem;
    color: var(--c-steel);
}

/* Scroll reveal */
.sw--hidden {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.sw--visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.sw-tile:nth-child(1).sw--hidden {
    transition-delay: 0ms;
}

.sw-tile:nth-child(2).sw--hidden {
    transition-delay: 65ms;
}

.sw-tile:nth-child(3).sw--hidden {
    transition-delay: 130ms;
}

.sw-tile:nth-child(4).sw--hidden {
    transition-delay: 195ms;
}

.sw-tile:nth-child(5).sw--hidden {
    transition-delay: 260ms;
}

.sw-tile:nth-child(6).sw--hidden {
    transition-delay: 325ms;
}

.sw-duo__item:nth-child(2).sw--hidden {
    transition-delay: 90ms;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */

/* Large desktop */
@media (min-width: 1400px) {
    .sw-solo {
        margin: 0 80px;
    }

    .sw-duo, .sw-mosaic {
        padding: 0 80px;
    }

    .sw-cat-label {
        padding: 72px 80px 40px;
    }

    .sw-divider {
        margin: 72px 80px 0;
    }
}

/* Tablet landscape */
@media (max-width: 1100px) {
    .sw-solo {
        margin: 0 40px;
    }

    .sw-duo, .sw-mosaic {
        gap: 14px;
        padding: 0 40px;
    }

    .sw-cat-label {
        padding: 52px 40px 28px;
    }

    .sw-divider {
        margin: 52px 40px 0;
    }
}

/* Tablet portrait */
@media (max-width: 860px) {
    .sw-hero .container {
        padding-top: 36px;
        padding-bottom: 40px;
    }

    .sw-hero__sub {
        margin-bottom: 28px;
    }

    .sw-solo {
        grid-template-columns: 1fr;
        grid-template-rows: 260px auto;
        margin: 0 24px;
    }

    .sw-solo__body {
        padding: 32px 28px;
    }

        .sw-solo__body::before {
            display: none;
        }

    .sw-solo__desc {
        margin-bottom: 20px;
    }

    .sw-duo {
        grid-template-columns: 1fr;
        padding: 0 24px;
        gap: 14px;
    }

    .sw-duo__item {
        min-height: 320px;
    }

    .sw-duo__desc {
        max-height: 80px;
        opacity: 1;
    }

    .sw-mosaic, .sw-mosaic[data-count="3"], .sw-mosaic[data-count="4"],
    .sw-mosaic[data-count="5"],
    .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        padding: 0 24px;
        gap: 12px;
    }

        .sw-mosaic .sw-tile--hero,
        .sw-mosaic[data-count="3"] .sw-tile--hero,
        .sw-mosaic[data-count="4"] .sw-tile--hero,
        .sw-mosaic[data-count="5"] .sw-tile--hero,
        .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) .sw-tile--hero {
            grid-column: 1/-1 !important;
            grid-row: auto !important;
            min-height: 300px;
        }

    .sw-tile {
        min-height: 220px;
    }

    .sw-tile--hero {
        min-height: 300px;
    }

    .sw-cat-label {
        padding: 40px 24px 22px;
        gap: 12px;
    }

    .sw-cat-label__index {
        font-size: 2.8rem;
        min-width: 48px;
    }

    .sw-divider {
        margin: 44px 24px 0;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .sw-hero .container {
        padding-top: 28px;
        padding-bottom: 32px;
    }

    .sw-hero__title {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .sw-hero__eyebrow {
        margin-bottom: 16px;
        gap: 9px;
    }

    .sw-hero__line {
        width: 24px;
    }

    .sw-hero__label {
        font-size: .64rem;
    }

    .sw-hero__sub {
        margin-bottom: 24px;
        max-width: 100%;
    }

    .sw-hero__stat {
        padding-right: 18px;
        margin-right: 18px;
    }

    .sw-solo {
        grid-template-columns: 1fr;
        grid-template-rows: 210px auto;
        margin: 0 16px;
        border-radius: 14px;
    }

    .sw-solo__placeholder {
        min-height: 210px;
        font-size: 3.2rem;
    }

    .sw-solo__body {
        padding: 26px 22px;
    }

    .sw-solo__cta {
        font-size: .74rem;
        padding: 11px 20px;
        width: 100%;
        justify-content: center;
    }

    .sw-duo {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 12px;
    }

    .sw-duo__item {
        min-height: 290px;
        border-radius: 14px;
    }

    .sw-duo__body {
        padding: 18px 20px 22px;
    }

    .sw-mosaic, .sw-mosaic[data-count="3"], .sw-mosaic[data-count="4"],
    .sw-mosaic[data-count="5"],
    .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) {
        grid-template-columns: 1fr !important;
        padding: 0 16px;
        gap: 12px;
    }

        .sw-mosaic .sw-tile--hero,
        .sw-mosaic[data-count="3"] .sw-tile--hero,
        .sw-mosaic[data-count="4"] .sw-tile--hero,
        .sw-mosaic[data-count="5"] .sw-tile--hero,
        .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) .sw-tile--hero {
            grid-column: auto !important;
            min-height: 260px;
        }

    .sw-tile {
        min-height: 220px;
        border-radius: 14px;
    }

    .sw-tile--hero {
        min-height: 260px;
    }

        .sw-tile__body, .sw-tile--hero .sw-tile__body {
            padding: 16px 18px;
        }

    .sw-cat-label {
        padding: 32px 16px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

        .sw-cat-label.rtl {
            align-items: flex-end;
        }

    .sw-cat-label__index {
        font-size: 2rem;
        min-width: auto;
    }

    .sw-cat-label__count {
        margin-bottom: 0;
    }

    .sw-divider {
        margin: 36px 16px 0;
    }

    .sw-toolbar__inner {
        gap: 10px;
    }

    .sw-search {
        flex: 1 1 100%;
    }

    .sw-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

        .sw-filters::-webkit-scrollbar {
            display: none;
        }
}

/* Extra small */
@media (max-width: 400px) {
    .sw-hero .container {
        padding-top: 22px;
        padding-bottom: 26px;
    }

    .sw-hero__title {
        font-size: clamp(1.7rem, 12vw, 2.6rem);
    }

    .sw-hero__sub {
        font-size: .84rem;
        margin-bottom: 20px;
    }

    .sw-hero__stat {
        padding-right: 14px;
        margin-right: 14px;
    }

    .sw-hero__stat-num {
        font-size: 1.5rem;
    }

    .sw-solo {
        margin: 0 12px;
        grid-template-rows: 180px auto;
        border-radius: 12px;
    }

    .sw-solo__body {
        padding: 22px 18px;
    }

    .sw-duo {
        padding: 0 12px;
    }

    .sw-duo__item {
        min-height: 250px;
        border-radius: 12px;
    }

    .sw-mosaic, .sw-mosaic[data-count="3"], .sw-mosaic[data-count="4"],
    .sw-mosaic[data-count="5"],
    .sw-mosaic:not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) {
        padding: 0 12px;
    }

    .sw-tile {
        min-height: 210px;
        border-radius: 12px;
    }

    .sw-tile--hero {
        min-height: 250px;
    }

        .sw-tile__body, .sw-tile--hero .sw-tile__body {
            padding: 14px 16px;
        }

    .sw-cat-label {
        padding: 28px 12px 14px;
    }

    .sw-cat-label__index {
        font-size: 1.7rem;
    }

    .sw-cat-label__name {
        font-size: 1.15rem;
    }

    .sw-divider {
        margin: 28px 12px 0;
    }
}

/* RTL hero */
[dir="rtl"] .sw-hero::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .sw-hero__eyebrow {
    flex-direction: row-reverse;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

@media (prefers-contrast: high) {
    .sw-solo, .sw-duo__item, .sw-tile {
        border: 2px solid currentColor;
    }
}

/* Print */
@media print {
    .sw-hero {
        display: none;
    }

    .sw-solo, .sw-duo__item, .sw-tile {
        box-shadow: none !important;
        border: 1px solid var(--c-mist);
        break-inside: avoid;
    }

    .sw-solo__veil, .sw-duo__veil, .sw-tile__veil {
        display: none;
    }
}
