@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@font-face {
    font-family: 'G8_Bold';
    src: url('G8_Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'G8_Bold';
    src: url('G8_Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #b8b8b8;
    min-height: 100vh;
    padding: 64px 0;
}

.page {
    margin: 0 auto;
}

.main-page .page,
.about-page-body .page,
.services-page .page,
.abilka-case-page .page,
.frozenbro-page .page,
.drwdy-page .page,
.brand-package-page .page,
.privacy-page .page {
    zoom: 0.8;
}

@media (max-width: 1024px) {

    .main-page .page,
    .about-page-body .page,
    .services-page .page,
    .abilka-case-page .page,
    .frozenbro-page .page,
    .drwdy-page .page,
    .brand-package-page .page,
    .privacy-page .page {
        zoom: 1;
    }
}


.main-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    position: relative;
    padding: 0 24px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .main-row {
        padding: 0 16px;
    }
}

.container_main_page {
    flex: 1;
    width: 100%;
    max-width: 1600px;
    min-width: 0;
    background: #1E1E1E;
    border-radius: 12px;
    padding: 0 80px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .container_main_page {
        padding: 0 20px 40px;
        border-radius: 0;
    }
}

.container {
    flex: 1;
    width: 100%;
    max-width: 1600px;
    min-width: 0;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 0 80px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

/* Sidebar Layer — centers as a cohesive unit with the content using flex layout */
.sticky-sidebar-layer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    pointer-events: none;
    z-index: 1;
    flex-shrink: 0;
    margin-right: -40px;
    /* Pulls the content block over the badge */
}

@media (max-width: 1100px) {
    .sticky-sidebar-layer {
        display: none;
    }
}

.sticky-sidebar-img {
    position: sticky;
    top: 64px;
    margin-right: 0;
    pointer-events: auto;
    height: auto;
    width: auto;
    max-width: 90px;
    display: block;
    transition: all 0.3s ease;
}

.sticky-sidebar span {
    text-transform: uppercase;
}

a {
    color: #394DFF;
}

.logo-img {
    width: 39.5px;
    height: 42px;
    object-fit: contain;
    transform: rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-link:hover .logo-img {
    animation: spinFast 0.6s linear infinite;
}






/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Black outline */
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* On mobile — hide the close button, tap outside to close */
@media (max-width: 800px) {
    .lightbox-close {
        display: none !important;
    }
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    cursor: grab;
    z-index: 9999;
}

#lightbox-img:active {
    cursor: grabbing;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    z-index: 10002;
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.lightbox-thumbnails::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: #47e194;
    transform: scale(1.1);
}


/* Header Styles */
.header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

.header-desktop-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    width: 100%;
    min-height: auto;
}

/* Themes */
.header--dark {
    background: transparent;
    /* Rely on container bg */
}

.header--light {
    background: transparent;
    /* Rely on container bg */
}

/* Mobile Hero Layout */
.header-mobile-hero {
    display: none;
}

.nav-overlay {
    display: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle .burger-icon {
    width: 30px;
    height: auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    /* Animation moved to .logo-img */
}


@keyframes logoFloat {
    0% {
        transform: translateY(0) scale(1.05);
    }

    50% {
        transform: translateY(-3px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1.05);
    }
}

@keyframes spinFast {
    from {
        transform: rotate(-45deg);
    }

    to {
        transform: rotate(315deg);
    }
}


/* logo-img is defined above */

.logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.logo-link:hover .logo {
    /* Animation removed for letters */
}


.header--dark .logo {
    color: #FBFBFB;
}

.header--light .logo {
    color: #1E1E1E;
}

.tagline {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1.13;
    white-space: nowrap;
}

.header--dark .tagline {
    color: #DDDDDD;
}

.header--light .tagline,
body .header--light .header-mobile-hero .tagline {
    display: none !important;
}

.nav {
    display: flex;
    align-items: center;
    gap: 64px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.2s;
}

.header--dark .nav-links a {
    color: #DDDDDD;
}

.header--light .nav-links a {
    color: #1E1E1E;
}

.nav-links a:hover {
    color: #47E194;
}

/* Title */
.title-section {
    margin-bottom: 40px;
}

.main-left {
    /* Removed padding-left: 244px; to align with new centered container */
}

.frozenbro-page .main-left,
.abilka-case-page .main-left,
.drwdy-page .main-left {
    padding-top: 88px;
    /* Removed padding-left to align with new layout */
}

.main-title {
    font-size: 45px;
    font-weight: 900;
}

.main-title .light {
    color: #c0c0c0;
    font-weight: 900;
}

.sub-title {
    font-size: 45px;
    font-weight: 900;
}

/* Tags */
.tags {
    display: flex;
    gap: 13px;
    margin-top: 18px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #595959;
    text-transform: uppercase;
}

.orange {
    color: #868686;
}

.tag-hash {
    color: #595959;
    font-size: 14px;
    font-weight: 600;
}

/* Brand Card */
.brand-card_container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 64px;
}

.brand-card {
    background-image: url('img/ban_fr_1.png');
    width: 1040px;
    height: 355px;
    background-size: cover;
    background-position: center;
    border-radius: 13px;
}

.portrait-box {
    position: relative;
    flex-shrink: 0;
}

.portrait {
    width: 185px;
    height: 185px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%) contrast(1.15);
    display: block;
}

.star {
    position: absolute;
    top: -12px;
    right: -12px;
}

.card-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.snowflake {
    flex-shrink: 0;
}

.brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 11px;
    color: #505050;
    font-style: italic;
}

.brand-desc {
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: 0.4px;
    font-weight: 500;
}

.brand-desc strong {
    font-weight: 700;
}

.green {
    color: #59b772;
    font-weight: 700;
}

.card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    flex-shrink: 0;
}

.location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.flag {
    width: 28px;
    height: 17px;
    display: flex;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
}

.flag .blue {
    background: #0072ce;
    flex: 1;
}

.flag .black {
    background: #000;
    flex: 1;
}

.flag .white {
    background: #fff;
    flex: 1;
    border: 1px solid #ddd;
    border-top: 0;
}

.arrow-icon {
    margin-top: auto;
}

/* Buttons */
.buttons-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 64px;
    background: #e4c1f5;
    border-radius: 32px;
    padding: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


.btn {
    height: 48px;
    padding: 0 32px;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    background: transparent;
    color: #000;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.active,
.btn:hover {
    background: #000;
    color: #fff;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Logo Section */
.content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-section {
    max-width: 952px;
    margin-bottom: 64px;
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.3px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.graphic-logo-card {
    background-image: url('img/fr_2.png');
    width: 952px;
    height: 232px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 13px;
}

.graphic-color-palette {
    background-image: url('img/fr_3.png');
    width: 952px;
    height: 532px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 13px;
}

.graphic-labels {
    background-image: url('img/fr_4.png');
    width: 952px;
    height: 500px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 13px;
}

.graphic-graphics {
    background-image: url('img/fr_5.png');
    width: 952px;
    height: 500px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 13px;
}

.graphic-social-media {
    background-image: url('img/fr_6.png');
    width: 952px;
    height: 500px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 13px;
}

.graphic-web-site {
    /* background-image: url('img/BG_web-site-block.png'); */
    width: 952px;
    height: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 13px;
    padding: 32px 64px;
    display: flex;
    border: 1px solid #121212;
    flex-direction: column;
    justify-content: center;
}

.web-site-text {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 24px;
}

.web-site-img {
    width: 824px;
    height: 352px;
    object-fit: contain;
    object-position: center;
    /* filter: grayscale(100%) contrast(1.15); */
}

.big-snowflake {
    flex-shrink: 0;
}

.face-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.face-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%) contrast(1.15);
}

.logo-text {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Annotations */
.ann {
    position: absolute;
    font-size: 9px;
    line-height: 1.35;
}

.ann-left {
    top: 22px;
    left: 25px;
}

.ann-top {
    top: 15px;
    left: 52%;
    text-align: center;
}

.ann-bottom {
    bottom: 18px;
    right: 25px;
    text-align: right;
}

.project-context {
    margin-bottom: 64px;
}

.strategy-img {
    width: 952px;
    height: 500px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 8px;
    margin-top: 0%;
}

.strategy-early-visuals {
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.strategy-project-context {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 64px;
    line-height: 1.5;
    width: 765px;
}

/* Designer Card */
.designer-card {
    background: #fff;
    border-radius: 0px 0px 8px 8px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 40vw;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.main-row+.designer-card {
    margin-top: -12px;
    margin-bottom: -8px;
    z-index: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.designer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.designer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.role {
    font-size: 18px;
    font-weight: 600;
    color: #201A24;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.name {
    font-size: 24px;
    font-weight: 600;
    color: #0000FF;
    text-transform: uppercase;
    letter-spacing: 1.27px;
}

.years {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 20px;
    font-weight: 700;
    color: #BBBBBB;
    line-height: 1.25;
}

/* Nav Arrow */
.nav-arrow {
    background: #5381B0;
    border-radius: 12px;
    padding: 16px 32px;
    margin: 64px auto 0;
    width: fit-content;
    cursor: pointer;
}

.nav-arrow:hover {
    transform: translateX(-3px);
    transition: transform 0.2s;
}

.arrow-img {
    width: auto;
    height: 16px;
}

/* Send Signal Button */
.send-signal-btn {
    background: #47E194;
    color: #1E1E1E;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px 24px;
    height: 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    line-height: 0.969;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

.send-signal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 225, 148, 0.3);
    color: #1E1E1E;
}

.send-signal-btn:focus-visible {
    color: #1E1E1E;
}

.container_main_page .send-signal-btn {
    color: #1E1E1E;
}

/* ─── Illustrations Section ────────────────────────────────────────────────── */
.illustrations-section {
    width: calc(100% + 160px);
    margin-left: -80px;
    margin-right: -80px;
    background: #353535;
    padding: 64px 80px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    /* Центрируем контент */
}

.illustrations-container {
    display: flex;
    align-items: flex-start;
    /* Выравнивание по верхнему краю */
    gap: 160px;
    /* Отступ 160px */
    width: 100%;
    max-width: 1300px;
    /* Соответствует max-width у cases-rows-container */
}


.illustrations-title-img {
    width: 325px;
    height: 103px;
    flex-shrink: 0;
}




.illustrations-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}


.illustration-item {
    display: block;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    background: #2a2a2a;
}

.illustration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.illustration-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1100px) {
    .illustrations-section {
        width: calc(100% + 80px);
        margin-left: -40px;
        margin-right: -40px;
        padding: 48px 40px;
    }

    .illustrations-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .illustrations-section {
        width: calc(100% + 44px);
        margin-left: -22px;
        margin-right: -22px;
        padding: 40px 22px;
        /* margin-bottom: 40px; */
    }

    .illustrations-title-img {
        width: 220px;
        width: 280px;
        height: auto;
    }



    .illustration-item {
        width: calc(50% - 10px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
}


/* ─── Why Us Section ──────────────────────────────────────────────────────── */

.why-us-section {
    padding: 80px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-us-heading {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #F9F9F9;
    opacity: 0.5;
    letter-spacing: 0.02em;
    line-height: 1.55;
    margin: 0;
}

/* Deck wrapper */
.why-us-deck-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
}

/* Base card — position/animation fully owned by GSAP */
.why-us-card {
    position: absolute;
    border-radius: 16px;
    height: 346px;
    padding: 72px;
    width: 52%;
    cursor: pointer;
}

/* ── Per-card colour / layout ── */

.why-us-card--1 {
    background: #1E1E1E;
    display: flex;
    align-items: flex-start;
    width: 50%;
}

.why-us-card-label {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    color: #FBFBFB;
    letter-spacing: 0.01em;
    line-height: 1;
}

.why-us-card--2,
.why-us-card--3,
.why-us-card--4,
.why-us-card--5,
.why-us-card--6,
.why-us-card--7 {
    background: #FBFBFB;
}

/* Counter badge — top-left of each white card */
.why-us-counter {
    position: absolute;
    top: 28px;
    left: 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1E1E1E;
    opacity: 0.35;
    font-family: 'Inter', sans-serif;
}

.why-us-card-title {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    color: #1E1E1E;
    line-height: 1.1;
    margin: 0 0 36px;
    letter-spacing: 0.01em;
}

.why-us-card-desc {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #595959;
    line-height: 1.55;
    margin: 0;
    max-width: 480px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .why-us-deck-wrapper {
        height: auto;
        position: static;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .why-us-card,
    .why-us-deck-wrapper>.why-us-card:nth-child(n) {
        position: static;
        width: 100% !important;
        transform: none !important;
        display: flex;
        flex-direction: column;
        opacity: 1 !important;
    }

    .why-us-card--1 {
        display: none !important;
    }

    .why-us-card-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .why-us-card-desc {
        font-size: 16px;
    }
}


/* ─── Why Us V2 ──────────────────────────────────────────────────────── */

.why-us-v2 {
    padding: 80px 0;
}

.why-us-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(260px, auto);
    gap: 8px;
}

.why-us-v2-main-card {
    background: #2D2D2D;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: flex-end;
    grid-row: span 3;
}

.why-us-v2-main-title {
    font-size: 56px;
    font-weight: 900;
    color: #FBFBFB;
    margin: 0;
    line-height: 0.9;
}

.why-us-v2-card {
    background: #FBFBFB;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-v2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.why-us-v2-card-title {
    font-size: 32px;
    font-weight: 900;
    color: #1E1E1E;
    margin: 0 0 24px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.why-us-v2-card-desc {
    font-size: 18px;
    font-weight: 500;
    color: #595959;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Responsive */

@media (max-width: 1200px) {
    .why-us-v2-main-title {
        font-size: 44px;
    }

    .why-us-v2-card-title {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .why-us-v2-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-us-v2-main-card {
        grid-row: span 1;
        grid-column: span 2;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .why-us-v2-grid {
        grid-template-columns: 1fr;
    }

    .why-us-v2-main-card {
        grid-column: span 1;
        min-height: 240px;
        padding: 32px;
    }

    .why-us-v2-main-title {
        font-size: 36px;
    }

    .why-us-v2-card {
        padding: 32px;
    }
}


/* ─── Why Us V3 ──────────────────────────────────────────────────────── */

.why-us-v3 {
    padding: 148px 0;
    background: #1E1E1E;
}

.why-us-v3-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
    max-width: 1152px;
    margin: 0 auto;
}

.why-us-v3-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
}

.why-us-v3-title {
    font-size: 45px;
    font-weight: 900;
    color: #FBFBFB;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
}

.why-us-v3-grid {
    display: grid;
    grid-template-columns: repeat(2, 420px);
    grid-auto-rows: 1fr;
    gap: 12px;
}

.why-us-v3-card {
    background: #FBFBFB;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-us-v3-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFDAEF;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: -1;
}

.why-us-v3-card:hover::after {
    opacity: 1;
}

/* Common lift effect */
.why-us-v3-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.why-us-v3-card-title {
    font-size: 29px;
    font-weight: 900;
    color: #1E1E1E;
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.why-us-v3-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #595959;
    line-height: 1.55;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Responsive V3 */

@media (max-width: 1200px) {
    .why-us-v3-title {
        font-size: 100px;
    }

    .why-us-v3-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 1024px) {
    .why-us-v3-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .why-us-v3-title-wrap {
        width: 100%;
        height: auto;
    }

    .why-us-v3-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 64px;
        line-height: 1.1;
    }

    .why-us-v3-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .why-us-v3-grid {
        grid-template-columns: 1fr;
    }

    .why-us-v3-title {
        font-size: 48px;
    }

    .why-us-v3-card {
        padding: 24px;
        grid-auto-rows: auto;
        min-height: 180px;
    }
}


/* Request Form (Main Page) */
.request-form-section {
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
    margin-top: 0;
    border-radius: 12px;
    background: #353535;
    padding: 72px 80px;
    overflow: hidden;
    scroll-margin-top: 25vh;
}

.main-page .request-form-section {
    margin-top: 0 !important;
    border-radius: 12px !important;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.request-form-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: start;
    max-width: 1320px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .request-form-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .request-form {
        width: 100%;
    }

    .request-form-copy {
        padding-right: 0;
    }
}

.request-form-copy {
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: #fbfbfb;
    flex: 1;
}

.request-form-title {
    font-size: 60px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fbfbfb;
    font-family: 'Inter', sans-serif;
}

.request-form-description {
    width: min(508px, 100%);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
    margin: 0;
    color: #fbfbfb;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.request-form-description .text-accent-green {
    color: #47e194;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: min(671px, 100%);
    flex-shrink: 0;
}

.request-form-fields {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.request-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    width: 100%;
}

.request-input-group .input-label {
    font-size: 18px;
    font-weight: 400;
    color: #fbfbfb;
    opacity: 0.5;
    text-transform: uppercase;
}

.request-input-group input[type="text"],
.request-input-group input[type="email"] {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1.25px solid rgba(255, 255, 255, 0.3);
    color: #fbfbfb;
    font-size: 18px;
    line-height: 1.54;
    padding: 0 0 0px;
    caret-color: #fbfbfb;
    font-family: 'Inter', sans-serif;
}

.request-input-group input::placeholder,
.request-textarea-wrapper textarea::placeholder {
    color: rgba(251, 251, 251, 0.5);
}

/* ERROR STATE */
.request-error-msg {
    display: none;
    color: #FFBEE1;
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: -6px;
    font-family: 'Inter', sans-serif;
}

.request-input-group.has-error input,
.request-input-group.has-error textarea {
    border-bottom-color: #FFBEE1;
    border-color: #FFBEE1;
    color: #FFBEE1;
}

.request-input-group.has-error input::placeholder,
.request-input-group.has-error textarea::placeholder {
    color: #FFBEE1;
    font-weight: 300;
    font-style: italic;
}

.request-input-group.has-error .request-error-msg {
    display: block;
}

/* MEDIA GROUP (Textarea + Files + Voice) */
.request-media-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.request-textarea-wrapper textarea {
    width: 100%;
    height: 260px;
    background: transparent;
    border: 1.25px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #fbfbfb;
    font-size: 18px;
    line-height: 1.54;
    padding: 16px 11px;
    resize: none;
    font-family: 'Inter', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 249, 249, 0.5) transparent;
}

.request-textarea-wrapper textarea::-webkit-scrollbar {
    width: 10px;
}

.request-textarea-wrapper textarea::-webkit-scrollbar-thumb {
    background: rgba(249, 249, 249, 0.5);
    border-radius: 10px;
}

/* STATE TOGGLING */
.state-default .request-files-section {
    display: none;
}

.state-default .request-voice-recording-panel {
    display: none;
}

.state-files .request-textarea-wrapper {
    display: block;
}

.state-files .request-voice-recording-panel {
    display: none;
}

.state-files .request-files-section {
    display: flex;
}

.state-voice .request-textarea-wrapper {
    display: none;
}

.state-voice .request-files-section {
    display: none;
}

.state-voice .request-voice-recording-panel {
    display: flex;
}

.state-voice .btn-mic-toggle {
    color: #47e194;
}

/* HELPER ROW */
.request-helper-row {
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
    margin-top: 15px;
}

.helper-text {
    font-size: 14px;
    font-weight: 500;
    color: #fbfbfb;
    opacity: 0.5;
    text-transform: uppercase;
    max-width: 538px;
}

.state-voice .helper-text {
    color: #47e194;
}

.helper-icons {
    display: flex;
    gap: 9px;
    align-items: center;
}

.icon-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #9E9E9E;
}

.state-default .btn-clip-toggle {
    color: #9E9E9E;
}

.state-files .btn-clip-toggle {
    color: #47e194;
}

/* FILES SECTION */
.request-files-section {
    flex-direction: column;
    gap: 8px;
}

.files-label {
    color: rgba(251, 251, 251, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2a2a2a;
    border: 1px solid rgba(251, 251, 251, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
}

.file-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    font-size: 18px;
}

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

.file-name {
    color: #fbfbfb;
    font-size: 14px;
    font-weight: 500;
}

.file-size {
    color: rgba(251, 251, 251, 0.4);
    font-size: 12px;
}

.file-remove {
    color: rgba(251, 251, 251, 0.4);
    font-size: 16px;
    cursor: pointer;
}

/* VOICE RECORDING PANEL */
.request-voice-recording-panel {
    background: #2a2a2a;
    border: 1.5px solid rgba(71, 225, 148, 0.38);
    border-radius: 12px;
    padding: 24px;
    flex-direction: column;
    gap: 20px;
}

.voice-recording-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.recording-dot {
    width: 10px;
    height: 10px;
    background: #ff4444;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.recording-label {
    color: #ff4444;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.recording-timer {
    color: rgba(251, 251, 251, 0.8);
    font-size: 18px;
    font-weight: 500;
}

.voice-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 80px;
}

.wave-bar {
    width: 4px;
    background: #47e194;
    border-radius: 2px;
}

.wave-bar.h1 {
    height: 20px;
}

.wave-bar.h2 {
    height: 30px;
}

.wave-bar.h3 {
    height: 45px;
}

.wave-bar.h4 {
    height: 55px;
}

.wave-bar.h5 {
    height: 65px;
}

.wave-bar.opac {
    opacity: 0.4;
}

@keyframes wave-pulse {

    0%,
    100% {
        transform: scaleY(0.7);
    }

    50% {
        transform: scaleY(1.3);
    }
}

.voice-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.btn-stop-record {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: #ff4444;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.stop-icon {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 3px;
}

.btn-mic-active {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #47e194;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* DEMO TOGGLES */
.form-demo-toggles {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-demo-toggles button {
    padding: 6px 12px;
    background: #47e194;
    color: #1e1e1e;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* SUCCESS MODAL */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.success-modal-card {
    /* Circle shape — same size as the signal sent.png */
    width: 460px;
    height: 460px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    text-align: center;
    padding-bottom: 70px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    overflow: hidden;

    /* signal sent.png IS the background */
    background-image: url('img/signal sent.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* No extra box-shadow — the image has its own edge */
    filter: drop-shadow(0 8px 40px rgba(0,0,0,0.7));
}

.success-image-wrap {
    /* Hide the separate mascot img — it's already baked into signal sent.png */
    display: none;
}

.success-mascot {
    display: none;
}

.success-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.success-title {
    color: #fbfbfb;
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.success-desc {
    color: #fbfbfb;
    font-size: 13px;
    line-height: 1.54;
    opacity: 0.9;
    margin: 0 auto;
    text-transform: uppercase;
    max-width: 230px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.btn-got-it {
    background: #47e194;
    color: #1e1e1e;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    padding: 8px 32px;
    height: 40px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: transform 0.15s, filter 0.15s;
}

.btn-got-it:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

@media (max-width: 520px) {
    .success-modal-card {
        width: 320px;
        height: 320px;
        padding-bottom: 48px;
    }
    .success-text-content {
        margin-bottom: 14px;
        gap: 7px;
    }
    .success-title {
        font-size: 24px;
    }
    .success-desc {
        font-size: 11px;
        max-width: 170px;
    }
    .btn-got-it {
        font-size: 13px;
        padding: 6px 22px;
        height: 34px;
    }
}

.request-submit-btn {
    width: 254px;
    height: 56px;
    padding: 8px 24px;
    border: none;
    background: #47e194;
    border-radius: 12px;
    color: #1e1e1e;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    font-family: 'Inter', sans-serif;
}

.request-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.request-input-group input:focus,
.request-textarea-wrapper textarea:focus,
.request-submit-btn:focus-visible {
    outline: 2px solid rgba(71, 225, 148, 0.85);
    outline-offset: 2px;
}

/* PIXEL-PERFECT REFINEMENTS FOR SERVICES.HTML */
.variant-refined .request-form-copy {
    text-transform: uppercase;
    gap: 40px;
}

.variant-refined .request-form-title {
    font-weight: 900;
    font-size: 60px;
    line-height: 1;
}

.variant-refined .request-form-description {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
}

.variant-refined .request-form-fields {
    gap: 42.5px;
    /* Precision gap from design context */
}

.variant-refined .request-input-group {
    border-bottom: 1.25px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.variant-refined .request-input-group input {
    width: 100%;
    height: 40px;
    background: transparent;
    color: #fbfbfb;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 15px 0 2px 0;
    /* Minimized bottom padding to press text to line */
}

/* Remove the line below icons specifically for the media group */
.request-form .request-media-group {
    border-bottom: none;
    padding-bottom: 0;
}

.variant-refined .request-input-group input::placeholder {
    color: rgba(251, 251, 251, 0.5);
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.variant-refined .request-textarea-wrapper textarea {
    border: 1.25px solid rgba(255, 255, 255, 0.3);
    padding: 16px 11px;
    font-size: 18px;
}

.variant-refined .request-textarea-wrapper textarea::placeholder {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.5;
    text-transform: uppercase;
}

.variant-refined .helper-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.5;
    text-transform: uppercase;
    line-height: 1.54;
}

.variant-refined .icon-btn img {
    filter: brightness(0) saturate(100%) invert(74%) sepia(58%) saturate(518%) hue-rotate(95deg) brightness(96%) contrast(91%);
}

.variant-refined .request-helper-row {
    margin-top: 5px;
    gap: 12px;
}

.variant-refined .request-submit-btn {
    width: fit-content;
    min-width: 254px;
    height: 56px;
    border-radius: 12px;
    background: #47e194;
    color: #1e1e1e;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 32px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: calc(100% + 160px);
    /* Full width including negative margins to ignore container padding */
    min-height: 489px;
    background: rgb(53, 53, 53);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 64px;
    margin-left: -80px;
    margin-right: -80px;
}

/* Background Layers */
.hero-text-bg {
    position: absolute;
    top: -4px;
    left: -12px;
    font-family: 'Inter', sans-serif;
    font-size: 174px;
    font-weight: 600;
    color: rgb(167, 209, 243);
    text-align: left;
    line-height: 0.8;
    z-index: 1;
    white-space: nowrap;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    text-transform: uppercase;
}

.hero-bg-cloud {
    position: absolute;
    top: 70%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg-cloud img {
    width: 80%;
    /* Adjust size */
    max-width: 800px;
    height: auto;
    opacity: 1;
    /* Adjust based on visuals */
    filter: brightness(0.8);
}

/* Content Layer */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 1200px;
    /* Internal content width */
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Left Column: Atlas Info */
.hero-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* JSON says cross: center */
    gap: 40px;
    width: 290px;
    flex-shrink: 0;
}

.atlas-logo-wrapper {
    display: flex;
    justify-content: center;
}

.atlas-logo {
    width: 100%;
    max-width: 282px;
    height: auto;
    /* If the logo is black in the file, invert it to white/light as per design */
    filter: brightness(0) invert(1);
    /* Or specifically rgb(247, 247, 247) */
    filter: brightness(0) saturate(100%) invert(95%) sepia(2%) saturate(99%) hue-rotate(184deg) brightness(105%) contrast(96%);
}

.atlas-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.atlas-description {
    font-family: "Adobe Jenson Pro", serif;
    /* Fallback to serif */
    font-size: 24px;
    font-weight: 400;
    color: rgb(247, 247, 247);
    text-align: center;
    line-height: 1.2;
}

.atlas-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 224px;
    height: 57px;
    background: rgb(166, 211, 255);
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.2s;
}

.atlas-btn:hover {
    transform: scale(1.02);
}

.atlas-btn span {
    font-family: "Adobe Jenson Pro", serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(73, 69, 79);
    text-align: left;
}

/* Right Column: Visuals */
.hero-visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-phones-img {
    width: 100%;
    max-width: 100%;
    height: 488px;
    filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.3));
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text-bg {
        font-size: 120px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text-bg {
        top: 20%;
        right: 50%;
        transform: translateX(50%);
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-text-bg {
        font-size: 80px;
        top: 15%;
    }

    .hero-section {
        margin-left: -24px;
        /* Adjust for smaller padding */
        margin-right: -24px;
        border-radius: 0;
    }
}

/* Cases Divider */
.cases-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 64px;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cases-divider img {
    width: 50px;
    height: auto;
    opacity: 0.2;
}

/* Cases Section */
.cases-section {
    margin-bottom: 148px;
}

.cases-rows-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 1300px;
    /* Increased by 20% (1080px * 1.2) */
    margin: 0 auto;
    /* Centers the constrained grid */
}

.cases-row {
    display: flex;
    gap: 48px;
    width: 100%;
    justify-content: center;
}

/* Restrict the width of a single card to match the 2-card grid layout */
.cases-row-single .case-card {
    flex: 0 0 calc(50% - 24px);
    max-width: calc(50% - 24px);
}

/* Case Cards */
.case-card {
    background: #fbfbfb;
    border-radius: 13px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    height: auto;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
    padding-bottom: 19px;
    /* Content alignment: Push content to bottom */
    justify-content: flex-start;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.case-card-link {
    cursor: pointer;
}

.case-card-image {
    width: 100%;
    aspect-ratio: 978 / 674;
    /* Keeps perfect original proportions when scaling */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 13px 13px 0 0;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Background colors for case cards */
.abilka-bg {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.frozenbro-bg {
    background: linear-gradient(135deg, #E5B8E5 0%, #D4A5D4 100%);
}

.boiling-bg {
    background: linear-gradient(135deg, #F0EDE5 0%, #E8E3D8 100%);
}

.drwdy-bg {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
}

.skrepki-bg {
    background: linear-gradient(135deg, #FFF4E0 0%, #FFE4B5 100%);
}

.case-card-content {
    /* Padding matches Figma */
    padding: 0 19px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    /* Fill remaining height */
    width: 100%;
    align-items: flex-start;
    /* Left align content */
    box-sizing: border-box;
    /* Ensure bottom spacing */
}

/* Specific Content Widths can be removed or set to 100% since we align left */
.content-abilka,
.content-frozen,
.content-boiling,
.content-wdy,
.content-skrepki {
    width: 100%;
}

.case-card-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
    /* Text align left */
    text-align: left;
    width: 100%;
    margin-bottom: 27px;
}

.case-card-title {
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

/* Specific Title Colors */
.content-abilka .case-card-title {
    color: #f15a24;
}

.content-frozen .case-card-title {
    color: #ad60db;
}

.content-boiling .case-card-title,
.content-wdy .case-card-title {
    color: #3a442c;
}

.content-skrepki .case-card-title {
    color: #C47A00;
}

.case-card-location {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.4);
    /* Grey per screenshot */
    font-weight: 600;
    text-transform: uppercase;
    /* Uppercase per screenshot */
    letter-spacing: 0.3px;
}

/* Exception for USA - screenshot shows uppercase for Frozen Bro, keep uppercase */
.content-frozen .case-card-location,
.content-wdy .case-card-location {
    text-transform: uppercase;
}

.case-card-tags {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    /* Ensure left alignment */
}

.case-card-tags span {
    font-size: 14px;
    color: #595959;
    font-weight: 600;
    text-transform: uppercase;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

/* Medium screens: tighter container padding */
@media (max-width: 1100px) {

    .container_main_page,
    .container {
        padding: 48px 40px;
    }

    .request-form-section {
        margin-top: -64px !important;
        border-radius: 0 !important;
        margin-top: 0;
        padding-top: 60px !important;
        width: 100%;
        margin: 0;
        padding: 32px 0;
        position: relative;
    }


}

/* Small screens ≤ 800px */
@media (max-width: 800px) {
    body {
        padding: 20px 0;
    }

    .main-row {
        padding: 0 24px;
        /* 24px gutters, sidebar stays */
    }

    .container_main_page,
    .container {
        padding: 25px 22px 22px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 35px;
    }

    .nav {
        gap: 22px;
        flex-wrap: wrap;
    }

    .main-title,
    .sub-title {
        font-size: 24px;
    }

    .brand-card {
        flex-direction: column;
    }

    .portrait {
        width: 100%;
        max-width: 220px;
        height: auto;
    }

    .card-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .arrow-icon {
        width: 70px;
        height: 70px;
    }

    .logo-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .big-snowflake {
        width: 90px;
        height: 90px;
    }

    .logo-text {
        font-size: 26px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .face-circle {
        width: 65px;
        height: 65px;
    }

    .ann {
        display: none;
    }

    .buttons-wrap {
        flex-wrap: wrap;
    }

    /* Sidebar scales down on smaller screens */
    .sticky-sidebar {
        font-size: 42px;
        padding: 36px 14px;
        margin-right: 0;
        border-radius: 8px 0 0 8px;
    }

    .main-row {
        /* Maintain strict center with balanced side columns */
        grid-template-columns: minmax(60px, 1fr) minmax(0, 1600px) minmax(60px, 1fr);
        padding: 0 20px;
    }

    .hero-section {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
    }

    .hero-title {
        font-size: 56px;
        margin-bottom: 16px;
    }

    .hero-right {
        flex: 1;
        align-items: center;
    }

    .hero-cloud {
        display: none;
    }

    .atlas-card {
        width: 100%;
        max-width: 100%;
    }

    .cases-rows-container {
        gap: 32px;
    }

    .cases-row {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .case-card,
    .cases-row-single .case-card {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .case-card-image {
        height: auto;
    }

    .case-card-content {
        width: 100%;
        align-self: center;
    }

    .content-abilka,
    .content-frozen,
    .content-boiling,
    .content-wdy {
        width: 100%;
    }

    /* Mobile: reduce sidebar further but keep it visible and flush */
    .sticky-sidebar {
        font-size: 28px;
        padding: 24px 10px;
        margin-right: 0;
        top: 24px;
        border-radius: 6px 0 0 6px;
    }

    .main-row {
        grid-template-columns: minmax(40px, 1fr) minmax(0, 1600px) minmax(40px, 1fr);
        padding: 0 12px;
    }

    .request-form-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding: 24px 20px 48px !important;
        /* Increased bottom padding for more "air" */
        background: #353535 !important;
        border-radius: 0 !important;
    }

    .request-form-copy {
        gap: 12px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .request-form-title {
        font-family: 'Inter', sans-serif !important;
        font-weight: 900 !important;
        font-size: 33.7px !important;
        line-height: 1 !important;
        margin-bottom: 24px !important;
        color: #FBFBFB !important;
        text-transform: uppercase !important;
        letter-spacing: -0.5px !important;
    }

    .request-form-description {
        font-size: 15px !important;
        line-height: 1.54 !important;
        width: 100% !important;
        color: #FBFBFB !important;
        text-transform: none !important;
    }

    .request-form-description .text-accent-green {
        color: #47E194 !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
    }

    .request-form {
        width: 100% !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .request-form-fields {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        margin-bottom: 0 !important;
        /* Force no space at the bottom */
    }

    .request-input-group {
        width: 100% !important;
        border-bottom: 0.88px solid #FBFBFB !important;
        padding-bottom: 0px !important;
        /* Zero spacing reached */
    }

    .request-input-group input[type="text"],
    .request-input-group input[type="email"] {
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 120px 0;
        margin-bottom: -6px !important;
        /* Forces text to sit ON the line */
        font-size: 11px !important;
        color: #FBFBFB !important;
        font-family: 'Inter', sans-serif !important;
        text-transform: uppercase !important;
        line-height: 1 !important;
    }

    .request-media-group {
        border-bottom: none !important;
    }

    .request-textarea-wrapper textarea {
        width: 100% !important;
        background: transparent !important;
        border: 0.88px solid #FBFBFB !important;
        border-radius: 8.4px !important;
        padding: 12px !important;
        font-size: 11px !important;
        color: #FBFBFB !important;
        font-family: 'Inter', sans-serif !important;
        min-height: 180px !important;
        resize: none !important;
        margin-top: 16px !important;
    }

    .request-input-group input:focus {
        outline: none !important;
    }

    .request-input-group input::placeholder,
    .request-textarea-wrapper textarea::placeholder {
        color: rgba(251, 251, 251, 0.5) !important;
        font-size: 11px !important;
    }

    .request-helper-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        /* Added a bit of space for the larger icons */
        margin-top: 0px !important;
        /* No gap with the message window */
    }

    .helper-text {
        text-align: left !important;
        font-size: 13px !important;
        color: rgba(251, 251, 251, 0.5) !important;
        line-height: 1.5 !important;
    }

    .helper-icons {
        display: flex !important;
        gap: -8px !important;
        /* Adjusted negative gap for larger icons */
    }

    .helper-icons .icon-btn img {
        filter: invert(72%) sepia(87%) saturate(357%) hue-rotate(101deg) brightness(97%) contrast(87%);
        /* #47E194 approx */
        width: 28px !important;
        /* Made icons larger */
        height: 28px !important;
    }

    .request-submit-btn {
        width: 200px !important;
        /* Slightly smaller width */
        margin: -16px auto 0 !important;
        /* Negative margin to stay close to icons */
        height: 48px !important;
        /* Slightly smaller height */
        background: #47E194 !important;
        color: #1E1E1E !important;
        font-size: 15px !important;
        /* Balanced font size */
        font-weight: 700 !important;
        font-style: italic !important;
        text-transform: uppercase !important;
        padding: 4px 16px !important;
        border-radius: 12px !important;
        /* Proportional rounding */
        border: none !important;
        cursor: pointer !important;
        align-self: center;
    }

    .request-submit-btn:active {
        transform: scale(0.98) !important;
    }

    /* Voice & Files Mobile Polish */
    .request-voice-recording-panel {
        padding: 20px !important;
        gap: 15px !important;
        border-width: 1px !important;
    }

    .voice-waveform {
        gap: 2px !important;
        height: 60px !important;
        overflow: hidden !important;
    }

    .wave-bar {
        width: 3px !important;
    }

    /* Hide some bars on narrower screens to prevent overflow */
    .wave-bar:nth-child(n+15) {
        display: none !important;
    }

    .file-item {
        padding: 8px 12px !important;
    }

    .file-name {
        font-size: 13px !important;
    }

    .helper-icons .icon-btn {
        padding: 10px 2px !important;
        /* Removed large horizontal padding to allow icons to sit closer */
    }

    .helper-icons img {
        width: 28px !important;
        /* Consistency for all images in helper icons */
        height: 28px !important;
    }

    /* Footer Responsive */
    .footer-top {
        flex-direction: column;
        gap: 64px;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-nav {
        text-align: center;
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
    }
}

/* Smallest mobile: sidebar remains tiny and attached */
@media (max-width: 480px) {
    .sticky-sidebar {
        font-size: 22px;
        padding: 18px 8px;
        margin-right: 0;
        border-radius: 4px 0 0 4px;
    }

    .main-row {
        grid-template-columns: minmax(30px, auto) minmax(0, 1600px) minmax(30px, 1fr);
        padding: 0 8px;
    }
}

/* ─── Other Projects Carousel ────────────────────────────────────────────── */

.other-projects-section {
    margin-top: -64px !important;
    padding: 120px 0;
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
    width: calc(100% + 160px);
    max-width: none;
    background: #1E1E1E;
    margin-top: 0;
    position: relative;
    z-index: 10;
    margin-left: -80px;
    margin-right: -80px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}


.other-projects-title {
    padding: 0 175px !important;
    font-size: 45px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #FBFBFB;
    padding: 0 175px;
    box-sizing: border-box;
}

.carousel-track {
    padding: 0 175px !important;
    display: flex;
    gap: 24px;
    width: 100%;
    padding: 0 175px;
    box-sizing: border-box;
    justify-content: flex-start;
}

.carousel-item {
    flex: 0 0 380px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fbfbfb;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    padding-bottom: 19px;
    justify-content: flex-start;
}

.carousel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.carousel-card-img {
    width: 100%;
    aspect-ratio: 380 / 180;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 13px 13px 0 0;
}

.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card-info {
    padding: 0 19px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.carousel-card-info h3 {
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 3px 0;
}

.carousel-card-info p {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

/* Card Backgrounds */
.carousel-item .abilka-bg {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.carousel-item .frozen-bg,
.carousel-item .frozenbro-bg {
    background: linear-gradient(135deg, #E5B8E5 0%, #D4A5D4 100%);
}

.carousel-item .boiling-bg {
    background: linear-gradient(135deg, #F0EDE5 0%, #E8E3D8 100%);
}

.carousel-item .drwdy-bg {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
}

.carousel-item .abilka-bg+.carousel-card-info h3 {
    color: #f15a24;
}

.carousel-item .frozen-bg+.carousel-card-info h3,
.carousel-item .frozenbro-bg+.carousel-card-info h3 {
    color: #ad60db;
}

.carousel-item .boiling-bg+.carousel-card-info h3 {
    color: #3a442c;
}

.carousel-item .drwdy-bg+.carousel-card-info h3 {
    color: #3a442c;
}

@media (max-width: 1024px) {
    .other-projects-section {
        margin-top: -64px !important;
        padding: 120px 0;
        margin-bottom: 0 !important;
        padding-bottom: 60px !important;
        padding: 80px 0;
    }

    .other-projects-title {
        padding: 0 175px !important;
        padding: 0 20px;
        margin-bottom: 40px;
        font-size: 32px;
    }

    .carousel-track {
        padding: 0 175px !important;
        gap: 16px;
        padding: 0 20px;
        overflow-x: auto;
        padding-bottom: 20px;
        scrollbar-width: none;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .carousel-item {
        min-width: 260px;
    }
}

/* Request Form Section on Case Pages */
.request-form-section {
    margin-top: 148px !important;
    border-radius: 12px !important;
    margin-top: 0;
    padding-top: 60px !important;
    width: calc(100% + 80px) !important;
    margin-left: -40px !important;
    margin-right: -40px !important;
    background: #353535;
    padding: 120px 80px;
    box-sizing: border-box;
}

/* New Dark Footer Styles */
.new-site-footer {
    background: #1E1E1E;
    padding: 120px 80px 80px;
    color: rgb(251, 251, 251);
    border-radius: 0;

    /* Ignore .container padding */
    width: calc(100% + 160px);
    margin-left: -80px;
    margin-right: -80px;
    margin-top: 0;
}

.footer-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-logo .logo-img {
    width: 40px;
    height: 42px;
}

.footer-brand-logo .logo-text {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    color: rgb(251, 251, 251);
    display: inline-block;
    transition: transform 0.2s, filter 0.2s;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(71, 225, 148, 0.3));
}

.footer-email {
    font-size: 16px;
    font-weight: 400;
    color: #FFBEE1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

.footer-nav-link {
    font-size: 17px;
    font-weight: 400;
    color: rgb(251, 251, 251);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-nav-link:hover {
    opacity: 0.7;
}

.footer-copyright-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 300;
    color: rgb(251, 251, 251);
    justify-content: flex-start;
}

.footer-animated-bone {
    width: 50px;
    height: auto;
    transform: rotate(-45deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: inline-block;
    margin: 10px;
}

.footer-animated-bone:hover {
    animation: spinFast 0.6s linear infinite;
}



.footer-copyright-row .footer-bone-icon {
    width: 21px;
    height: auto;
    cursor: pointer;
}

.footer-copyright-row .footer-bone-icon:hover {
    animation: spinSmall 0.6s linear infinite;
}

@keyframes spinSmall {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-animated-bone-link,
.footer-bone-link {
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}







/* Lightbox & Hover Effects */
.graphic-logo-card,
.graphic-color-palette,
.graphic-labels,
.graphic-graphics,
.graphic-social-media,
.strategy-img,
.zoomable-media {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.graphic-logo-card:hover,
.graphic-color-palette:hover,
.graphic-labels:hover,
.graphic-graphics:hover,
.graphic-social-media:hover,
.strategy-img:hover,
.zoomable-media:hover {
    transform: scale(1.02);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}



#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: grab;
    transform-origin: center center;
    /* remove transition for smooth dragging, or apply it only to transform-scale if possible. 
       Actually, if we drag every frame, transition will cause lag/floatiness. 
       Better to NOT have transition on the image itself during drag. */
    transition: transform 0.1s ease-out;
    /* valid for zoom wheel, might need removal for drag */
}

/* When dragging, remove transition to make it responsive */
#lightbox-img:active {
    transition: none;
}


.cases-header-icon {
    display: flex;
    justify-content: center;
    margin-top: -10px !important;
    margin-bottom: 50px !important;
    border: none !important;
    padding: 0 !important;
    scroll-margin-top: 64px;
}

.cases-header-icon img {
    width: 80px;
    height: auto;
    transition: width 0.3s ease;
}

@media (max-width: 800px) {
    .cases-header-icon {
        margin-top: 8px !important;
        margin-bottom: 24px !important;
        border: none !important;
        padding: 0 !important;
    }
    .cases-header-icon img {
        width: 41px !important;
    }
}


/* Abilka Case Page */
.sticky-sidebar-abilka {
    background: #007efa;
}

.sticky-sidebar-drwdy {
    background: #EE716C;
}

.sticky-sidebar-bb {
    background: #CEE3EF;
    color: #434343;
}

.abilka-main-left {
    padding-top: 88px;
    /* Removed padding-left to align with new layout */
}

.abilka-tags {
    gap: 24px;
}

.abilka-section {
    width: 952px;
    max-width: 100%;
    margin-bottom: 64px;
}

.abilka-section-first {
    width: 1040px;
    margin-bottom: 64px;
}

.abilka-image {
    width: 100%;
    height: auto;
    border-radius: 13px;
    display: block;
}

.abilka-combo-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.abilka-row,
.abilka-pair {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.abilka-combo-image,
.abilka-pair-image {
    width: 0;
    min-width: 0;
    height: auto;
    border-radius: 13px;
    display: block;
}

.abilka-grow-2388 {
    flex: 2388 1 0;
}

.abilka-grow-1484 {
    flex: 1484 1 0;
}

.abilka-grow-1588 {
    flex: 1588 1 0;
}

.abilka-grow-1336 {
    flex: 1336 1 0;
}

.abilka-grow-852 {
    flex: 852 1 0;
}

.abilka-grow-1704 {
    flex: 1704 1 0;
}

.abilka-grow-2168 {
    flex: 2168 1 0;
}

.abilka-palette {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.abilka-palette-item {
    height: 60px;
    min-height: 60px;
    padding: 10px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Oxygen Mono', monospace;
    border-radius: 8px;
}

.abilka-palette-hex {
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.abilka-palette-label {
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.abilka-palette-item-1 {
    background: #383636;
    color: #a6d3ff;
}

.abilka-palette-item-2 {
    background: #fb833f;
    color: #383636;
}

.abilka-palette-item-3 {
    background: #007efa;
    color: #2c2c2c;
}

.abilka-palette-item-4 {
    background: #a6d3ff;
    color: #383636;
}

.abilka-palette-item-5 {
    background: #eeeeee;
    color: #383636;
}

.abilka-after-pair {
    margin-top: 24px;
}

/* Dr.WDY Case Page */
.drwdy-main-left {
    padding-top: 88px;
}

.drwdy-tags {
    gap: 22px;
    flex-wrap: wrap;
}

.drwdy-section {
    width: 952px;
    max-width: 100%;
    margin-bottom: 64px;
}

.drwdy-section-first {
    width: 1040px;
}

.drwdy-image {
    width: 100%;
    height: auto;
    border-radius: 13px;
    display: block;
}

.drwdy-buttons {
    background: rgb(228, 236, 243);
    border-radius: 40px;
    padding: 8px;
    gap: 8px;
}

.drwdy-buttons .btn {
    height: 48px;
    border-radius: 40px;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    color: rgb(56, 96, 136);
    background: transparent;
}

.drwdy-buttons .btn.black {
    min-width: 110px;
}

.drwdy-buttons .btn.purple {
    min-width: 112px;
}

.drwdy-buttons .btn.black.active,
.drwdy-buttons .btn.black:hover {
    background: rgb(238, 113, 108);
    color: rgb(255, 255, 255);
}

.drwdy-buttons .btn.purple.active,
.drwdy-buttons .btn.purple:hover {
    background: rgb(56, 96, 136);
    color: rgb(255, 255, 255);
}

.drwdy-buttons .btn:focus-visible {
    outline: 2px solid rgba(56, 96, 136, 0.45);
    outline-offset: 2px;
}

/* Boiling Brains tabs (from tabspanel-structure-bb.json) */
.bb-buttons {
    background: rgb(206, 227, 239);
    border-radius: 40px;
    padding: 4px;
    gap: 8px;
}

.bb-buttons .btn {
    height: 48px;
    border-radius: 40px;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: rgb(67, 67, 67);
    background: transparent;
}

.bb-buttons .btn.black.active,
.bb-buttons .btn.black:hover,
.bb-buttons .btn.purple.active,
.bb-buttons .btn.purple:hover {
    background: rgb(238, 239, 205);
    color: rgb(67, 67, 67);
}

.bb-buttons .btn:focus-visible {
    outline: 2px solid rgba(67, 67, 67, 0.3);
    outline-offset: 2px;
}

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

.drwdy-brandbook-section {
    width: 1040px;
    max-width: 100%;
}

.drwdy-brandbook-section .drwdy-grid-three {
    grid-template-columns: repeat(3, 330px);
    justify-content: center;
}

.drwdy-brandbook-title {
    font-style: italic;
    margin-bottom: 8px;
    color: rgb(80, 80, 80);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
}

.drwdy-brandbook-section .drwdy-grid-image {
    width: 330px;
    height: 324px;
    border-radius: 12px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.15);
    object-fit: fill;
}

.drwdy-grid-image {
    width: 100%;
    height: auto;
    border-radius: 13px;
    display: block;
}

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

.drwdy-social-item {
    width: 100%;
    height: auto;
    border-radius: 13px;
    display: block;
}

.drwdy-copy {
    width: 765px;
    max-width: 952px;
    font-size: 18px;
    line-height: 1.5;
    color: #334353;
}

.drwdy-copy p {
    margin: 0;
}

.drwdy-copy p+p {
    margin-top: 28px;
}

.drwdy-visual-concept {
    width: 952px;
    max-width: 100%;
}

.drwdy-visual-concept-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.drwdy-visual-concept-intro {
    width: 765px;
    max-width: 100%;
    color: rgb(30, 30, 30);
}

.drwdy-visual-before {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drwdy-visual-before-label {
    margin: 0;
    color: rgb(80, 80, 80);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
}

.drwdy-visual-before-image {
    width: 100%;
    max-width: 952px;
    border-radius: 12px;
}

.drwdy-visual-concept-outro {
    width: 765px;
    max-width: 100%;
    color: rgb(30, 30, 30);
    font-family: Arial, sans-serif;
    line-height: 1.55;
}

.drwdy-visual-concept-outro p+p {
    margin-top: 28px;
}

.drwdy-visual-lead {
    display: block;
    margin-top: 28px;
}

.drwdy-visual-points {
    margin: 14px 0 0;
    padding-left: 24px;
}

.drwdy-visual-concept-outro p+.drwdy-visual-points {
    margin-top: 14px;
}

.drwdy-visual-points li {
    margin: 0;
}

.drwdy-visual-points li+li {
    margin-top: 4px;
}

.drwdy-visual-points+p {
    margin-top: 28px;
}

.drwdy-italic-note {
    font-style: italic;
}

.drwdy-history-figure {
    width: 100%;
    max-width: 760px;
    margin-top: 32px;
    border-radius: 13px;
    display: block;
}

.drwdy-history-stack {
    margin-top: 32px;
}

@media (max-width: 1100px) {
    .abilka-main-left {
        padding-left: 0;
    }

    .drwdy-main-left {
        padding-left: 0;
    }

    .abilka-section,
    .abilka-section-first {
        width: 100%;
        max-width: 100%;
    }

    .abilka-row,
    .abilka-pair {
        flex-direction: column;
    }

    .abilka-combo-image,
    .abilka-pair-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .abilka-after-pair {
        margin-top: 24px;
    }

    .drwdy-grid-three,
    .drwdy-social-grid {
        grid-template-columns: 1fr;
    }

    .drwdy-brandbook-section .drwdy-grid-three {
        grid-template-columns: repeat(2, 330px);
    }

    .drwdy-history-figure {
        max-width: 100%;
    }
}

@media (max-width: 800px) {
    .abilka-palette {
        grid-template-columns: 1fr;
    }

    .abilka-palette-item {
        min-height: auto;
    }

    .abilka-palette-label {
        white-space: normal;
    }

    .drwdy-copy {
        font-size: 16px;
    }

    .drwdy-visual-concept-layout {
        gap: 24px;
    }

    .drwdy-visual-points {
        padding-left: 20px;
    }

    .drwdy-buttons {
        width: 100%;
        max-width: 320px;
    }

    .drwdy-buttons .btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .drwdy-brandbook-section .drwdy-grid-three {
        grid-template-columns: 330px;
    }
}

/* New Dark Footer Responsive */
@media (max-width: 1100px) {
    .new-site-footer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 800px) {
    .new-site-footer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        border-radius: 12px !important;
    }
}



/* Brand Typography Hero Section */
.hero-section.brand-typography-hero {
    background: transparent !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 10px !important;
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-typo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 6px;
    padding: 0 20px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.hero-typo-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.76vw, 25.32px);
    width: 100%;
    white-space: nowrap;
}

.hero-word {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 9.5vw, 136.66px);
    line-height: 0.74;
    letter-spacing: normal;
    display: inline-block;
    cursor: pointer;
    color: #FBFBFB;
    -webkit-text-fill-color: #FBFBFB;
    -webkit-text-stroke: 1.26px transparent;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        -webkit-text-fill-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        -webkit-text-stroke 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        text-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, color, text-shadow;
}

/* Slow fade back to white after 2s linger */
.hero-word.word-fading {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        color 1.5s ease-in-out,
        -webkit-text-fill-color 1.5s ease-in-out,
        -webkit-text-stroke 1.5s ease-in-out,
        text-shadow 1.5s ease-in-out;
}

/* Locked color states (applied by JS while hovered or lingering) */
.hero-word.word-pink.word-lit {
    color: #FFDAEF !important;
    -webkit-text-fill-color: #FFDAEF !important;
    text-shadow: 0px 4px 10px rgba(255, 218, 239, 0.45) !important;
    transform: scale(1.06);
}
.hero-word.word-blue.word-lit {
    color: #007EFA !important;
    -webkit-text-fill-color: #007EFA !important;
    text-shadow: 0px 4px 10px rgba(0, 126, 250, 0.45) !important;
    transform: scale(1.06);
}
.hero-word.word-green.word-lit {
    color: #47E194 !important;
    -webkit-text-fill-color: #47E194 !important;
    text-shadow: 0px 4px 10px rgba(71, 225, 148, 0.45) !important;
    transform: scale(1.06);
}
.hero-word.word-white.word-lit {
    color: #FBFBFB !important;
    -webkit-text-fill-color: #FBFBFB !important;
    text-shadow: 0px 0px 12px rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.06);
}
.hero-word.word-outline.word-lit {
    -webkit-text-stroke: 0.35px #FBFBFB !important;
    transform: scale(1.06);
}

@media screen and (max-width: 800px) {
    .hero-word {
        font-size: clamp(2.9rem, 11.5vw, 95px) !important;
    }
    .hero-tagline {
        font-size: clamp(1.8rem, 7.5vw, 90px) !important;
    }

    .hero-word,
    .hero-tagline {
        line-height: 1.0 !important;
        transition: color 0.3s ease, -webkit-text-fill-color 0.3s ease, -webkit-text-stroke 0.3s ease, text-shadow 0.3s ease !important;
        will-change: transform, opacity !important;
    }   

    /* Base states for words to match mockup on mobile only */
    .hero-word.word-pink {
        color: #FFDAEF !important;
        -webkit-text-fill-color: #FFDAEF !important;
        -webkit-text-stroke: none !important;
    }
    .hero-word.word-blue {
        color: #007EFA !important;
        -webkit-text-fill-color: #007EFA !important;
        -webkit-text-stroke: none !important;
    }
    .hero-word.word-green {
        color: #47E194 !important;
        -webkit-text-fill-color: #47E194 !important;
        -webkit-text-stroke: none !important;
    }
    .hero-word.word-white {
        color: #FBFBFB !important;
        -webkit-text-fill-color: #FBFBFB !important;
        -webkit-text-stroke: none !important;
    }
    .hero-word.word-outline {
        color: transparent !important;
        -webkit-text-fill-color: transparent !important;
        -webkit-text-stroke: 0.35px #FBFBFB !important;
    }
}

/* Hover Accent States as defined in Brandbook node 2476:16868 */

/* 1. Pink State */
.hero-word.word-pink:hover {
    transform: scale(1.06);
    color: #FFDAEF;
    -webkit-text-fill-color: #FFDAEF;
    text-shadow: 0px 4px 10px rgba(255, 218, 239, 0.45);
}

/* 2. Blue State */
.hero-word.word-blue:hover {
    transform: scale(1.06);
    color: #007EFA;
    -webkit-text-fill-color: #007EFA;
    text-shadow: 0px 4px 10px rgba(0, 126, 250, 0.45);
}

/* 3. Green State */
.hero-word.word-green:hover {
    transform: scale(1.06);
    color: #47E194;
    -webkit-text-fill-color: #47E194;
    text-shadow: 0px 4px 10px rgba(71, 225, 148, 0.45);
}

/* 4. Glow White State */
.hero-word.word-white:hover {
    transform: scale(1.06);
    color: #FBFBFB;
    -webkit-text-fill-color: #FBFBFB;
    text-shadow: 0px 0px 12px rgba(255, 255, 255, 0.6);
}

/* 5. Outlined White State */
.hero-word.word-outline:hover {
    transform: scale(1.06);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.35px #FBFBFB;
}

/* Tagline Style */
.hero-tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 6.2vw, 90.2px);
    line-height: 1.2;
    color: #A6D3FF;
    -webkit-text-fill-color: #A6D3FF;
    -webkit-text-stroke: none;
    text-align: center;
    display: inline-block;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-tagline:hover {
    transform: scale(1.02);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .hero-section.brand-typography-hero {
        width: calc(100% + 80px);
        margin-left: -40px;
        margin-right: -40px;
    }
}

@media (max-width: 800px) {
    .hero-section.brand-typography-hero {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        padding-top: 12px !important;
        padding-bottom: 2px !important;
        overflow: hidden !important;
    }

    .hero-typo-container {
        gap: 4px !important;
        padding: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .hero-typo-row {
        gap: clamp(4px, 1vw, 8px) !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .hero-word {
        font-size: 11.5vw !important;
    }

    .hero-tagline {
        font-size: 7.2vw !important;
    }
}

/* ABOUT PAGE STYLES */
.about-page {
    background: #1E1E1E;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.about-page .container_main_page {
    background: transparent;
}

.badge-about {
    background: rgb(71, 225, 148);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.badge-about span {
    font-family: 'Reenie Beanie', cursive;
    font-size: 60px;
    color: #121212;
    transform: rotate(270deg);
    white-space: nowrap;
}

.about-main {
    padding: 40px 70px 128px 70px;
    max-width: 1440px;
    margin: 0 auto;
}

/* Header Adjustments */
.about-header .logo-white {
    color: #fff;
}

.about-header .tagline-white {
    color: rgb(184, 184, 184);
}

/* =====================================================
   ABOUT PAGE — REDESIGN 2025
   ===================================================== */

/* Badge Sidebar */
.badge-about {
    background: #47E194;
    color: #1E1E1E;
    font-family: 'Reenie Beanie', cursive;
    font-size: 108px;
    line-height: 0.85;
    padding: 32px 16px 8px;
    opacity: 0.78;
}

/* --- Tabs Panel (Pill Shape) --- */
.about-tabs-panel {
    display: inline-flex;
    background: #47E194;
    padding: 4px;
    border-radius: 40px;
    margin-bottom: 76px;
    gap: 8px;
}

.about-tab-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 18px;
    color: #1E1E1E;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    user-select: none;
}

.about-tab-btn:hover:not(.active) {
    background: rgba(30, 30, 30, 0.12);
}

.about-tab-btn.active {
    background: #1E1E1E;
    color: #FBFBFB;
}

/* --- Hero Section --- */
.about-hero {
    margin-bottom: 60px;
}

.about-headline {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 900;
    color: #FBFBFB;
    text-transform: uppercase;
    margin-bottom: 38px;
    line-height: 1;
    white-space: nowrap;
}

.about-headline .text-gray {
    color: #A3A3A3;
}

/* Tags row */
.about-tags {
    display: flex;
    gap: 42px;
    flex-wrap: wrap;
    margin-bottom: 38px;
    opacity: 0.69;
}

.about-tags .tag {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #DEDEDE;
    white-space: nowrap;
}

.about-tags .tag .text-gray {
    color: #868686;
}

/* Intro block: description + stats side by side */
.about-intro {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.about-description p {
    font-size: 18px;
    font-weight: 600;
    color: #FBFBFB;
    text-transform: uppercase;
    line-height: 1.55;
    margin: 0;
    white-space: pre-line;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-stats p {
    font-size: 18px;
    font-weight: 600;
    color: #DEDEDE;
    text-transform: uppercase;
    line-height: 1.55;
    margin: 0;
}

.label-white {
    color: #FBFBFB;
}

.value-gray {
    color: #B3B3B3;
}

.value-white {
    color: #FBFBFB;
}

.text-green {
    color: #47E194;
}

/* =====================================================
   BLUEPRINT TEAM GRID
   ===================================================== */

.team-blueprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px 20px;
    margin-top: 80px;
    position: relative;
}

/* --- Base Blueprint Card --- */
.blueprint-card {
    position: relative;
    background: #1E1E1E;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    padding: 34px;
    overflow: visible;
}

/* Decorative blueprint outline element */
.bp-outline {
    position: absolute;
    background: transparent;
    border: 1px solid #A6D3FF;
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

/* Nika top outline — horizontal bar above card */
.nika-bp-card .bp-outline-left {
    width: 321px;
    height: 47px;
    top: -47px;
    left: 33px;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

/* Tasya top outline — small vertical bar above card */
.tasya-bp-card .bp-outline-top {
    width: 40px;
    height: 199px;
    top: -199px;
    left: 23px;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

/* Pavel lower-left outline — vertical bar below-left */
.pavel-bp-card .bp-outline-lower-left {
    width: 43px;
    height: 179px;
    bottom: -180px;
    left: 0;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

/* Ivan outline — wide horizontal bar above card */
.ivan-bp-card .bp-outline-right {
    width: 307px;
    height: 49px;
    top: -49px;
    right: 0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

/* --- Card Content Layouts --- */

/* Flex horizontal (Nika + Ivan) */
.bp-content-flex {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Vertical (Tasya + Pavel) */
.bp-content-vert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    position: relative;
    z-index: 2;
}

/* Photo column */
.bp-left-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.bp-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

/* Photos */
.bp-photo {
    width: 206px;
    height: 244px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    display: block;
}

.bp-photo-nika {
    object-position: center top;
}

.bp-photo-ivan {
    object-position: center top;
}

.bp-photo-wrapper {
    flex-shrink: 0;
}

/* Info block */
.bp-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #F5F5F5;
    text-transform: uppercase;
    line-height: 1.55;
    margin: 0 0 2px;
}

.bp-info-center {
    text-align: left;
}

.role-green {
    color: #47E194;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.55;
}

/* Bio text */
.bp-bio {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bp-bio p {
    font-size: 11px;
    font-weight: 600;
    color: #DEDEDE;
    text-transform: uppercase;
    line-height: 1.55;
    margin: 0;
}

/* Contact section (message + handle) */
.bp-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bp-msg-link {
    font-size: 11px;
    font-weight: 500;
    font-style: italic;
    color: #DEDEDE;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.4;
    transition: color 0.2s;
}

.bp-msg-link:hover {
    color: #47E194;
}

.bp-handle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #FBFBFB;
    text-transform: uppercase;
    display: block;
}

/* --- Nika Card (top-left, wide) --- */
.nika-bp-card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    margin-top: 47px;
    /* offset for the top outline */
}

/* --- Tasya Card (top-right, portrait) --- */
.tasya-bp-card {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 199px;
    /* offset for the top outline */
    max-width: 320px;
    justify-self: end;
}

/* --- Pavel Card (bottom-left, portrait) --- */
.pavel-bp-card {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    max-width: 340px;
}

/* --- Ivan Card (bottom-right, wide) --- */
.ivan-bp-card {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-top: 49px;
    /* offset for top outline */
}

/* Ivan specific layout */
.bp-ivan-flex {
    align-items: flex-start;
}

/* --- Responsive: stack blueprint cards --- */
@media (max-width: 1000px) {
    .about-headline {
        font-size: 36px;
        white-space: normal;
    }

    .about-tags {
        gap: 20px;
    }

    .team-blueprint-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .nika-bp-card,
    .tasya-bp-card,
    .pavel-bp-card,
    .ivan-bp-card {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: 50px;
        max-width: 100%;
        justify-self: auto;
    }

    .bp-content-flex {
        flex-direction: column;
    }

    .bp-photo {
        width: 100%;
        height: 220px;
    }

    .bp-outline {
        display: none;
    }
}

/* --- Reset Broom Styles --- */
#reset-broom img {
    transition: transform 0.3s ease;
    filter: none !important;
    box-shadow: none !important;
}

#reset-broom:hover img {
    transform: scale(1.1) rotate(-8deg);
}

#reset-broom.sweeping img {
    animation: sweep-pendulum 0.8s ease-in-out;
}

@keyframes sweep-pendulum {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-35deg);
    }

    40% {
        transform: rotate(30deg);
    }

    60% {
        transform: rotate(-25deg);
    }

    80% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.explosion-shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* MOBILE OVERRIDES */
@media (max-width: 768px) {
    body {
        padding: 120px 0;
    }

    .main-row {
        display: block !important;
        padding: 0 !important;
        margin-top: -64px !important;
        width: 100% !important;
    }

    .container_main_page,
    .container {
        padding: 40px 20px !important;
        width: 92% !important;
        max-width: 92% !important;
        margin: 0 auto 40px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }

    /* Toggle Visibility */
    .header-desktop-layout {
        display: none !important;
    }

    /* Header Styles (Desktop) */
    .header {
        width: 92%;
        max-width: 1400px;
        /* Optional cap */
        margin: 0 auto 0;
        position: relative;
        z-index: 1000;
    }

    .header-desktop-layout {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0 64px;
        width: 100%;
    }

    /* Mobile Overrides (at the bottom) */
    @media (max-width: 768px) {
        .header {
            width: 100%;
            margin: 0;
        }

        /* Reset for mobile media queries later */

        .header-mobile-hero {
            display: flex !important;
            flex-direction: column;
            align-items: center;
            width: 92% !important;
            margin: 0 auto !important;
            /* Centered like the container */
            background: #1E1E1E !important;
            padding: 48px 18px 40px !important;
            border-radius: 40px 40px 0 0 !important;
            /* BEAUTIFUL ROUNDED TOP */
            gap: 16px;
            position: relative;
            box-sizing: border-box !important;
        }
    }

/* ==========================================================================
   PAGE WRAPPER FULLSCREEN MOBILE OVERRIDE
   ========================================================================== */
@media (max-width: 800px) {
    body {
        padding: 0 !important;
        margin: 0 !important;
    }
    .page {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ==========================================================================
   SCROLL BEHAVIOR: FLOATING BURGER MENU (MOBILE ONLY)
   ========================================================================== */
@media (max-width: 800px) {
    body.is-scrolled .header {
        position: relative !important; 
        top: auto !important;
        z-index: 9999 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
    }
    body.is-scrolled .header.header--light,
    body.is-scrolled .header--light {
        background: transparent !important;
        border-bottom: none !important;
    }

    /* Separate floating button outside the container */
    .mobile-nav-toggle-floating {
        display: none !important;
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        z-index: 99999 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 72px !important;
        height: 72px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        margin: 0 !important;
    }

    body.is-scrolled .mobile-nav-toggle-floating {
        display: flex !important;
        animation: fadeInBurger 0.3s ease-out forwards !important;
    }

    /* Прячем плавающий бургер, когда меню уже открыто */
    body.menu-open .mobile-nav-toggle-floating {
        display: none !important;
    }

    .mobile-nav-toggle-floating .burger-icon {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        display: block !important;
    }
}

/* ==========================================================================
   GLOBAL MOBILE OVERRIDES FOR NEW POPUP MENU CONTENT
   GLOBAL MOBILE OVERRIDES FOR NEW POPUP MENU CONTENT (FULL SCREEN)
   ========================================================================== */
@media (max-width: 800px) {
    .nav-overlay, .main-page .nav-overlay {
        align-items: center !important;
    }
    .nav-popup, .main-page .nav-popup {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        padding: 40px 20px !important;
        gap: 48px !important;
        padding: 100px 20px 40px !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    .menu-close-btn, .main-page .menu-close-btn {
        position: static !important;
        margin: 0 !important;
        transform: none !important;
    }
    .nav-links, .main-page .nav-links {
        align-items: center !important;
        gap: 32px !important;
        width: 100% !important;
    }
    .nav-links a, .main-page .nav-links a {
        text-align: center !important;
        font-size: 24px !important;
    }
    .nav-socials {
        display: flex !important;
        gap: 24px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .nav-social-link {
        display: inline-flex !important;
    }
    .nav-social-link img {
        width: 36px !important;
        height: 36px !important;
    }
    .send-signal-btn-mobile, .main-page .send-signal-btn-mobile {
        margin: 0 !important;
        align-self: center !important;
        width: auto !important;
    }
}

/* ==========================================================================
   UNIVERSAL MOBILE HEADER FIX (GRID + TAGLINE ALIGNMENT)
   ========================================================================== */
@media (max-width: 800px) {
    /* Dark layouts (already have container padding) */
    body.main-page .header,
    body.services-page .header {
        display: block !important;
        margin: 0 0 54px 0 !important;
        width: 100% !important;
        padding: 24px 16px 0 !important;
        left: 0 !important;
        position: relative !important;
        top: auto !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
    }

    /* Light layouts & Case pages (need elegant top spacing) */
    body.abilka-case-page .header,
    body.frozenbro-page .header,
    body.drwdy-page .header,
    body.brand-package-page .header,
    body.privacy-page .header,
    body.about-page-body .header {
        display: block !important;
        margin: 0 0 54px 0 !important;
        width: 100% !important;
        padding: 24px 16px 0 !important;
        left: 0 !important;
        position: relative !important;
        top: auto !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
    }

    body .header-mobile-hero,
    body.main-page .header-mobile-hero,
    body.services-page .header-mobile-hero {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important; /* Rely entirely on margin on tagline for precise control */
        width: 100% !important;
        margin: 0 !important;
        padding: 0 16px !important; /* Zero padding to match other pages */
        background: transparent !important;
        border-radius: 0 !important;
    }

    body .header-mobile-hero .logo-stack,
    body.main-page .header-mobile-hero .logo-stack,
    body.services-page .header-mobile-hero .logo-stack,
    body .header-mobile-hero .logo-stack a,
    body.main-page .header-mobile-hero .logo-stack a,
    body.services-page .header-mobile-hero .logo-stack a {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    body .header-mobile-hero .logo-main,
    body.main-page .header-mobile-hero .logo-main,
    body.services-page .header-mobile-hero .logo-main {
        width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
        display: block !important;
    }

    body .header-mobile-hero .tagline {
        margin: 0 0 0 16px !important; /* Единый отступ логотип → подпись на всех страницах */
        font-size: 12px !important;
        line-height: 1.2 !important;
        text-align: left !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    body .header--dark .header-mobile-hero .tagline,
    body.main-page .header--dark .header-mobile-hero .tagline,
    body.services-page .header--dark .header-mobile-hero .tagline {
        color: #DDDDDD !important;
    }

    body .header--light .header-mobile-hero .tagline,
    body.main-page .header--light .header-mobile-hero .tagline,
    body.services-page .header--light .header-mobile-hero .tagline {
        color: #1E1E1E !important;
    }

    body .header-mobile-hero .mobile-nav-toggle-hero,
    body.main-page .header-mobile-hero .mobile-nav-toggle-hero,
    body.services-page .header-mobile-hero .mobile-nav-toggle-hero {
        margin: 0 0 0 auto !important; /* Прибиваем бургер к правому краю */
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        display: flex !important;
        flex-shrink: 0 !important;
    }

    body .header-mobile-hero .burger-icon,
    body.main-page .header-mobile-hero .burger-icon,
    body.services-page .header-mobile-hero .burger-icon {
        width: 48px !important;
        height: auto !important;
        margin: 0 !important;
    }
}

@keyframes fadeInBurger {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

    .logo-main {
        display: block !important;
        height: auto !important;
        width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
    }

    .header-mobile-hero .tagline {
        color: #DDDDDD !important;
        font-size: 12px !important;
        text-align: left !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
        margin: 0 0 0 16px !important;
        letter-spacing: 0.05em !important;
    }

    .mobile-nav-toggle-hero {
        display: flex !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        margin-top: 24px !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
    }

    .burger-icon {
        display: block !important;
        width: 100px !important;
        height: auto !important;
    }

    /* TALL POPUP MODAL */
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        display: none;
        /* Controlled by active class */
        justify-content: center !important;
        align-items: center !important;
        z-index: 9999 !important;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }

    .nav-popup {
        background: #1E1E1E !important;
        width: 90% !important;
        max-width: 340px !important;
        min-height: 700px !important;
        /* Slightly tighter crop */
        padding: 140px 20px 40px !important;
        /* increased top padding to account for lower X, reduced bottom */
        border-radius: 40px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 100px !important;
        position: relative !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 1) !important;
        display: flex !important;
    }

    .menu-close-btn {
        position: absolute !important;
        top: 80px !important;
        /* LOWERED */
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10002 !important;
    }

    .menu-close-btn img {
        width: 44px !important;
        height: 44px !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 48px !important;
        /* Internal links gap */
    }

    .nav-links a {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #FBFBFB !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
    }

    .send-signal-btn-mobile {
        background: #47E194 !important;
        color: #1E1E1E !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        font-style: italic !important;
        text-transform: uppercase !important;
        padding: 16px 32px !important;
        border-radius: 20px !important;
        text-decoration: none !important;
        width: auto !important;
        min-width: 220px !important;
        text-align: center !important;
    }
}

/* Header & Container Integration */
.header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

.header-desktop-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 64px 0 64px;
    width: 100%;
}

.header-mobile-hero {
    display: none;
    /* Shown in MQ */
}

/* MOBILE OVERRIDES */
@media (max-width: 800px) {
    body {
        padding: 120px 0;
    }

    .main-row {
        display: block !important;
        padding: 0 !important;
        margin-top: -20px !important;
        width: 100% !important;
    }

    .container_main_page,
    .container {
        padding: 0 !important;
        border-radius: 0px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0px 40px 0px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        overflow: hidden !important;
        position: relative;
        background: #FBFBFB;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        isolation: isolate;
    }

    /* Toggle Visibility */
    .header-desktop-layout {
        display: none !important;
    }

    .header-mobile-hero {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        margin-top: -64px !important;
        background: #1E1E1E !important;
        padding: 49px 18px 40px !important;
        /* +1px for overlap */
        margin-top: -1px !important;
        /* Slight overlap to prevent sub-pixel gaps */
        border-radius: 32px 32px 0 0 !important;
        /* MATCH PARENT RADIUS */
        gap: 16px;
        position: relative;
        box-sizing: border-box !important;
    }

    .logo-main {
        display: block !important;
        height: auto !important;
        width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
    }

    .header-mobile-hero .tagline {
        color: #DDDDDD !important;
        font-size: 12px !important;
        text-align: left !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
        margin: 0 0 0 16px !important;
        letter-spacing: 0.05em !important;
    }

    .mobile-nav-toggle-hero {
        display: flex !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        margin-top: 24px !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
    }

    .burger-icon {
        display: block !important;
        width: 100px !important;
        height: auto !important;
    }

    /* TALL POPUP MODAL */
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        display: none;
        justify-content: center !important;
        align-items: center !important;
        z-index: 3000 !important;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }

    .nav-popup {
        background: #1E1E1E !important;
        width: 90% !important;
        max-width: 340px !important;
        min-height: 700px !important;
        padding: 140px 20px 40px !important;
        border-radius: 40px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 100px !important;
        position: relative !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 1) !important;
        display: flex !important;
    }

    .menu-close-btn {
        position: absolute !important;
        top: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10002 !important;
    }

    .menu-close-btn img {
        width: 44px !important;
        height: 44px !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 48px !important;
    }

    .nav-links a {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #FBFBFB !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
    }

    .send-signal-btn-mobile {
        background: #47E194 !important;
        color: #1E1E1E !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        font-style: italic !important;
        text-transform: uppercase !important;
        padding: 16px 32px !important;
        border-radius: 20px !important;
        text-decoration: none !important;
        width: auto !important;
        min-width: 220px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* FINAL PIXEL-PERFECT MOBILE REFINEMENTS */
    .container_main_page,
    .container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .sticky-sidebar-layer,
    .sticky-sidebar-blue-layer,
    .sticky-sidebar-blue-img,
    .sticky-sidebar-img {
        display: none !important;
    }

    .cases-section {
        margin-bottom: 0 !important;
    }

    .cases-row {
        flex-direction: column !important;
        gap: 32px !important;
        padding: 0 20px !important;
    }

    .case-card {
        width: 100% !important;
    }

        .services-headline {
            font-size: 54px !important;
            line-height: 1.1 !important;
        }

    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 72px !important;
        padding: 0 20px 72px !important
    }

    .services-row {
        flex-direction: column !important;
        gap: 72px !important;
    }

    .service-card {
        width: 100% !important;
    }

    #request-form {
        padding-top: 72px !important;
        margin-top: 0px !important;
        border-radius: 0 !important;
    }

    .request-form-section {
        margin-top: -64px !important;
        border-radius: 0 !important;
        margin-top: 0;
        padding-top: 60px !important;
        padding: 0 20px 40px !important;
        width: 100% !important;
    }

    .footer-main-row {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
}

/* Standardizing all badges to the new smaller size */
.sticky-sidebar-img,
.sticky-sidebar-blue-img {
    max-width: 90px !important;
}

/* ==========================================================================
   ABOUT PAGE - CLEAN INSTALL
   ========================================================================== */

/* Page background and structure */
.about-page-body {
    background: #b8b8b8 !important;
}

/* About Content Components */


/* About Content Components */
.about-content-inner,
.about-content-inner h1,
.about-content-inner p,
.about-content-inner span,
.about-content-inner div {
    color: #fbfbfb !important;
    /* ULTRA FORCE WHITE */
}

.about-content-inner {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-tabs {
    display: flex;
    background: #47e194;
    padding: 6px;
    border-radius: 40px;
    gap: 8px;
    margin-bottom: 90px;
}

.about-tab-btn {
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 800;
    color: #1e1e1e !important;
    /* Tabs should be black text on green */
    cursor: pointer;
}

.about-tab-btn.active {
    background: #1e1e1e;
    color: #fbfbfb !important;
}

.about-h1 {
    font-family: 'Inter', sans-serif !important;
    font-size: 80px !important;
    font-weight: 900 !important;
    text-align: center;
    line-height: 1;
    margin-bottom: 64px;
    letter-spacing: -0.03em;
}

.about-h1 .gray {
    color: #a3a3a3 !important;
    font-size: 0.9em;
    margin: 0 4px;
}

.about-tags-list {
    display: flex;
    gap: 42px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 76px;
}

.about-tag-item {
    font-size: 18px;
    font-weight: 800;
    opacity: 0.69;
}

.about-tag-item .gray {
    color: #868686 !important;
}

.about-intro-section {
    width: 100%;
    max-width: 1280px;
    margin-bottom: 90px;
}

.about-intro-text p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.about-info-stats {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-line {
    font-size: 20px;
    font-weight: 700;
}

.about-stat-line .label {
    margin-right: 8px;
}

.about-stat-line .value {
    color: #b3b3b3 !important;
}

/* Team Section Clean */
.about-team-grid {
    display: flex;
    flex-direction: column;
    gap: 96px;
    width: 100%;
    max-width: 974px;
    margin-bottom: 120px;
}

.about-member-card {
    display: flex;
    gap: 57px;
    align-items: flex-start;
}

.about-member-left {
    width: 219px;
    flex-shrink: 0;
}

.about-member-photo {
    width: 219px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.about-member-social {
    text-align: left;
}

.about-tg-msg {
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    color: #47e194 !important;
    /* TG link should be green */
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.2;
}

.about-handle {
    font-size: 32px;
    font-weight: 900;
}

.about-member-right {
    flex: 1;
    padding-top: 4px;
}

.about-member-name {
    font-size: 22px;
    font-weight: 900;
    display: block;
    margin-bottom: 4px;
}

.about-member-role {
    font-size: 18px;
    font-weight: 800;
    color: #47e194 !important;
    display: block;
    margin-bottom: 32px;
}

.about-member-bio {
    font-size: 18px;
    font-weight: 600;
    color: #dedede !important;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

@media (max-width: 800px) {
    .about-member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-member-social {
        text-align: center;
    }

    .about-h1 {
        font-size: 40px !important;
    }

    .about-member-left {
        width: 100%;
    }

    .about-tabs {
        display: none !important;
    }
    .about-content-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   FINAL MOBILE HEADER VISIBILITY FIX (SERVICES & ALL PAGES)
   ========================================================================== */
@media (max-width: 800px) {
    /* 0. Убираем отрицательные отступы у главного ряда, из-за которых шапка улетала за экран */
    body {
        padding-top: 0 !important;
    }

    /* 1. Убираем обрезку и лишние отступы у контейнера */
    body .container,
    body .container_main_page {
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Возвращаем шапку на место и делаем ее видимой */
    body .header {
        display: block !important;
        position: relative !important;
        top: auto !important;
        margin: 0 0 32px 0 !important;
        padding: 24px 16px 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: transparent !important;
    }

    /* 3. Задаем горизонтальный вид и отменяем отрицательные отступы */
    body .header-mobile-hero {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 16px 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    body .header-mobile-hero .logo-stack {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    body .header-mobile-hero .logo-main {
        display: block !important;
        width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
    }

    /* 4. Отменяем margin-top: -64px, из-за которого шапка улетала вверх */
    body .header-mobile-hero .tagline {
        display: block !important;
        margin: 0 0 0 16px !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }
    
    body .header--light .header-mobile-hero .tagline {
        color: #1E1E1E !important;
    }
    body .header--dark .header-mobile-hero .tagline {
        color: #DDDDDD !important;
    }

    /* 5. Выравниваем кнопку меню */
    body .header-mobile-hero .mobile-nav-toggle-hero {
        display: flex !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    
    body .header-mobile-hero .burger-icon {
        width: 44px !important;
        height: auto !important;
        margin: 0 !important;
        display: block !important;
    }
}

/* ==========================================================================
   ABOUT PAGE - PHILOSOPHY TAB
   ========================================================================== */

.philosophy-content {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    padding-bottom: 120px;
    margin: 0 auto;
}

.philosophy-section {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    /* Most sections are centered */
}

.why-bone-section {
    gap: 48px;
    align-items: center !important;
}

.why-bone-graphic {
    position: relative;
    width: 100%;
    max-width: 1008px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.bone-pattern-bg {
    width: 100%;
    height: auto;
}

.why-bone-title {
    position: absolute;
    font-family: 'Inter', sans-serif !important;
    font-size: 162px !important;
    font-weight: 900 !important;
    color: #fbfbfb !important;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 2;
}

.philosophy-text-block {
    width: 100%;
    max-width: 815px;
    /* Narrow width as requested */
    text-align: center !important;
    margin: 0 auto !important;
}

.philosophy-text-block p {
    font-size: 18px;
    font-weight: 600;
    color: #fbfbfb !important;
    line-height: 1.55;
    text-align: center !important;
    text-transform: uppercase;
    margin-bottom: 0;
}

.inline-bone {
    display: inline-block;
    height: 1em;
    margin: 0 4px;
    vertical-align: middle;
}

.logotype-section {
    gap: 64px;
    width: 100%;
    align-items: center !important;
}

.logotype-graphic-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* Move to the right edge as requested */
}

.logotype-graphic {
    width: 100%;
    height: auto;
}

.palette-section {
    gap: 40px;
    align-items: center !important;
    width: 100%;
}

.palette-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 80px !important;
    font-weight: 900 !important;
    color: #1e1e1e !important;
    text-transform: uppercase;
    margin: 0;
}

.palette-graphic-wrapper {
    width: 100%;
    margin-top: 20px;
}

.palette-graphic {
    width: 100%;
    max-width: none;
    height: auto;
}

/* Philosophy Responsive */
@media (max-width: 1024px) {
    .why-bone-title {
        font-size: 100px !important;
    }
}

@media (max-width: 768px) {
    .philosophy-content {
        gap: 80px;
        padding-bottom: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .why-bone-title {
        font-size: 60px !important;
    }

    .palette-title {
        font-size: 48px !important;
    }

    .philosophy-text-block p {
        font-size: 16px;
    }
}

/* ─── Other Projects Carousel ────────────────────────────────────────────── */

.other-projects-section {
    margin-top: -64px !important;
    padding: 120px 0;
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
    padding: 0;
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
}

.other-projects-title {
    padding: 0 175px !important;
    font-size: 45px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #1E1E1E;
}

.projects-carousel {
    width: 100%;
    overflow: hidden;
    /* Or overflow-x: auto for mobile */
}

.carousel-track {
    padding: 0 175px !important;
    display: flex;
    gap: 48px;
    width: 100%;
}

.carousel-item {
    flex: 1;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fbfbfb;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.carousel-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card-info {
    padding: 0 20px;
}

.carousel-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    color: #1E1E1E;
}

.carousel-card-info p {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

.bone-pattern-bg {
    width: 100%;
    height: auto;
}

.why-bone-title {
    position: absolute;
    font-family: 'Inter', sans-serif !important;
    font-size: 162px !important;
    font-weight: 900 !important;
    color: #fbfbfb !important;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 2;
}

.philosophy-text-block {
    width: 100%;
    max-width: 815px;
    /* Narrow width as requested */
    text-align: center !important;
    margin: 0 auto !important;
}

.philosophy-text-block p {
    font-size: 18px;
    font-weight: 600;
    color: #fbfbfb !important;
    line-height: 1.55;
    text-align: center !important;
    text-transform: uppercase;
    margin-bottom: 0;
}

.inline-bone {
    display: inline-block;
    height: 1em;
    margin: 0 4px;
    vertical-align: middle;
}

.logotype-section {
    gap: 64px;
    width: 100%;
    align-items: center !important;
}

.logotype-graphic-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* Move to the right edge as requested */
}

.logotype-graphic {
    width: 100%;
    height: auto;
}

.palette-section {
    gap: 40px;
    align-items: center !important;
    width: 100%;
}

.palette-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 80px !important;
    font-weight: 900 !important;
    color: #1e1e1e !important;
    text-transform: uppercase;
    margin: 0;
}

.palette-graphic-wrapper {
    width: 100%;
    margin-top: 20px;
}

.palette-graphic {
    width: 100%;
    max-width: none;
    height: auto;
}

/* Philosophy Responsive */
@media (max-width: 1024px) {
    .why-bone-title {
        font-size: 100px !important;
    }
}

@media (max-width: 768px) {
    .philosophy-content {
        gap: 80px;
        padding-bottom: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .why-bone-title {
        font-size: 60px !important;
    }

    .palette-title {
        font-size: 48px !important;
    }

    .philosophy-text-block p {
        font-size: 16px;
    }
}

/* ─── Other Projects Carousel ────────────────────────────────────────────── */

.other-projects-section {
    margin-top: -64px !important;
    padding: 120px 0;
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
    padding: 0;
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
}

.other-projects-title {
    padding: 0 175px !important;
    font-size: 45px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #1E1E1E;
}

.projects-carousel {
    width: 100%;
    overflow: hidden;
    /* Or overflow-x: auto for mobile */
}

.carousel-track {
    padding: 0 175px !important;
    display: flex;
    gap: 48px;
    width: 100%;
}

.carousel-item {
    flex: 1;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fbfbfb;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.carousel-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card-info {
    padding: 0 20px;
}

.carousel-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    color: #1E1E1E;
}

.carousel-card-info p {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    margin: 0;
}

/* Card Backgrounds */
.carousel-item .frozen-bg {
    background: linear-gradient(135deg, #E5B8E5 0%, #D4A5D4 100%);
}

.carousel-item .boiling-bg {
    background: linear-gradient(135deg, #F0EDE5 0%, #E8E3D8 100%);
}

.carousel-item .drwdy-bg {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
}

.carousel-item .abilka-bg {
    background: linear-gradient(135deg, #E8E8E8 0%, #D7DEE6 100%);
}

.carousel-item .frozen-bg+.carousel-card-info h3 {
    color: #E5B8E5;
}

.carousel-item .boiling-bg+.carousel-card-info h3 {
    color: #F0EDE5;
}

.carousel-item .drwdy-bg+.carousel-card-info h3 {
    color: #FFFFFF;
}

.carousel-item .abilka-bg+.carousel-card-info h3 {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .other-projects-section {
        margin-top: -64px !important;
        padding: 120px 0;
        margin-bottom: 0 !important;
        padding-bottom: 60px !important;
        padding: 80px 20px;
    }

    .carousel-track {
        padding: 0 175px !important;
        gap: 24px;
        overflow-x: auto;
        padding-bottom: 20px;
        scrollbar-width: none;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .carousel-item {
        min-width: 280px;
    }
}

/* ─── Abilka Case Final Layout ────────────────────────────────────────── */

.abilka-centered-group {
    margin: 0 auto !important;
    width: 1000px !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.abilka-case-images {
    margin-top: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.abilka-intro-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.abilka-img-wrapper {
    width: 1000px !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    margin-bottom: 40px !important;
    overflow: hidden !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    cursor: pointer !important;
}

.abilka-img-small {
    width: 500px !important;
    align-self: center !important;
}

.abilka-img-wrapper:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.abilka-image {
    width: 100% !important;
    display: block !important;
    height: auto !important;
    object-fit: cover !important;
}

.abilka-img-wrapper:nth-child(odd) {
    background: #D7DEE6;
}

.abilka-img-wrapper:nth-child(even) {
    background: #E8E8E8;
}

/* ==========================================================================
   QUEST MODAL STYLES
   ========================================================================== */

/* QUEST MODAL OVERLAY */
.quest-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    /* Premium dark dim backdrop */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    /* Nice premium blur */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.quest-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* QUEST MODAL CARD */
.quest-modal-card {
    background: #1E1E1E;
    border-radius: 16px;
    padding: 48px 56px;
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(71, 225, 148, 0.1);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 251, 251, 0.2) transparent;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quest-modal-overlay.active .quest-modal-card {
    transform: scale(1);
}

.quest-modal-card::-webkit-scrollbar {
    width: 6px;
}

.quest-modal-card::-webkit-scrollbar-thumb {
    background: rgba(251, 251, 251, 0.2);
    border-radius: 3px;
}

/* CLOSE BUTTON */
.quest-modal-close {
    position: absolute;
    top: 28px;
    right: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
}

.quest-modal-close img {
    width: 36px;
    height: 36px;
    transform: rotate(-45deg);
    filter: invert(1);
}

.quest-modal-close:hover img {
    animation: spinFast 0.6s linear infinite;
}

/* Modal uses homepage form layout — no custom header/title/description needed */

/* Form fields — clean overrides via specificity, no !important */
.quest-modal-card .request-form-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.quest-modal-card .request-input-group {
    border-bottom: 1.25px solid rgba(251, 251, 251, 0.3);
    padding-bottom: 2px;
    position: relative;
}

.quest-modal-card .request-input-group.request-media-group {
    border-bottom: none;
}

/* Override variant-refined input size via higher specificity */
.quest-modal-card .variant-refined .request-input-group input,
.quest-modal-card .request-input-group input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    height: auto;
    color: rgba(251, 251, 251, 0.6);
    font-size: 16px;
    padding: 4px 0 8px;
    margin-top: 0;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.quest-modal-card .variant-refined .request-input-group input::placeholder,
.quest-modal-card .request-input-group input::placeholder {
    color: rgba(251, 251, 251, 0.5);
    text-transform: uppercase;
    font-size: 16px;
}

/* Override variant-refined textarea */
.quest-modal-card .variant-refined .request-textarea-wrapper textarea,
.quest-modal-card .request-textarea-wrapper textarea {
    border: 1.25px solid rgba(251, 251, 251, 0.3);
    border-radius: 12px;
    background: transparent;
    padding: 16px 12px;
    width: 100%;
    height: 320px;
    color: #fbfbfb;
    font-size: 16px;
    resize: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.quest-modal-card .request-textarea-wrapper textarea::placeholder {
    color: rgba(251, 251, 251, 0.5);
    text-transform: uppercase;
}

/* Submit button */
.quest-modal-card .request-submit-btn {
    background: #47e194;
    color: #1e1e1e;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    font-style: italic;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 12px 28px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    width: fit-content;
    display: block;
    margin: 10px auto 0;
}

.quest-modal-card .request-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Helper text */
.quest-modal-card .font-sub {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: #fbfbfb;
    opacity: 0.5;
    margin-top: 0;
}

.quest-modal-card .state-voice .font-sub {
    color: #47e194;
    opacity: 1;
}

/* Helper row — text on top, icons below */
.quest-modal-card .request-helper-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 6px;
}

.quest-modal-card .helper-icons {
    gap: 6px;
    flex-shrink: 0;
    align-items: center;
}

.quest-modal-card .icon-btn img {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quest-modal-card {
        padding: 40px 24px;
    }

    .quest-modal-title {
        font-size: 32px;
    }

    .quest-modal-description {
        font-size: 15px;
    }

    .quest-modal-close {
        top: 20px;
        right: 20px;
    }
}

/* Height-based responsiveness to guarantee submit button visibility on shorter screens */
@media (max-height: 850px) {
    .quest-modal-card {
        padding: 32px 40px !important;
    }
    .quest-modal-header {
        margin-bottom: 16px !important;
    }
    .quest-modal-title {
        font-size: 38px !important;
    }
    .quest-modal-description {
        font-size: 15px !important;
    }
    .quest-modal-card .request-form-fields {
        gap: 16px !important;
        margin-bottom: 20px !important;
    }
    .quest-modal-card .request-textarea-wrapper textarea {
        height: 100px !important;
    }
}

/* Ensure the form inside the modal card stretches to full width of the card */
.quest-modal-card .request-form {
    width: 100% !important;
    max-width: 100% !important;
}

/* ==========================================================================
   STICKY HEADER NAVIGATION WITH DUAL-THEME GLASSMORPHISM
   ========================================================================== */

.header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    margin-left: -80px !important;
    margin-right: -80px !important;
    width: calc(100% + 160px) !important;
    padding: 0 80px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin-bottom: 0px !important;
    transition: background 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        backdrop-filter 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        -webkit-backdrop-filter 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        margin-bottom 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.header-desktop-layout {
    padding: 64px 0 !important;
    transition: padding 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.header-mobile-hero {
    transition: padding 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* --- Scrolled / Sticky Active State --- */

/* 1. Dark Theme Page Active State */
.header--scrolled.header--dark {
    background: rgba(30, 30, 30, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 2. Light Theme Page Active State */
.header--scrolled.header--light {
    background: rgba(251, 251, 251, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Compact padding transitions */
.header--scrolled .header-desktop-layout {
    padding: 24px 0 !important;
}

.header--scrolled .header-mobile-hero {
    padding: 20px 18px 20px !important;
}

/* Compensate for the 80px lost padding on scroll to prevent sticky layout jump */
@media (min-width: 801px) {
    .header--scrolled {
        margin-bottom: 80px !important;
    }
}

/* --- Responsive Alignments --- */
@media (max-width: 1100px) {
    .header {
        margin-left: -40px !important;
        margin-right: -40px !important;
        width: calc(100% + 80px) !important;
        padding: 0 40px !important;
    }
}

@media (max-width: 800px) {
    .header {
        position: relative !important;
        top: auto !important;
        margin-left: -22px !important;
        margin-right: -22px !important;
        width: calc(100% + 44px) !important;
        padding: 0 22px !important;
        border-radius: 0 !important;
    }

    body.main-page {
        padding: 0 !important;
    }

    .main-page .main-row {
        display: block !important;
        padding: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .main-page .container_main_page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        background: #1E1E1E !important;
        transform: none !important;
        -webkit-transform: none !important;
        isolation: auto !important;
    }

    .main-page .header {
        margin: 0 0 54px 0 !important;
        width: 100% !important;
        padding: 24px 16px 0 !important;
        left: 0 !important;
        position: relative !important;
        top: auto !important;
        z-index: 9999 !important;
    }

    .main-page .header-mobile-hero {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    .main-page .header-mobile-hero .logo-stack {
        display: flex !important;
        align-items: center !important;
    }

    .main-page .header-mobile-hero .logo-main {
        width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
    }

    .main-page .header-mobile-hero .tagline {
        margin: 0 0 0 16px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        text-align: left !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        color: #DDDDDD !important;
    }

    .main-page .mobile-nav-toggle-hero {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: auto !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .main-page .mobile-nav-toggle-hero .burger-icon {
        width: 44px !important;
        height: auto !important;
    }

    .main-page .hero-section.brand-typography-hero {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }

    .main-page .cases-row {
        padding: 0 !important;
    }

    .main-page .illustrations-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 72px 16px !important;
        padding: 32px 16px 72px !important;
        box-sizing: border-box !important;
        margin-top: 72px;
        margin-top: 32px;
    }

    .main-page .illustrations-container {
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important;
        text-align: center !important;
        gap: 54px !important;
    }

    .main-page .illustrations-title-img {
        margin: 0 auto !important;
        width: 280px !important;
        max-width: 100% !important;
    }

    .main-page .illustrations-grid {
        width: 100% !important;
        justify-content: center !important;
        gap: 28px !important;
    }

    .main-page .illustration-item {
        width: calc(50% - 14px) !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        max-width: 150px !important;
    }

    .main-page .why-us-v3 {
        padding: 72px 16px !important;
    }

    .main-page .why-us-v3-container {
        width: 100% !important;
        max-width: 100% !important;
        gap: 40px !important;
        align-items: center !important;
    }

    .main-page .why-us-v3-title-wrap {
        width: 100% !important;
        justify-content: center !important;
    }

    .main-page .why-us-v3-title {
        text-align: center !important;
        font-size: 44px !important;
    }

    .main-page .why-us-v3-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
    }

    .main-page .nav-overlay {
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        z-index: 9999 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
    }

    .main-page .nav-overlay.active {
        opacity: 1 !important;
        pointer-events: auto;
    }

    .main-page .nav-popup {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        background: #1E1E1E !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 20px 20px 32px 20px !important;
        box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.45) !important;
        transform: translateY(100%);
        transition: transform 0.28s ease;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 28px !important;
    }

    .main-page .nav-overlay.active .nav-popup {
        transform: translateY(0);
    }

    .main-page .menu-close-btn {
        position: static !important;
        width: 40px;
        height: 40px;
        margin-left: auto;
        transform: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        background: transparent !important;
    }

    .main-page .menu-close-btn img {
        width: 24px !important;
        height: 24px !important;
    }

    .main-page .nav-popup .nav-links {
        gap: 20px !important;
        align-items: flex-start !important;
    }

    .main-page .nav-popup .nav-links a {
        font-size: 20px !important;
        line-height: 1.1 !important;
    }

    .main-page .send-signal-btn-mobile {
        width: 100% !important;
        min-width: 0 !important;
    }
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 800px) {
    .request-form-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 56px 0 0 !important;
        padding: 64px 16px 80px !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .request-form-section .request-form-layout {
        width: 100% !important;
        max-width: 680px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 28px !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .request-form-section .request-form-copy {
        gap: 16px !important;
        text-align: left !important;
    }

    .request-form-section .request-form-title {
        font-size: 38px !important;
        line-height: 1.02 !important;
        margin: 0 !important;
        letter-spacing: -0.02em !important;
    }

    .request-form-section .request-form-description {
        width: 100% !important;
        font-size: 18px !important;
        line-height: 1.45 !important;
    }

    .request-form-section .request-form {
        width: 100% !important;
        gap: 24px !important;
        padding: 0 !important;
    }

    .request-form-section .request-form-fields {
        gap: 24px !important;
        margin: 0 !important;
    }

    .request-form-section .request-input-group {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .request-form-section .request-input-group input[type="text"],
    .request-form-section .request-input-group input[type="email"] {
        border: 0 !important;
        border-bottom: 1px solid rgba(251, 251, 251, 0.45) !important;
        line-height: 1.35 !important;
        padding: 0 0 10px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        text-transform: uppercase !important;
    }

    .request-form-section .request-input-group input[type="text"]:focus,
    .request-form-section .request-input-group input[type="email"]:focus {
        border-bottom-color: rgba(251, 251, 251, 0.8) !important;
    }

    .request-form-section .request-textarea-wrapper textarea {
        height: auto !important;
        min-height: 140px !important;
        margin-top: 0 !important;
        padding: 14px !important;
        line-height: 1.4 !important;
    }

    .request-form-section .request-helper-row {
        gap: 10px !important;
        margin-top: 4px !important;
    }

    .request-form-section .helper-text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .request-form-section .helper-icons {
        gap: 8px !important;
    }

    .request-form-section .helper-icons .icon-btn img,
    .request-form-section .helper-icons img {
        width: 24px !important;
        height: 24px !important;
    }

    .request-form-section .request-submit-btn {
            width: 64% !important;
        max-width: 100% !important;
        height: 48px !important;
            margin: 8px auto 0 !important;
            align-self: center !important;
    }
}

@media (max-width: 800px) {
    body .new-site-footer {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 72px 16px 28px !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
    }

    body .new-site-footer .footer-main-row {
        display: flex !important;
        flex-direction: column !important;
            align-items: center !important;
            gap: 64px !important;
        margin-bottom: 36px !important;
        padding: 0 !important;
            text-align: center !important;
    }

    body .new-site-footer .footer-brand-col {
        width: 100% !important;
                gap: 16px !important;
            align-items: center !important;
    }

    body .new-site-footer .footer-brand-logo {
        gap: 10px !important;
            justify-content: center !important;
            margin-bottom: 48px !important;
    }

    body .new-site-footer .footer-animated-bone {
        width: 44px !important;
        margin: 0 !important;
    }

    body .new-site-footer .footer-socials {
        gap: 12px !important;
        flex-wrap: wrap !important;
            justify-content: center !important;
    }

    body .new-site-footer .footer-email {
        font-size: 14px !important;
            text-align: center !important;
    }

    body .new-site-footer .footer-nav-col {
        width: 100% !important;
        gap: 12px !important;
            text-align: center !important;
            align-items: center !important;
    }

    body .new-site-footer .footer-nav-link {
        font-size: 16px !important;
    }

    body .new-site-footer .footer-copyright-row {
        width: 100% !important;
            justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 900px) {
    .main-page .cases-section,
    .main-page #cases {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .main-page .cases-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .request-form-section {
        padding-top: 64px !important;
        padding-bottom: 80px !important;
    }

    .request-form-section input[name="name"],
    .request-form-section input[name="email"],
    .request-form-section textarea[name="message"] {
        font-size: 16px !important;
    }

    .request-form-section input[name="name"],
    .request-form-section input[name="email"] {
        border-bottom: 1px solid rgba(251, 251, 251, 0.45) !important;
        padding: 0 0 10px !important;
    }

    .request-form-section input[name="name"]::placeholder,
    .request-form-section input[name="email"]::placeholder,
    .request-form-section textarea[name="message"]::placeholder {
        font-size: 16px !important;
    }

    .request-form-section #request-name,
    .request-form-section #request-email,
    .request-form-section #request-message,
    .request-form-section #request-name::placeholder,
    .request-form-section #request-email::placeholder,
    .request-form-section #request-message::placeholder {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   ABSOLUTE FULLSCREEN MOBILE MENU OVERRIDE (FORCING FULL SCREEN)
   ========================================================================== */
@media (max-width: 800px) {
    body .nav-overlay, 
    body.main-page .nav-overlay {
        align-items: center !important;
        justify-content: center !important;
    }
    
    body .nav-popup, 
    body.main-page .nav-popup {
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        padding: 40px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 40px !important;
        box-sizing: border-box !important;
        transform: translateY(100vh) !important;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
        margin: 0 !important;
    }

    body .nav-overlay.active .nav-popup,
    body.main-page .nav-overlay.active .nav-popup {
        transform: translateY(0) !important;
    }

    body .menu-close-btn, 
    body.main-page .menu-close-btn {
        position: absolute !important;
        top: 32px !important;
        right: 32px !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    body .nav-popup .nav-links, 
    body.main-page .nav-popup .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 32px !important;
        width: 100% !important;
    }
    
    body .nav-popup .nav-links a, 
    body.main-page .nav-popup .nav-links a {
        text-align: center !important;
        font-size: 24px !important;
        width: 100% !important;
    }

    body .nav-popup .nav-socials, 
    body.main-page .nav-popup .nav-socials {
        display: flex !important;
        gap: 24px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body .nav-popup .nav-social-link img,
    body.main-page .nav-popup .nav-social-link img {
        width: 36px !important;
        height: 36px !important;
    }

    body .nav-popup .send-signal-btn-mobile, 
    body.main-page .nav-popup .send-signal-btn-mobile {
        margin: 0 !important;
        align-self: center !important;
        width: auto !important;
        min-width: 200px !important;
    }
}

/* ==========================================================================
   CASE PAGES MOBILE REFINEMENTS (ABILKA, FROZEN BRO, DRWDY & BOILING BRAINS)
   ========================================================================== */
@media (max-width: 800px) {
    body.abilka-case-page .header-mobile-hero,
    body.abilka-case-page .nav-popup,
    body.drwdy-page .header-mobile-hero,
    body.drwdy-page .nav-popup {
        background: #FBFBFB !important;
    }
    body.frozenbro-page .header-mobile-hero,
    body.frozenbro-page .nav-popup {
        background: #F6F5F5 !important;
    }

    body.abilka-case-page .header-mobile-hero .logo-main,
    body.frozenbro-page .header-mobile-hero .logo-main,
    body.drwdy-page .header-mobile-hero .logo-main,
    body.boilingbrains-page .header-mobile-hero .logo-main,
    body.skrepki-page .header-mobile-hero .logo-main {
        width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
    }
    body.abilka-case-page .header-mobile-hero .burger-icon,
    body.abilka-case-page .menu-close-btn img,
    body.abilka-case-page .mobile-nav-toggle-floating .burger-icon,
    body.frozenbro-page .header-mobile-hero .burger-icon,
    body.frozenbro-page .menu-close-btn img,
    body.frozenbro-page .mobile-nav-toggle-floating .burger-icon,
    body.drwdy-page .header-mobile-hero .burger-icon,
    body.drwdy-page .menu-close-btn img,
    body.drwdy-page .mobile-nav-toggle-floating .burger-icon {
        filter: invert(1) !important;
    }
    body.abilka-case-page .header-mobile-hero .tagline,
    body.abilka-case-page .nav-popup .nav-links a,
    body.frozenbro-page .header-mobile-hero .tagline,
    body.frozenbro-page .nav-popup .nav-links a,
    body.drwdy-page .header-mobile-hero .tagline,
    body.drwdy-page .nav-popup .nav-links a {
        color: #1E1E1E !important;
    }

    /* 2. Tags size */
    body.abilka-case-page .tags span,
    body.abilka-case-page .tag-hash,
    body.frozenbro-page .tags span,
    body.frozenbro-page .tag-hash,
    body.drwdy-page .tags span,
    body.drwdy-page .tag-hash {
            font-size: 11px !important;
    }
    body.abilka-case-page .tags,
    body.frozenbro-page .tags,
    body.drwdy-page .tags {
            gap: 8px !important;
            margin-top: 8px !important;
            margin-bottom: 16px !important;
            flex-wrap: wrap !important;
    }

    /* 3. Images side margins and gallery fit */
        body.abilka-case-page,
        body.frozenbro-page,
        body.drwdy-page {
            padding: 0 !important;
        }
        body.abilka-case-page .main-row,
        body.frozenbro-page .main-row,
        body.drwdy-page .main-row {
            padding: 0 !important;
        }
    body.abilka-case-page .container,
    body.frozenbro-page .container,
    body.drwdy-page .container {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            border-radius: 0 !important;
            overflow: hidden !important;
        }
        body.abilka-case-page .header,
        body.frozenbro-page .header,
        body.drwdy-page .header {
            padding: 24px 16px 0 !important;
            margin-bottom: 54px !important;
        }
    body.abilka-case-page .main-left,
    body.frozenbro-page .main-left,
    body.drwdy-page .main-left {
            padding-top: 0 !important;
            padding-left: 16px !important;
            padding-right: 16px !important;
        }
        body.abilka-case-page .abilka-case-images,
        body.frozenbro-page .abilka-case-images,
        body.drwdy-page .abilka-case-images {
            padding-left: 16px !important;
            padding-right: 16px !important;
            box-sizing: border-box !important;
            margin-top: 16px !important;
            margin-bottom: 16px !important;
        }
        body.abilka-case-page .title-section,
        body.frozenbro-page .title-section,
        body.drwdy-page .title-section {
            margin-bottom: 16px !important;
        }
        /* Reset border radius for all case study images and wrappers on mobile, make margins between images tighter */
        body.abilka-case-page .abilka-img-wrapper,
        body.frozenbro-page .abilka-img-wrapper,
        body.drwdy-page .abilka-img-wrapper {
            margin-bottom: 4px !important;
            border-radius: 0 !important;
            width: 100% !important;
        }
        body.abilka-case-page .abilka-image,
        body.frozenbro-page .abilka-image,
        body.drwdy-page .abilka-image,
        body.frozenbro-page .strategy-img,
        body.drwdy-page .strategy-img,
        body.drwdy-page .drwdy-visual-before-image {
            border-radius: 0 !important;
            -webkit-border-radius: 0 !important;
        }
        /* Override any inline top margin on first showcase image wrapper on mobile */
        body.abilka-case-page .abilka-img-wrapper:first-child,
        body.frozenbro-page .abilka-img-wrapper:first-child,
        body.drwdy-page .abilka-img-wrapper:first-child,
        body.abilka-case-page .main-left + .abilka-img-wrapper,
        body.frozenbro-page .main-left + .abilka-img-wrapper,
        body.drwdy-page .main-left + .abilka-img-wrapper {
            margin-top: 16px !important;
        }

        /* 4. Other Projects Carousel Adaptation */
        body.abilka-case-page .other-projects-section,
        body.frozenbro-page .other-projects-section,
        body.drwdy-page .other-projects-section {
            padding: 48px 0 0 !important;
            margin-top: 32px !important;
            width: 100% !important;
            margin-left: 0 !important;
            left: 0 !important;
            position: relative !important;
            background: #1E1E1E !important;
        }
        body.abilka-case-page .other-projects-title,
        body.frozenbro-page .other-projects-title,
        body.drwdy-page .other-projects-title {
            width: 100% !important;
            max-width: 100% !important;
            font-size: 24px !important;
            padding: 0 16px !important;
            margin: 0 0 16px 0 !important;
            text-align: left !important;
            color: #FBFBFB !important;
        }
        body.abilka-case-page .projects-carousel,
        body.frozenbro-page .projects-carousel,
        body.drwdy-page .projects-carousel {
            padding: 0 0 24px 0 !important;
        }
        body.abilka-case-page .carousel-track,
        body.frozenbro-page .carousel-track,
        body.drwdy-page .carousel-track {
            width: 100% !important;
            padding-left: 16px !important;
            padding-right: 16px !important;
            gap: 12px !important;
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch;
            display: flex !important;
            scrollbar-width: none;
        }
        body.abilka-case-page .carousel-track::-webkit-scrollbar,
        body.frozenbro-page .carousel-track::-webkit-scrollbar,
        body.drwdy-page .carousel-track::-webkit-scrollbar {
            display: none;
        }
        body.abilka-case-page .carousel-item,
        body.frozenbro-page .carousel-item,
        body.drwdy-page .carousel-item {
            min-width: 75vw !important;
            flex: 0 0 75vw !important;
        }

        /* 5. Zero gap between form and footer */
        body.abilka-case-page .request-form-section,
        body.frozenbro-page .request-form-section,
        body.drwdy-page .request-form-section {
            width: 100% !important;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
            padding: 24px 16px 40px !important;
            border-radius: 0 !important;
            background: #1E1E1E !important;
            box-sizing: border-box !important;
        }
        body.abilka-case-page .new-site-footer,
        body.frozenbro-page .new-site-footer,
        body.drwdy-page .new-site-footer {
            width: 100% !important;
            margin-top: 0 !important;
            padding: 40px 16px !important;
            border-radius: 0 !important;
            background: #1E1E1E !important;
            box-sizing: border-box !important;
        }

        /* 6. Specific Case Page Typography and Containers (Dr. Wdy, Boiling Brains & Frozen Bro) */
        body.drwdy-page .drwdy-copy,
        body.drwdy-page .drwdy-visual-concept-intro,
        body.drwdy-page .drwdy-visual-concept-outro,
        body.drwdy-page .strategy-project-context,
        body.drwdy-page .strategy-section,
        body.abilka-case-page .strategy-project-context,
        body.frozenbro-page .strategy-project-context {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
        body.drwdy-page .drwdy-brandbook-section .drwdy-grid-three,
        body.drwdy-page .drwdy-grid-three {
            grid-template-columns: 1fr !important;
            gap: 16px !important;
        }

        /* 7. Mobile Tab Switcher Scaling & Spacing (Compact Layout) */
        body.abilka-case-page .buttons-wrap,
        body.frozenbro-page .buttons-wrap,
        body.drwdy-page .buttons-wrap {
            margin: 16px auto !important;
            padding: 3px !important;
            border-radius: 20px !important;
            gap: 4px !important;
        }
        body.abilka-case-page .buttons-wrap .btn,
        body.frozenbro-page .buttons-wrap .btn,
        body.drwdy-page .buttons-wrap .btn {
            height: 36px !important;
            padding: 0 20px !important;
            font-size: 13px !important;
            border-radius: 18px !important;
        }
        body.abilka-case-page .active-pill,
        body.frozenbro-page .active-pill,
        body.drwdy-page .active-pill {
            top: 3px !important;
            left: 3px;
            height: 36px !important;
            border-radius: 18px !important;
        }
        body.abilka-case-page .tab-content,
        body.frozenbro-page .tab-content,
        body.drwdy-page .tab-content {
            margin-bottom: 24px !important;
        }
        body.frozenbro-page .strategy-section,
        body.drwdy-page .strategy-section {
            margin-bottom: 32px !important;
        }
        body.frozenbro-page .subtitle-media-group,
        body.drwdy-page .subtitle-media-group {
            margin-bottom: 24px !important;
        }

        /* 8. LORE tab content mobile alignment, spacing and typography parity with VISUALS */
        body.abilka-case-page .strategy-content-wrapper,
        body.frozenbro-page .strategy-content-wrapper,
        body.drwdy-page .strategy-content-wrapper {
            padding: 0 16px !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        body.frozenbro-page .strategy-title,
        body.drwdy-page .section-title,
        body.drwdy-page .drwdy-brandbook-title {
            font-size: 20px !important;
            margin-top: 24px !important;
            margin-bottom: 12px !important;
            text-transform: uppercase !important;
            font-weight: 900 !important;
            color: #1E1E1E !important;
        }

        body.frozenbro-page .strategy-text,
        body.drwdy-page .drwdy-copy {
            font-size: 15px !important;
            line-height: 1.45 !important;
            margin-top: 12px !important;
            margin-bottom: 16px !important;
            color: #1E1E1E !important;
        }

        body.frozenbro-page .strategy-subtitle,
        body.drwdy-page .strategy-subtitle {
            font-size: 13px !important;
            font-style: italic !important;
            margin-top: 12px !important;
            margin-bottom: 6px !important;
            color: #1E1E1E !important;
        }

        body.abilka-case-page .tab-content .abilka-img-wrapper,
        body.frozenbro-page .tab-content .abilka-img-wrapper,
        body.drwdy-page .tab-content .abilka-img-wrapper,
        body.frozenbro-page .strategy-img {
            margin-top: 6px !important;
            margin-bottom: 16px !important;
            border-radius: 0 !important;
            width: 100% !important;
            height: auto !important;
        }
