.brands-page {
    --brands-dark: #111318;
    --brands-orange: var(--theme-color, #ff6b35);
    --brands-ink: #17191d;
    --brands-muted: #686c74;
    --brands-line: #e1e2e4;
    background: #ffffff;
}

/* ---- Hero ---- */
.brands-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 116px 0 108px;
    background:
        linear-gradient(118deg, rgba(255, 107, 53, 0.08), transparent 38%),
        var(--brands-dark);
}

.brands-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent, #000 50%, #000);
}

.brands-hero__glow {
    position: absolute;
    z-index: -1;
    right: -180px;
    bottom: -320px;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(255, 107, 53, 0.035),
        0 0 0 180px rgba(255, 107, 53, 0.025);
}

.brands-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--brands-orange);
    font: 700 12px/1.2 var(--secondary-font, "Inter", sans-serif);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brands-eyebrow > span {
    width: 34px;
    height: 2px;
    background: currentColor;
}

.brands-eyebrow--light {
    color: #ff8b60;
}

.brands-hero h1 {
    max-width: 920px;
    color: #ffffff;
    font-size: clamp(46px, 5.2vw, 74px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.brands-hero h1 em {
    color: var(--brands-orange);
    font-style: normal;
}

.brands-hero__lead {
    max-width: 690px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
    line-height: 1.75;
}

.brands-principles {
    margin-left: auto;
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.brands-principle {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brands-principle:last-child {
    border-bottom: 0;
}

.brands-principle span {
    min-width: 56px;
    color: var(--brands-orange);
    font-size: 14px;
    font-weight: 800;
}

.brands-principle strong {
    color: #ffffff;
    font: 500 15px/1.45 var(--secondary-font, "Inter", sans-serif);
}

/* ---- Section heading ---- */
.brands-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
}

.brands-section-heading > div {
    max-width: 650px;
}

.brands-section-heading h2 {
    color: var(--brands-ink);
    font-size: clamp(36px, 3.6vw, 52px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.brands-section-heading > p {
    max-width: 460px;
    padding-bottom: 4px;
    color: var(--brands-muted);
    font-size: 15px;
    line-height: 1.75;
}

.brands-section-heading--intro {
    margin-bottom: 96px;
}

/* ---- Brand catalog ---- */
.brands-catalog-section {
    padding: 124px 0 132px;
    background: #f4f4f2;
}

.brands-group + .brands-group {
    margin-top: 94px;
    padding-top: 94px;
    border-top: 1px solid var(--brands-line);
}

.brands-group__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.brands-group__heading > div {
    max-width: 560px;
}

.brands-group__heading > div > span {
    display: block;
    margin-bottom: 10px;
    color: var(--brands-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brands-group__heading h3 {
    color: var(--brands-ink);
    font-size: clamp(28px, 2.7vw, 38px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.brands-group__heading > p {
    max-width: 500px;
    color: var(--brands-muted);
    font-size: 14px;
    line-height: 1.75;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.brand-card {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 150px;
    padding: 26px;
    border: 1px solid #e1e1df;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(18, 20, 24, 0.045);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 53, 0.34);
    box-shadow: 0 25px 56px rgba(18, 20, 24, 0.1);
}

.brand-card__logo {
    display: flex;
    flex: 0 0 94px;
    align-items: center;
    justify-content: center;
    width: 94px;
    height: 94px;
    margin-right: 22px;
    border: 1px solid #ebebe8;
    border-radius: 19px;
    background: #f8f8f6;
    transition: background 250ms ease, border-color 250ms ease;
}

.brand-card:hover .brand-card__logo {
    border-color: rgba(255, 107, 53, 0.22);
    background: rgba(255, 107, 53, 0.055);
}

.brand-card__logo img {
    display: block;
    width: 72px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    transition: transform 250ms ease;
}

.brand-card:hover .brand-card__logo img {
    transform: scale(1.06);
}

.brand-card__content {
    min-width: 0;
}

.brand-card__content > span {
    display: block;
    margin-bottom: 7px;
    color: var(--brands-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.brand-card__content h4 {
    overflow-wrap: anywhere;
    color: var(--brands-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.brand-card__content p {
    margin-top: 6px;
    color: var(--brands-muted);
    font-size: 12px;
    line-height: 1.55;
}

/* ---- Partnership callout ---- */
.brands-partnership-section {
    padding: 120px 0;
}

.brands-partnership {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: 80px;
    padding: 66px 70px;
    border-radius: 28px;
    background: var(--brands-dark);
}

.brands-partnership::after {
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -120px;
    width: 420px;
    height: 420px;
    border: 75px solid rgba(255, 107, 53, 0.08);
    border-radius: 50%;
    content: "";
}

.brands-partnership__content > span {
    display: block;
    margin-bottom: 13px;
    color: #ff8b60;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.brands-partnership__content h2 {
    max-width: 700px;
    color: #ffffff;
    font-size: clamp(34px, 3.5vw, 50px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.brands-partnership__content p {
    max-width: 650px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 15px;
    line-height: 1.75;
}

.brands-partnership__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 14px 22px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--brands-orange);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.brands-partnership__button:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 107, 53, 0.24);
}

.brands-partnership__benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brands-partnership__benefits li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.brands-partnership__benefits li:last-child {
    border-bottom: 0;
}

.brands-partnership__benefits i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--brands-orange);
    background: rgba(255, 107, 53, 0.1);
    font-size: 10px;
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1199px) {
    .brands-hero h1 {
        font-size: 58px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brands-partnership {
        gap: 50px;
        padding: 58px 54px;
    }
}

@media only screen and (max-width: 991px) {
    .brands-hero {
        padding: 94px 0 88px;
    }

    .brands-principles {
        margin-top: 50px;
        margin-left: 0;
    }

    .brands-section-heading,
    .brands-group__heading {
        display: block;
    }

    .brands-section-heading > p,
    .brands-group__heading > p {
        margin-top: 22px;
    }

    .brands-section-heading--intro {
        margin-bottom: 74px;
    }

    .brands-partnership {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .brands-hero {
        padding: 78px 0 74px;
    }

    .brands-hero h1 {
        font-size: 43px;
        line-height: 1.08;
    }

    .brands-hero__lead {
        font-size: 16px;
    }

    .brands-principles {
        padding: 8px 22px;
    }

    .brands-catalog-section {
        padding: 84px 0 90px;
    }

    .brands-section-heading h2 {
        font-size: 36px;
    }

    .brands-group + .brands-group {
        margin-top: 70px;
        padding-top: 70px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: 140px;
    }

    .brands-partnership-section {
        padding: 80px 0;
    }

    .brands-partnership {
        padding: 44px 32px;
        border-radius: 22px;
    }
}

@media only screen and (max-width: 575px) {
    .brands-hero h1 {
        font-size: 37px;
    }

    .brands-principle {
        align-items: flex-start;
    }

    .brand-card {
        padding: 22px;
    }

    .brand-card__logo {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
        margin-right: 18px;
    }

    .brand-card__logo img {
        width: 62px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-card,
    .brand-card__logo,
    .brand-card__logo img,
    .brands-partnership__button {
        transition: none;
    }
}
