/* ----------------------------------------------------------
1. Global / Base
---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bg: #FFFFFF;
    --text: #111;
    --muted: #555;
    --accent: #007aff;
    --border: #e5e5e5;
    --radius: 8px;
    --cta-bg: #ffffff;
    --cta-text: #1a1a1a;
    --cta-accent: #2c347f;
    --cta-arrow: #ffffff;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    /* padding-top: calc(100vw / 18); */
}

a {
    color: inherit;
    text-decoration: none;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(23px, 0.625vw + 21px, 33px);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.66px;
}

h3 {
    font-family: "Montserrat", sans-serif;
    font-size: calc(13px + (3 * ((100vw - 320px) / (1920 - 320))));
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

p {
    font-family: "Montserrat", sans-serif;
    font-size: calc(12px + (2 * ((100vw - 320px) / (1920 - 320))));
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#activeBusiness {
    color: #ED2C3E !important;
    position: relative !important;
}
#activeBusiness::before {
    content: "";
    position: absolute;
    bottom: -7%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ED2C3E;
}

.white_main_btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 4px 4px 25px;
    border-radius: 999px;
    background: var(--cta-bg);
    font-family: "Montserrat", sans-serif;
    color: var(--Lapis-Blue, #2C347F);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: all 180ms ease;
    text-decoration: none;
    gap: 0;
}

.white_main_btn::after {
    content: "";
    display: inline-block;
    height: 41px;
    aspect-ratio: 1 / 1;
    margin-left: 21px;
    flex-shrink: 0;
    background: url("../assets/icons/white-aero.svg") center/cover no-repeat;
}

.white_main_btn:hover {
    background-color: var(--Lapis-Blue, #2C347F);
    color: white;
}

.white_main_btn:hover::after {
    background: url("../assets/icons/blue-aero.svg") center/cover no-repeat;
}

.blue_main_btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 4px 4px 25px;
    border-radius: 999px;
    background-color: var(--Lapis-Blue, #2C347F);
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: all 180ms ease;
    text-decoration: none;
    gap: 0;
}

.blue_main_btn::after {
    content: "";
    display: inline-block;
    height: 41px;
    aspect-ratio: 1 / 1;
    margin-left: 21px;
    flex-shrink: 0;
    background: url("../assets/icons/blue-aero.svg") center/cover no-repeat;
}

.blue_main_btn:hover {
    background: var(--cta-bg);
    color: var(--Lapis-Blue, #2C347F);
}

.blue_main_btn:hover::after {
    background: url("../assets/icons/white-aero.svg") center/cover no-repeat;
}

/* Section spacing helpers */
.section-space-outer {
    margin: 80px 0 100px;
}

.section-space-inner {
    padding: 80px 0 100px;
}

/* ----------------------------------------------------------
2. Header (new)
---------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    transition: box-shadow 200ms ease, background-color 200ms ease;
}

.site-header__shell {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    gap: 28px;
    padding: 16px 32px 10px;
    transition: padding 220ms ease;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    padding-top: 4px;
}

.site-header__logo img {
    height: 54px;
    width: auto;
    display: block;
    transition: height 220ms ease;
}

.site-header__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.site-header__topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8d8d8;
    transition: transform 240ms ease, opacity 240ms ease, height 240ms ease, padding 240ms ease;
}

.site-header__top-nav ul {
    display: flex;
    gap: 42px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__top-nav a {
    color: #1d1d1d;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.site-header__top-nav a::after {
    content: \"\";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: #111;
    opacity: 0;
    transition: opacity 180ms ease;
}

.site-header__top-nav a:hover::after,
.site-header__top-nav a:focus-visible::after {
    opacity: 1;
}

.site-header__mainbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding: 14px 0 6px;
    transition: padding 200ms ease;
}

.site-header__main-nav {
    margin-left: auto;
}

.site-header__main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 34px;
}

.site-header__main-nav a {
    color: #161616;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
}

.site-header__main-nav a::after {
    content: \"\";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: #cc1f36;
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-header__main-nav a:hover::after,
.site-header__main-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.site-header__search {
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.site-header__search-close {
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    padding: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.site-header--search-open .site-header__search {
    display: none;
}

.site-header--search-open .site-header__search-close {
    display: inline-flex;
}

.site-header__search:hover,
.site-header__search:focus-visible {
    background: rgba(0, 0, 0, 0.06);
}

.site-header__search-close:hover,
.site-header__search-close:focus-visible {
    background: rgba(0, 0, 0, 0.06);
}

.site-header__search svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.site-header__search-close img {
    width: 16px;
    height: 16px;
}

.site-header__search-bar {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 560px;
    max-width: 100%;
    transform: translateY(-18px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 1300;
}

.site-header--search-open .site-header__search-bar {
    opacity: 1;
    transform: translateY(6px) scale(1);
    pointer-events: auto;
}

.site-header__search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f6f6f6;
    border-radius: 2px;
    padding: 12px 14px 12px 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-top: 2px solid #cc1f36;
}

.site-header__search-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #111;
}

.site-header__search-form button {
    border: none;
    background: none;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-header__search-form svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.site-header__menu-toggle {
    position: relative;
    width: 42px;
    height: 32px;
    border: none;
    background: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 4px;
}

.site-header__menu-toggle span {
    position: absolute;
    left: 7px;
    right: 7px;
    height: 2px;
    background: #000;
    transition: transform 240ms ease, opacity 200ms ease, top 240ms ease, bottom 240ms ease;
}

.site-header__menu-toggle span:first-child {
    top: 11px;
}

.site-header__menu-toggle span:last-child {
    bottom: 11px;
}

.site-header.is-open .site-header__menu-toggle span:first-child {
    top: 16px;
    transform: rotate(45deg);
}

.site-header.is-open .site-header__menu-toggle span:last-child {
    bottom: 14px;
    transform: rotate(-45deg);
}

.site-header.is-open .site-header__menu-toggle span {
    background: #000;
}

.site-header__nav-item {
    position: relative;
}

.site-header__nav-item--dropdown::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    height: 12px; /* hover bridge to prevent accidental close */
    background: transparent;
}

.site-header__dropdown {
    position: absolute;
    top: 128%;
    right: -100%;
    transform: translateY(4px);
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    min-width: 260px;
    z-index: 1200;
}

.site-header__nav-item--dropdown:hover > .site-header__dropdown,
.site-header__nav-item--dropdown:focus-within > .site-header__dropdown {
    opacity: 1;
    pointer-events: auto;
    /* transform: translateY(0); */
}

.site-header__dropdown--small {
    border-top: 2px solid #cc1f36;
    min-width: 240px;
}

.site-header__dropdown--small ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.site-header__dropdown--small li a {
    display: block;
    padding: 14px 22px;
    color: #111;
    text-decoration: none;
}

.site-header__dropdown--small li a:hover,
.site-header__dropdown--small li a:focus-visible {
    background: #efefef;
}

/* .site-header__dropdown--mega {
    width: min(1180px, calc(100vw - 80px));
    right: 50%;
    transform: translate(40%);
    padding: 0;
    border-top: 2px solid #cc1f36;
} */

.site-header__dropdown--mega {
    position: fixed;
    width: min(1180px, calc(100vw - 80px));
    left: 52%;
    top: 90%;
    transform: translateX(-50%);
    padding: 0;
    border-top: 2px solid #cc1f36;
}

.mega {
    display: grid;
    grid-template-columns: 240px 1fr;
    background: #f2f2f2;
}

.mega__aside {
    /* background: #f2f2f2; */
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 35px 0;
}

.mega__category {
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    padding: 12px 18px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.mega__category.is-active {
    background: #ffffff;
}

.mega__panels {
    background: #fff;
    padding: 24px 28px 26px;
    display: grid;
    margin: 25px 25px 25px 0;
}

.mega__panel {
    display: none;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mega__panel.is-active {
    display: grid;
}

.mega__column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega__heading {
    margin: 0;
    font-size: 17px;
    color: #111;
    font-weight: 700;
}

.mega__heading--accent {
    color: #d32032;
}

.mega__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega__label {
    margin: 0 0 2px;
    font-weight: 700;
    color: #222;
}

.mega__group a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.mega__group a:hover,
.mega__group a:focus-visible {
    color: #cc1f36;
}

.site-header--scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.site-header--scrolled .site-header__logo img {
    height: 46px;
}

.site-header--scrolled .site-header__mainbar {
    padding-top: 6px;
    padding-bottom: 4px;
}

.site-header--scrolled .site-header__topbar {
    transform: translateY(-110%);
    opacity: 0;
    height: 0;
    padding: 0;
    border-bottom: none;
}

.site-header__drawer {
    position: fixed;
    inset: 0;
    background: #ffffff;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
    z-index: 1000;
    pointer-events: none;
    padding: 78px 0 0;
    height: 100vh;
    overflow: auto;
}

.site-header.is-open .site-header__drawer {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.site-header__menu-toggle {
    z-index: 1200;
}

.site-header__drawer-header {
    position: absolute;
    top: 2.5%;
}

.site-header__drawer-back {
    border: none;
    background: none;
    padding: 10px 12px 10px 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    color: #111;
}

.site-header__drawer-back svg {
    width: 20px;
    height: 20px;
}

.site-header__drawer-title {
    flex: 1;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 2px;
}

.site-header__drawer-stage {
    position: relative;
    min-height: 70vh;
}

.site-header__drawer-view {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(12px);
}

.site-header__drawer-view.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.anim-in-left { animation: drawerInLeft 200ms ease forwards; }
.anim-out-left { animation: drawerOutLeft 200ms ease forwards; }
.anim-in-right { animation: drawerInRight 200ms ease forwards; }
.anim-out-right { animation: drawerOutRight 200ms ease forwards; }

@keyframes drawerInLeft {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes drawerOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-12px); }
}
@keyframes drawerInRight {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes drawerOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(12px); }
}

.drawer-link {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    padding: 8px 0;
    color: #1b1b1b;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.drawer-link--has-children::after {
    content: "›";
    float: right;
    font-size: 18px;
}

.drawer-section-title {
    font-weight: 700;
    font-size: 17px;
    margin: 6px 0 10px;
}

.drawer-label {
    font-weight: 700;
    color: #666;
}

.site-header__drawer-inner {
    padding: 6px 18px 40px;
    max-width: 580px;
    margin: 0 auto;
}

.site-header__drawer-panel {
    margin-bottom: 22px;
}

.site-header__drawer-accordion {
    width: 100%;
    background: #d81e39;
    color: #fff;
    border: none;
    padding: 14px 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 2px;
    cursor: pointer;
}

.site-header__drawer-accordion svg {
    width: 16px;
    height: 10px;
    transform: rotate(0deg);
    transition: transform 200ms ease;
}

.site-header__drawer-accordion.is-open svg {
    transform: rotate(180deg);
}

.site-header__drawer-accordion-panel {
    padding: 12px 12px 8px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background: #fafafa;
}

.site-header__drawer-accordion-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-header__drawer-accordion-panel a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.site-header__drawer-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-header__drawer-list li button{
    padding: 0;
}

.site-header__drawer-list a {
    color: #1b1b1b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.site-header__drawer-list li + li {
    padding-top: 4px;
}

@media (max-width: 1200px) {
    .site-header__shell {
        padding: 14px 24px 8px;
        gap: 18px;
    }

    .site-header__top-nav ul {
        gap: 28px;
    }

    .site-header__main-nav ul {
        gap: 26px;
    }
}

@media (max-width: 1024px) {
    .site-header__shell {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 14px 20px;
    }

    .site-header__content {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
    }

    .site-header__topbar {
        display: none;
    }

    .site-header__mainbar {
        padding: 0;
        gap: 12px;
    }

    .site-header__main-nav {
        display: none;
    }

    .site-header__actions {
        gap: 10px;
    }

    .site-header__menu-toggle {
        display: inline-flex;
    }

    .site-header__drawer {
        padding-top: 78px;
    }
    .site-header__search-bar{
        min-width: 370px;
    }
}

@media (max-width: 640px) {
    .site-header__logo img {
        height: 46px;
    }

    .site-header__shell {
        padding: 12px 16px;
        gap: 12px;
    }

    .site-header__actions {
        gap: 8px;
    }

    .site-header__search {
        width: 34px;
        height: 34px;
    }

    .site-header__drawer-inner {
        padding: 0 18px 40px;
    }
}

/* ----------------------------------------------------------
3. Hero banner (#home)
---------------------------------------------------------- */
.hero-banner {
    position: relative;
    width: calc(100% - 20px);
    margin: 10px auto;
    min-height: 75dvh;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-banner__content {
    padding: 32px 10px;
    color: #fff;
}
.hero-banner__content h2 , .hero-banner__content p {
    max-width: 750px;
    width: 100%;
}

.hero-banner__title {
    margin: 0 0 23px;
}

/* ----------------------------------------------------------
4. Who is Cosmo (#who-is-cosmo)
---------------------------------------------------------- */
.who-is {
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

.who-is__inner {
    display: grid;
    grid-template-columns: minmax(320px, 580px) 1fr;
    grid-template-rows: auto auto;
    row-gap: clamp(24px, 3vw, 36px);
    align-items: start;
    width: 100%;
    padding-right: 0;
}

.who-is__media {
    grid-row: 1 / span 2;
    z-index: 1;
}

.who-is__media img {
    width: 100%;
    display: block;
    border-radius: 28px;
    object-fit: cover;
}

.who-is__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px 0;
}

.who-is__title {
    margin: 6px 0 8px;
    color: #2c347f;
    padding-left: 60px;
}

.who-is__card {
    width: fit-content;
    background: #f2f3fb;
    border-radius: 0 16px 16px 0;
    padding: 22px 26px 22px 60px;
}

.who-is__card--secondary {
    background: #f7f7fc;
    width: min(640px, 100%);
    border-radius: 16px 0 0 16px;
    position: absolute;
    right: 0;
    bottom: 30px;
}

.who-is__card h3 {
    margin: 0 0 14px;
    color: #2c347f;
}

.who-is__card p {
    margin: 0 0 12px;
    color: #394366;
    max-width: 510px;
}

.who-is__card p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------
5. Why Cosmo (#why_choose_cosmo)
---------------------------------------------------------- */
.why-cosmo {
    background: #ffffff;
}

.why-cosmo__inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 4vw, 40px);
}

.why-cosmo__title {
    flex: 0 0 16%;
}

.why-cosmo__title h2 {
    margin: 0;
    color: #2c347f;
}

.why-cosmo__slider {
    flex: 1;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-right: 30px;
    max-width: 100%;
}

.why-cosmo__slider::-webkit-scrollbar {
    display: none;
}

.why-cosmo__card {
    flex: 0 0 min(28vw, 340px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
}

.why-cosmo__media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.why-cosmo__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-cosmo__icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
}

.why-cosmo__icon img {
    object-fit: contain;
    display: block;
}

.why-cosmo__card h3 {
    margin: 2px 0 6px;
    color: #2c347f;
    font-size: 17px;
    font-weight: 700;
}

.why-cosmo__card p {
    margin: 0;
    color: #394366;
    line-height: 1.55;
}

/* ----------------------------------------------------------
6. Performance Tabs (#performance)
---------------------------------------------------------- */
.performance-tabs {
    background: #0d1226;
}

.performance-tabs__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    color: #f7f7fb;
}

.performance-tabs__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    min-height: 600px;
}

.performance-tabs__panel {
    background: radial-gradient(120% 120% at 60% 20%, #1b2c6e, #0c1125 55%);
    padding: clamp(22px, 2.8vw, 36px);
    display: none;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
    justify-content: center;
}

.performance-tabs__panel.is-active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.performance-tabs__tabs {
    display: inline-flex;
    gap: 64px;
    align-items: center;
    position: relative;
}

.performance-tabs__tab {
    background: transparent;
    border: none;
    padding: 6px 0;
    color: #bfc7e0;
    font-weight: 400;
    cursor: pointer;
    position: relative;
}

.performance-tabs__tab.is-active {
    color: #ffffff;
    font-weight: 600;
}

.performance-tabs__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 38px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.performance-tabs__body h2 {
    margin: 6px 0 12px;
    color: #ffffff;
}

.performance-tabs__body p {
    margin: 0 0 30px;
    color: #ffffff;
}

.performance-tabs__visual {
    position: relative;
    min-height: 600px;
    background: #000;
    height: 100%;
}

.performance-tabs__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 300ms ease;
}

.performance-tabs__slide.is-active {
    opacity: 1;
}

.performance-tabs__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.performance-tabs__caption {
    position: absolute;
    left: 16px;
    bottom: 18px;
    right: 16px;
    max-width: 460px;
    background: #ffffff;
    color: var(--Lapis-Blue, #2C347F);
    padding: 12px 14px;
}

.performance-tabs__caption strong {
    display: block;
    color: var(--Lapis-Blue, #2C347F);
    margin-bottom: 4px;
}

/* mobile nav overlay */
.performance-tabs__mobile-nav {
    display: none;
}

.performance-tabs__nav {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    display: grid;
    cursor: pointer;
    background-image: url(../assets/icons/white-aero.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.performance-tabs__nav.performance-tabs__nav--prev {
    transform: rotate(180deg);
}

.performance-tabs__mobile-label {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    color: #1b1b1b;
    line-height: 1.5;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    font-size: 14px;
}

.performance-tabs__mobile-label strong {
    display: block;
    color: #2c347f;
    margin-bottom: 4px;
}

/* ----------------------------------------------------------
7. Manufacturing (#manufacturing)
---------------------------------------------------------- */
.manufacturing {
    position: relative;
    overflow: hidden;
}

.manufacturing::before {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -190px;
    width: 675.053px;
    height: 691.133px;
    border-radius: 691.133px;
    opacity: 0.1;
    background: var(--Lapis-Blue, #2C347F);
    filter: blur(110.25px);
    z-index: -1;
}

.manufacturing__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.manufacturing__header h2 {
    color: #2c347f;
    margin: 0 0 10px;
}

.manufacturing__header p {
    margin: 0;
    color: #394366;
    max-width: 1080px;
    line-height: 1.5;
}

.manufacturing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.manufacturing__card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.manufacturing__media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
}

.manufacturing__media img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

.manufacturing__tag {
    position: absolute;
    left: 0;
    bottom: 18px;
    background: #ffffff;
    color: #2c347f;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 0 6px 6px 0;
}

.manufacturing__copy {
    margin: 0;
    color: #394366;
    line-height: 1.55;
}

.manufacturing__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #2c347f;
}

.manufacturing__link::after {
    content: "";
    width: 21px;
    height: 21px;
    background: url("../assets/icons/simple-blue-aero.svg") center/contain no-repeat;
    display: inline-block;
}

/* ----------------------------------------------------------
8. Mission / Vision (#mission-vision)
---------------------------------------------------------- */
.mission-vision {
    background: #ffffff;
}

.mission-vision__wrap {
    display: flex;
    align-items: stretch;
}

.mission-vision__inner {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 700px;
}

.mission-vision__panel {
    padding: clamp(22px, 3vw, 38px);
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.mission-vision__panel.is-active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.mission-vision__tabs {
    display: inline-flex;
    gap: 16px;
    align-items: center;
}

.mission-vision__tab {
    background: transparent;
    border: none;
    padding: 6px 0;
    color: #7a82a2;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.mission-vision__tab.is-active {
    color: #2c347f;
}

.mission-vision__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    margin: 0 auto;
    width: 38px;
    height: 2px;
    background: #2c347f;
    border-radius: 999px;
}

.mission-vision__body h2 {
    margin: 6px 0 12px;
    font-size: clamp(24px, 2.1vw, 32px);
    color: #2c347f;
}

.mission-vision__body p {
    margin: 0;
    line-height: 1.6;
    color: #394366;
}

.mission-vision__visual {
    position: relative;
    background: #000;
    min-height: 700px;
    overflow: hidden;
}

.mission-vision__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 300ms ease;
}

.mission-vision__slide.is-active {
    opacity: 1;
}

.mission-vision__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-vision__mobile-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    top: 0;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.mission-vision__nav {
    width: 38px;
    height: 38px;
    border: none;
    background: url(../assets/icons/blue-aero.svg) center no-repeat;
    cursor: pointer;
}

.mission-vision__nav--prev {
    transform: rotate(180deg);
}

/* ----------------------------------------------------------
9. Footer
---------------------------------------------------------- */
.site-footer {
    background: #f7f7fb;
    color: #2c347f;
    padding: 48px 0 36px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    align-items: start;
}

.site-footer__brand img {
    max-width: 190px;
    height: auto;
    margin-bottom: 14px;
}

.site-footer__brand p {
    margin: 0 0 18px;
    color: #394366;
    line-height: 1.5;
}

.site-footer__social {
    display: flex;
    gap: 32px;
    color: #2c347f;
}

.site-footer__social-icons {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-footer__social-icons img {
    width: 20px;
    height: 20px;
    display: block;
}

.site-footer__links h3 {
    margin: 0 0 12px;
    color: #2c347f;
    font-size: 16px;
    font-weight: 700;
}

.site-footer__links a {
    display: block;
    color: #2c347f;
    text-decoration: none;
    margin-bottom: 10px;
}

.site-footer__links p {
    margin: 0 0 10px;
    color: #394366;
    line-height: 1.5;
}

.site-footer__meta {
    text-align: center;
    color: #6b7290;
    font-size: 13px;
    margin-top: 20px;
}

/* ----------------------------------------------------------
10. Global responsive
---------------------------------------------------------- */
@media (max-width: 960px) {
    .section-space-outer {
        margin: 10px 0 21px;
    }

    .section-space-inner {
        padding: 10px 0 21px;
    }

    .hide-in-mobile {
        display: none;
    }

    /* Who is Cosmo */
    .who-is__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding-left: 16px;
        padding-right: 16px;
        row-gap: 16px;
    }

    .who-is__media {
        grid-row: 1;
    }

    .who-is__content {
        grid-row: 2;
        padding: 0;
        gap: 16px;
    }

    .who-is__title {
        padding-left: 0;
    }

    .who-is__card {
        width: 100%;
        border-radius: 16px;
        padding: 18px;
        position: static;
    }

    .who-is__card--secondary {
        border-radius: 16px;
        position: static;
        margin-top: 8px;
    }

    .who-is__card p {
        max-width: none;
    }

    /* Manufacturing */
    .manufacturing__tag {
        left: 8%;
        right: 8%;
    }

    /* Why Cosmo */
    .why-cosmo__inner {
        flex-direction: column;
        padding: 0 10px;
        gap: 16px;
    }

    .why-cosmo__title {
        flex: 0 0 auto;
    }

    .why-cosmo__slider {
        gap: 14px;
    }

    .why-cosmo__card {
        flex-basis: clamp(180px, 40vw, 320px);
    }

    /* Mission / Vision base adjustments (grid collapses in 1024 media below but we want smaller visuals) */
    .mission-vision__visual {
        min-height: 480px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 36px 0 28px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .site-footer__social {
        flex-direction: column;
    }
}

/* Components section */

.components__inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.components__header h2 {
    margin: 0 0 8px;
    color: #2c347f;
}

.components__header p {
    margin: 0;
    color: #394366;
    line-height: 1.5;
}

.components__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.components__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.components__media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.components__media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.components__tag {
    position: absolute;
    left: 0;
    bottom: 19px;
    background: #ffffff;
    color: #2c347f;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
}

.components__card p {
    margin: 0;
    color: #394366;
    line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
    .components__grid .components__tag , .components__card p{
        opacity: 0;
        transition: opacity 900ms ease;
    }

    .components__grid .card_number_2{
        right: 60%;
        transform: rotate(6deg);
        transition: all 300ms ease;
    }
    .components__grid .card_number_3{
        right: 100%;
        transform: rotate(-6deg);
        transition: all 300ms ease;
    }
    .components__grid .card_number_4{
        right: 150%;
        transform: rotate(6deg);
        transition: all 300ms ease;
    }
    .components__grid:hover .card_number_2, .components__grid:hover .card_number_3, .components__grid:hover .card_number_4{
        right: 0;
        transform: rotate(0deg);
    }
    .components__grid:hover .components__tag ,  .components__grid:hover .components__card p{
        opacity: 1;
    }
}


/* Contact tabs */
.contact-tabs__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-tabs__switcher {
    display: inline-flex;
    flex-wrap: nowrap;
    width: fit-content;
    margin: auto;
    gap: 0;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: #2c347f;
    border-radius: 999px;
    transition: all 180ms ease;
}

.contact-tabs__tab {
    border: none;
    background: transparent;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    min-width: 160px;
    cursor: pointer;
}

.contact-tabs__tab.is-active {
    background: #ffffff;
    color: #2c347f;
}

.contact-tabs__panes {
    background: #f7f7fb;
    border-radius: 18px;
    padding: clamp(16px, 2vw, 26px);
}

.contact-tabs__form {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.contact-tabs__form.is-active {
    display: flex;
}

.contact-tabs__form h3 {
    margin: 0;
    color: #2c347f;
    font-size: 18px;
    font-weight: 800;
}

.contact-tabs__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 40px 30px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #2c347f;
    font-weight: 600;
}

.contact-tabs__grid input,
.contact-tabs__grid select,
.contact-tabs__grid textarea,
.contact-field input,
.contact-field select,
.contact-field textarea {
    border: none;
    border-bottom: 1px solid #cfd3e3;
    background: transparent;
    padding: 6px 2px;
    font-family: "Poppins", sans-serif;
    color: #2c347f;
    font-size: 14px;
    outline: none;
}
.contact-tabs__grid input:focus,
.contact-tabs__grid select:focus,
.contact-tabs__grid textarea:focus,
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-bottom: 1px solid var(--focus-color, #2C347F);
}


.contact-tabs__grid textarea,
.contact-field textarea {
    resize: none;
}

.contact-tabs__wide,
.contact-field.span-2 {
    grid-column: span 2;
}

.contact-field.span-3 {
    grid-column: span 3;
}

.contact-field.span-4 {
    grid-column: span 4;
}

.contact-tabs__form .blue_main_btn {
    align-self: flex-start;
}

/* Films */

.films{
    background: #f7f7fb;
}

.films__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.films__header h2 {
    margin: 0 0 8px;
    color: #2c347f;
}

.films__header p {
    margin: 0;
    color: #394366;
    line-height: 1.5;
}

.films__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.films__card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 10px;
    column-gap: 12px;
    align-items: end;
}

.films__media {
    grid-column: 1 / -1;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.films__media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.films__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.films__title {
    font-weight: 800;
    color: #2c347f;
}

.films__subtitle {
    color: #394366;
    font-style: italic;
}

.films__cta {
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.films__cta img {
    width: 100%;
    height: 100%;
    transform: rotate(-50deg);
    transition: transform 300ms ease;
}

.films__card:hover .films__cta img {
    transform: rotate(0deg);
}

/* Merchandising */

.merch-section {
    background-color: #FAFBFF;
    padding: 48px 0 64px;
}

.merch-section__inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 100px;
    width: 100%;
}

.merch-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.merch-card__frame {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1.1;
    background: #ffffff;
    border: 1px solid #e5e7f0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    padding: 12px;
}

.merch-card__frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.merch-card__title {
    margin: 0;
    font-weight: 800;
    color: #2c347f;
    font-size: 16px;
}

.merch-card__price {
    margin: 0;
    font-weight: 800;
    color: #2c347f;
    font-size: 15px;
}

.merch-card .white_main_btn {
    margin-top: 2px;
}

/* Merch modal */

.merch-modal {
    position: fixed;
    inset: 0;
    background: rgba(19, 24, 46, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.merch-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.merch-modal__dialog {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    max-width: 820px;
    max-height: 90vh;
    min-width: 320px;
    min-height: 220px;
    width: min(90vw, 820px);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.merch-modal__header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 0;
}

.merch-modal__close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #2c347f;
    cursor: pointer;
    padding: 6px;
}

.merch-modal__body {
    padding: 10px 16px 16px;
    display: grid;
    place-items: center;
}

.merch-modal__image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* CS Cobalt IR+ specs */

.cs-specs {
    background: #f6f6f9;
}

.cs-specs__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cs-specs__title {
    margin: 0;
    color: #2c347f;
    font-size: clamp(24px, 2.2vw, 32px);
    text-align: center;
}

.cs-specs__table-wrapper {
    width: 100%;
    border: 1px solid #dfe2ee;
    background: #ffffff;
}

.cs-specs__table-layout {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cs-specs__table-layout th , .cs-table-row .cs-table-mobile-title{
    background: #2c347f;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 16px;
    text-align: center;
    border-right: 1px solid #dfe2ee;
}
.cs-table-row .cs-table-mobile-title{
    display: none;
}

.cs-specs__table-layout th:last-child {
    border-right: none;
}

.cs-table-row td:nth-child(odd) .cs-specs__body-wrapper{
padding: 0px 16px;
}

.cs-specs__table-layout td:last-child {
    border-right: none;
}

.cs-specs__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 12px;
}

.cs-specs__body-two {
    display: grid;
    grid-template-columns: repeat(1, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.cs-specs__body-two .cs-specs__pill{
    text-align: start;
}

.cs-specs__pill {
    background: #EAEBF2;
    border: solid #B1B4CF 1px;
    border-radius: 8px;
    padding: 14px 12px;
    color: #2c347f;
    text-align: center;
}

.cs-specs__pill strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 15px;
}

.cs-specs__pill ul {
    margin: 6px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
}

.cs-specs__table {
    display: flex;
    flex-direction: column;
}

.cs-specs__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 14px;
    border: 1px solid #C0C2D9;
    position: relative;
    text-align: center;
    align-items: center;
}

.cs-specs__row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    z-index: 1;
    background: #C0C2D9;
    transform: translateX(-0.5px);
}
.cs-specs__row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #E1E2E9;
    z-index: 0;
}

.cs-specs__label {
    font-weight: 700;
    color: #2c347f;
    padding-right: 8px;
    z-index: 1;
    height: fit-content;
}

.cs-specs__value {
    color: #2c347f;
    padding-left: 8px;
}

/* CS performance tables */

.cs-perf-tabs__inner {
    display: flex;
    flex-direction: column;
}

.cs-perf-tabs__nav {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
}

.category-detail-description{
    color: var(--Lapis-Blue, #2C347F);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

.cs-perf-tabs__tab {
    position: relative;
    border: 1px solid #cfd2e8;
    background: #ffffff;
    color: #2c347f;
    font-weight: 700;
    padding: 13px 22px;
    transition: color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 240px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.cs-perf-tabs__tab.is-active {
    box-shadow: 0 10px 18px rgba(44, 52, 127, 0.16);
}

.cs-perf-tabs__tab:first-child {
    background: #2c347f;
    color: #ffffff;
    border-color: #cfd2e8;
    z-index: 2;
    padding-right: 43px;
    border-radius: 0 308px 0% 0;
    clip-path: polygon(0 0, /* top-left */ 91% 0, /* top-right */ 100% 100%, /* bottom-right (stretched) */ 0 100% /* bottom-left */);
}

.cs-perf-tabs__tab:last-child {
    margin-left: -18px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    z-index: 1;
    background: #ffffff00;
    border: none;
    height: auto;
    background-image: url('../assets/icons/cs-tab-bg.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    color: #2c347f;
    font-weight: 600;
    outline: none;
    box-shadow: none;
}

.cs-perf-tabs__panel {
    display: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.cs-perf-tabs__panel.is-active {
    display: block;
    opacity: 1;
}

.cs-perf-tabs__scroll {
    overflow-x: auto;
    border: 1px solid #dfe2ee;
    background: #ffffff;
    margin-top: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfafd;
}

.cs-perf-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    color: #2c347f;
}

.performance-table-body-bg tr td:not(:first-child){
    background-color: #F5F5F5;
}

.performance-table-body-bg tr td:first-child{
    background-color: #EAEBF2;
}

.cs-perf-table thead th {
    background: #2c347f;
    color: #ffffff;
    padding: 12px 10px;
    font-weight: 700;
    border-right: 1px solid #dfe2ee;
    text-align: center;
    white-space: nowrap;
}

.cs-perf-table thead th:first-child {
    text-align: left;
    white-space: normal;
}

.cs-perf-table thead th:last-child {
    border-right: none;
}

.cs-perf-table td {
    padding: 11px 10px;
    border-top: 1px solid #dfe2ee;
    border-right: 1px solid #dfe2ee;
    text-align: center;
    white-space: nowrap;
}

.cs-perf-table td:first-child {
    text-align: left;
    white-space: normal;
    font-weight: 700;
}

.cs-perf-table td:last-child {
    border-right: none;
}

.cs-perf-tabs__scroll--image {
    padding: 30px 14px;
}

.cs-perf-tabs__image {
    display: block;
    max-width: none;
    width: 60%;
    min-width: 820px;
    max-height: 410px;
    background-color: #fcfafd;
}

.cs-perf-tabs__legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 24px;
    color: #2c347f;
    font-size: 14px;
    line-height: 1.6;
    padding: 30px 0;
}

.cs-perf-tabs__note {
    margin: 0;
    font-size: 13px;
    color: #5c6293;
    padding: 0 6px;
}

/* Shared features */

.shared-features__inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
}

.shared-features__title {
    margin: 0;
    color: #2c347f;
    font-size: clamp(26px, 2.4vw, 34px);
    text-align: center;
}

.shared-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    width: 100%;
}

.shared-features__card {
    background: #d9dbe8;
    border-radius: 14px;
    padding: 18px 16px;
    color: #2c347f;
    line-height: 1.5;
}

.shared-features__card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.shared-features__card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
}

.shared-features__card p {
    margin: 0;
    line-height: 1.5;
}

/* Why Cosmo mid-breakpoint */
@media (max-width: 768px) {
    .contact-field{
        grid-column: span 2;
    }
    .contact-tabs__switcher{
        flex-wrap: wrap;
        border-radius: 25px;
    }
    .why-cosmo__inner {
        flex-direction: column;
        gap: 16px;
    }

    .why-cosmo__slider {
        gap: 12px;
        padding-right: 8px;
    }

    .why-cosmo__card {
        flex: 0 0 68vw;
    }

    /* Components carousel on mobile */
    .components__grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 10px;
    }

    .components__grid::-webkit-scrollbar {
        display: none;
    }

    .components__card {
        flex: 0 0 68vw;
        scroll-snap-align: start;
    }

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

    /* Films carousel */
    .films__grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 10px;
    }

    .films__grid::-webkit-scrollbar {
        display: none;
    }

    .films__card {
        flex: 0 0 68vw;
        scroll-snap-align: start;
    }

    .merch-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 60px;
    }
    .merch-section__inner {
        width: min(1200px, calc(100% - 102px));
    }

    /* CS perf tabs */
    .cs-perf-tabs {
        padding: 16px 12px;
    }

    .cs-perf-tabs__nav {
        align-self: stretch;
    }

    .cs-perf-tabs__tab {
        padding: 10px 12px;
    }

    .cs-perf-table {
        min-width: 680px;
    }

    .cs-perf-tabs__image {
        min-width: 640px;
    }

    .cs-perf-tabs__legend {
        grid-template-columns: 1fr;
    }

    .cs-perf-tabs__note {
        text-align: left;
    }
}

/* Mission / Vision + Performance + other layout breakpoints */
@media (max-width: 1024px) {
    /* Mission / Vision */
    .mission-vision__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mission-vision__panel {
        transform: translateY(12px);
    }

    .mission-vision__visual {
        min-height: 420px;
    }

    .mission-vision__mobile-nav {
        display: flex;
    }

    /* Performance tabs */
    .performance-tabs__inner {
        flex-direction: column;
    }

    .performance-tabs__content {
        width: 100%;
        border-radius: 14px;
        grid-template-columns: 1fr;
    }

    .performance-tabs__panel {
        transform: translateY(12px);
    }

    .performance-tabs__visual {
        min-height: 420px;
    }

    .performance-tabs__caption {
        display: none;
    }

    .performance-tabs__mobile-nav {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        pointer-events: none;
        background: #ffffff;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    }

    .performance-tabs__nav {
        pointer-events: auto;
        flex-shrink: 0;
    }

    .performance-tabs__mobile-label {
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    /* Contact tabs */
    .contact-tabs__grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    /* CS perf tabs */
    .cs-perf-tabs__nav {
        width: 100%;
    }
    .cs-perf-tabs__tab{
        min-width: 180px;
    }
    .cs-perf-tabs__tab:last-child{
        background-image: url(../assets/icons/cs-tab-bg-mob.svg);
    }

    .cs-perf-tabs__tab {
        flex: 1 1 220px;
        text-align: center;
    }

    .cs-perf-table {
        min-width: 760px;
    }

    /* CS specs */
    .cs-specs__table-layout,
    .cs-specs__table-layout thead,
    .cs-specs__table-layout tbody,
    .cs-specs__table-layout tr {
        display: block;
        width: 100%;
    }

    .cs-specs__table-layout th {
        display: block;
        border-right: none;
        border-bottom: 1px solid #dfe2ee;
        text-align: left;
    }

    .cs-specs__table-layout td {
        display: block;
        border-right: none;
        border-bottom: 1px solid #dfe2ee;
    }

    .cs-specs__table-layout tr:last-child td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    /* Performance tabs */
    .performance-tabs__visual {
        min-height: 520px;
    }

    .performance-tabs__mobile-label {
        font-size: 13px;
    }

    /* Contact tabs */
    .contact-tabs__grid {
        grid-template-columns: 1fr;
    }

    .contact-tabs__wide {
        grid-column: span 1;
    }

    .contact-tabs__tab {
        width: 100%;
        text-align: center;
    }

    .contact-tabs__form {
        gap: 14px;
    }

    .cs-table-row td:nth-child(odd) .cs-specs__body-wrapper{
        padding: 40px 20px;
    }

    .cs-specs__table-layout th{
        display: none;
    }
    .cs-table-row .cs-table-mobile-title{
        margin: 0;
        display: block;
        border: none;
    }
    .cs-specs__table-wrapper{
        border: none;
    }
    .cs-specs__table-layout td{
        padding: 0;
    }
    .cs-specs__inner {
        padding: 0;
    }
    .cs-specs__inner *{
        font-size: 12px;
    }
    .cs-perf-tabs__scroll{
        display: block;
    }
}


#CybotCookiebotDialogPoweredbyCybot , .CybotCookiebotDialogBodyBottomWrapper , #CybotCookiebotDialogHeader{
    display: none !important;
}
#CybotCookiebotDialog .CybotCookiebotDialogBodyContentHeading{
    margin-bottom: 0 !important;
    line-height: normal !important;
}
.CybotCookiebotDialogContentWrapper{
    max-width: none !important;
}
#CybotCookiebotDialogBodyContentText p br{
    display: none !important;
}
#CybotCookiebotDialogBodyContentText p{
    font-weight: 500 !important;
    line-height: 17px !important;
    margin-top: 7px !important;
}
#CybotCookiebotDialog *, #CybotCookiebotDialogBodyUnderlay *{
    font-size: 13px !important;
}
@media screen and (min-width: 1280px) {
    #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
        width: 213px !important;
    }
}
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
    padding: 0.3em !important;
}
#CybotCookiebotDialog.CybotEdge {
    padding: 15px !important;
}
@media screen and (max-width: 756px) {
    #CybotCookiebotDialogBodyContentText p span{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

