@font-face {
    font-family: "NewOrder";
    src: url("../fonts/NewOrder-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "NewOrder";
    src: url("../fonts/NewOrder-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "NewOrder";
    src: url("../fonts/NewOrder-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.bra-areas {
    --bra-black: #050505;
    --bra-yellow: #e6e51f;
    --bra-red: #ed1b2f;
    --bra-paper: #f3f3f3;
    --bra-container: 1180px;
    width: 100%;
    color: var(--bra-black);
    background: #fff;
    font-family: "NewOrder", Arial, sans-serif;
    overflow: hidden;
}

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

.bra-areas__container {
    width: min(var(--bra-container), calc(100% - 40px));
    margin-inline: auto;
}

.bra-areas__hero {
    position: relative;
    min-height: 245px;
    padding: 54px 0 110px;
    overflow: hidden;
    isolation: isolate;
    background: var(--bra-black);
}

.bra-areas__hero h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font: 700 clamp(40px, 5vw, 62px)/1.05 "NewOrder", Arial, sans-serif;
    letter-spacing: -0.035em;
    text-align: center;
}

.bra-areas__shape {
    position: absolute;
    pointer-events: none;
}

.bra-areas__shape--red {
    top: -92px;
    left: -78px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--bra-red);
}

.bra-areas__shape--white {
    right: 11%;
    bottom: -1px;
    width: 118px;
    height: 180px;
    border-radius: 68px 68px 0 0;
    background: #fff;
}

.bra-areas__shape--yellow {
    top: 0;
    right: 0;
    width: max(8vw, 70px);
    height: 100%;
    background: var(--bra-yellow);
}

.bra-areas__body {
    position: relative;
    z-index: 3;
    padding-bottom: 64px;
    background: #fff;
}

.bra-areas__nav-wrap {
    position: relative;
    margin-top: -76px;
    background: transparent !important;
    box-shadow: none !important;
}

.bra-areas--no-hero .bra-areas__body {
    padding-top: 34px;
}

.bra-areas--no-hero .bra-areas__nav-wrap {
    margin-top: 0;
}

.bra-areas__tabs {
    display: flex;
    gap: 18px;
    padding: 12px 4px 18px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.bra-areas__tabs::-webkit-scrollbar {
    display: none;
}

.bra-areas__tab {
    flex: 0 0 calc((100% - 72px) / 5) !important;
    width: calc((100% - 72px) / 5) !important;
    min-width: calc((100% - 72px) / 5) !important;
    max-width: calc((100% - 72px) / 5) !important;
    min-height: 178px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 18px;
    border: 0;
    border-radius: 24px;
    color: var(--bra-black);
    background: #fff !important;
    box-shadow: 0 9px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.bra-areas__tab:hover:not(.is-active) {
    transform: translateY(-3px);
    color: #fff !important;
    background: var(--bra-red) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.bra-areas__tab:hover:not(.is-active) span {
    color: #fff !important;
}

.bra-areas__tab:focus-visible {
    outline: 3px solid var(--bra-red);
    outline-offset: 3px;
}

.bra-areas__tab.is-active {
    background: var(--bra-yellow) !important;
    box-shadow: 0 12px 34px rgba(193, 192, 13, 0.24);
}

.bra-areas__tab img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.bra-areas__tab span {
    display: block;
    width: 100%;
    max-width: 205px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    color: var(--bra-black) !important;
}

.bra-areas__arrow {
    position: absolute;
    z-index: 5;
    top: 75px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--bra-black);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.bra-areas__arrow:hover {
    color: #fff;
    background: var(--bra-black);
}

.bra-areas__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.bra-areas__arrow--prev {
    left: -24px;
}

.bra-areas__arrow--next {
    right: -24px;
}

.bra-areas__arrow span {
    width: 13px;
    height: 13px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.bra-areas__arrow--prev span {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.bra-areas__arrow--next span {
    transform: rotate(45deg);
    margin-right: 5px;
}

.bra-areas__panels {
    margin-top: -2px;
}

.bra-areas__panel {
    padding: clamp(26px, 4vw, 42px);
    border-radius: 25px;
    color: #161616;
    background: var(--bra-paper);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.52;
    animation: braPanelIn 260ms ease both;
}

.bra-areas__panel[hidden] {
    display: none;
}

.bra-areas__panel > :first-child {
    margin-top: 0;
}

.bra-areas__panel > :last-child {
    margin-bottom: 0;
}

.bra-areas__panel ul {
    margin: 0;
    padding-left: 1.25em;
}

.bra-areas__panel li + li {
    margin-top: 5px;
}

.bra-areas__panel p {
    margin: 0 0 15px;
}

.bra-areas__panel b,
.bra-areas__panel strong {
    font-weight: 700;
}

@keyframes braPanelIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
    .bra-areas__arrow--prev { left: 6px; }
    .bra-areas__arrow--next { right: 6px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .bra-areas__tab {
        flex-basis: calc((100% - 54px) / 4) !important;
        width: calc((100% - 54px) / 4) !important;
        min-width: calc((100% - 54px) / 4) !important;
        max-width: calc((100% - 54px) / 4) !important;
    }

    .bra-areas__tab span {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .bra-areas__container {
        width: min(100% - 24px, var(--bra-container));
    }

    .bra-areas__hero {
        min-height: 205px;
        padding: 44px 0 92px;
    }

    .bra-areas__hero h1 {
        font-size: clamp(35px, 10vw, 46px);
    }

    .bra-areas__shape--red {
        width: 130px;
        height: 130px;
        top: -70px;
        left: -65px;
    }

    .bra-areas__shape--white {
        right: 16%;
        width: 76px;
        height: 125px;
    }

    .bra-areas__nav-wrap {
        margin-top: -66px;
    }

    .bra-areas__tabs {
        gap: 12px;
        padding-inline: 2px;
    }

    .bra-areas__tab {
        flex-basis: calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        min-height: 148px;
        padding: 17px 10px;
        border-radius: 21px;
    }

    .bra-areas__tab img {
        width: 54px;
        height: 54px;
    }

    .bra-areas__tab span {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.2;
    }

    .bra-areas__arrow {
        display: none;
    }

    .bra-areas__panel {
        margin-top: 4px;
        padding: 24px 20px;
        border-radius: 20px;
        font-size: 16px;
    }

    .bra-areas__body {
        padding-bottom: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bra-areas *,
    .bra-areas *::before,
    .bra-areas *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
