/* =========================================================
   TIPOGRAFIA
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* =========================================================
   VARIAVEIS E RESETS
   ========================================================= */
:root {
    --white: #FFF;
    --black: #000;
    --purple: #241347;
    --pink: #DB6A7D;
    --baby-blue: #83C1E8;
    --bg-footer: #E9E9E9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Livvic", sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
}

h2 {
    font-family: "Bebas Neue", sans-serif;
    color: var(--white);
    font-size: clamp(32px, 3.23vw, 62px);
    font-style: normal;
    font-weight: 500;
    line-height: 95%;
    letter-spacing: 0.62px;
    text-transform: uppercase;
    text-wrap: balance;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background-color: var(--baby-blue);
}

.block {
    display: block;
}

/* =========================================================
   NAVBAR/
   ========================================================= */
/* Menu */
.header__nav {
    position: absolute;
    padding-top: 50px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header__nav-list {
    display: flex;
    gap: 99px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: fit-content;
}

.header__nav-item {
    margin: 0;
    padding: 0;
}

.header__nav-link {
    color: #FFF;
    text-align: center;
    font-family: "Livvic", sans-serif;
    font-size: clamp(12px, 0.8vw, 15px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.header__nav-link:hover {
    opacity: 0.8;
}

.header__nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 100;
}

.header__nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animação para X */
.header__nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.header__nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
    HERO SECTION
   ========================================================= */
.hero {
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: 16/9;
    background-image: url('assets/images/bghero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--purple);
}

/* =========================================================
    WATER WELL-BEING SECTION
   ========================================================= */

.water-map {
    width: 100%;
    background-color: var(--pink);
    padding: 45px 40px;
    position: relative;
}

.water-map::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15px;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/conchas.webp');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: left bottom;
    z-index: 2;
}

.water-map__container {
    display: grid;
    grid-template-columns: 15.9% 74.7%;
    gap: 9.4%;
    max-width: 1920px;
    margin: 0 auto;
}

.water-map__left {
    display: flex;
    flex-direction: column;
}

.water-map__title {
    max-width: 293px;
}

.water-map__number {
    display: block;
    color: var(--purple);
    font-size: clamp(14px, 0.94vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

.water-map__grid {
    display: flex;
    flex-direction: column;
    row-gap: 200px;
    position: relative;
    z-index: 2;
}

.water-map__text p {
    color: var(--white);
    font-size: clamp(18px, 1.2vw, 23px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 444px;
}

.water-map__figure {
    width: 76%;
    position: relative;
    background: var(--pink);
}

.water-map__image {
    width: 100%;
    display: block;
    mix-blend-mode: multiply;
}

/* =========================================================
    ABOUT SECTION
   ========================================================= */
.about {
    width: 100%;
    background-color: var(--baby-blue);
    padding: 45px 40px;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -79px;
    right: 27px;
    width: 100%;
    height: 100%;
    background-image: url(assets/images/polvo.webp);
    background-size: 18.2%;
    background-repeat: no-repeat;
    background-position: right bottom;
    z-index: 0;
}

.about__container {
    display: grid;
    grid-template-columns: 15.9% 48.5%;
    gap: 9.4%;
    max-width: 1920px;
    margin: 0 auto;
}

.about__left {
    display: flex;
    flex-direction: column;
}

.about__title {
    max-width: 126px;
    color: var(--purple);
}

.about__number {
    display: block;
    color: var(--white);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

.about__grid {
    display: grid;
    grid-template-columns: 46.9% 46.9%;
    grid-template-rows: auto auto;
    column-gap: 6.3%;
    row-gap: 246px;
}

.about__text {
    color: var(--purple);
    font-size: clamp(18px, 1.2vw, 23px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.about__text-right {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.about__date {
    color: #3F84B0;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.about__gallery {
    display: flex;
    grid-column: span 2 / span 2;
    gap: 20px;
}

.about__figure {
    width: auto;
    max-height: max-content;
    position: relative;
    background: var(--baby-blue);
}

.about__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    mix-blend-mode: multiply;
}

/* =========================================================
    PROJECT NUMBERS SECTION
   ========================================================= */
.project-numbers {
    width: 100%;
    background-color: var(--purple);
    padding: 45px 40px;
    position: relative;
}

.project-numbers::before {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -265px;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/ourico.webp');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: left bottom;
    z-index: 2;
}

.project-numbers__container {
    display: grid;
    grid-template-columns: 15.9% 74.7%;
    gap: 9.4%;
    max-width: 1920px;
    margin: 0 auto;
}

.project-numbers__left {
    display: flex;
    flex-direction: column;
}

.project-numbers__title {
    max-width: 357px;
    color: var(--white);
    text-wrap: balance;
}

.project-numbers__number {
    display: block;
    color: var(--pink);
    font-size: clamp(14px, 0.94vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

.project-numbers__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 145px;
    margin-bottom: 152px;
    grid-column: 2;
    position: relative;
    z-index: 2;
}

.project-numbers__card {
    text-align: start;
    color: var(--white);
    background-color: #1B0D38;
    padding: 42px 21px 30px;
}

.project-numbers__card-number {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(80px, 10.88vw, 209px);
    font-style: normal;
    font-weight: 500;
    line-height: 90.909%;
    letter-spacing: -2.09px;
    display: block;
    color: var(--baby-blue);
}

.project-numbers__card-figure {
    margin: 0 0 150px 0;
    width: 69px;
    height: auto;
    display: block;
}

.project-numbers__card-icon {
    width: 100%;
    display: block;
}

.project-numbers__card-title {
    font-size: clamp(18px, 1.51vw, 29px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--white);
}

/* =========================================================
    RESULTS SECTION
   ========================================================= */
.results {
    width: 100%;
    background-color: #EBEBEB;
    padding: 45px 40px;
    position: relative;
    background-image: url(assets/images/bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.results__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1920px;
    margin: 0 auto;
}

.results__left {
    display: flex;
    flex-direction: column;
}

.results__title {
    color: var(--purple);
}

.results__number {
    display: block;
    color: var(--purple);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

.results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.results__card {
    background-color: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.results__card:hover {
    background-color: var(--pink);
}

.results__card:hover .results__figure {
    background-color: var(--pink);
}

.results__card:hover .results__image {
    transform: scaleY(0.95);
    transform-origin: center top;
}

.results__card:hover .results__label {
    transform: translateY(-40px);
}

.results__figure {
    width: 100%;
    height: auto;
    overflow: hidden;
    transition: height 0.3s ease;
}

.results__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
    transform-origin: center top;
}

.results__label {
    padding-top: 20px;
    padding-bottom: 55px;
    color: var(--purple);
    font-size: clamp(20px, 1.51vw, 29px);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: transform 0.3s ease;
}

.results__card:hover .results__label {
    transform: translateY(-20px);
}

.results__more {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--black);
    font-size: clamp(16px, 1.04vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.results__card:hover .results__more {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
    GALLERY SECTION
   ========================================================= */

.gallery {
    width: 100%;
    background-color: var(--purple);
    padding: 45px 40px;
    position: relative;
}

.gallery__container {
    display: flex;
    flex-direction: column;
    gap: 70px;
    max-width: 1920px;
    margin: 0 auto;
}

.gallery__left {
    display: flex;
    flex-direction: column;
}

.gallery__title {
    color: var(--white);
}

.gallery__number {
    display: block;
    color: var(--pink);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

.gallery__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery__link {
    color: var(--white);
    font-size: clamp(16px, 1.04vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.gallery__link:hover {
    opacity: 0.7;
}

.gallery__track {
    display: flex;
    gap: 50px;
    overflow-x: scroll;
    cursor: grab;
    user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -40px;
    padding: 0 40px;
    overflow-x: scroll;
    overflow-y: visible;
    padding: 27px 0;
}

.gallery__track::-webkit-scrollbar {
    display: none;
}

.gallery__track:active {
    cursor: grabbing;
}

.gallery__item {
    flex-shrink: 0;
    background-color: var(--baby-blue);
    width: auto;
    height: auto;
    aspect-ratio: 16/9;
}

.gallery__image {
    object-fit: contain;
    display: block;
    pointer-events: none;
    mix-blend-mode: multiply;
    height: clamp(160px, 20vw, 300px);
    filter: grayscale(1);
    width: auto;
}

.gallery__item:nth-child(odd) {
    transform: rotate(2deg);
}

.gallery__item:nth-child(even) {
    transform: rotate(-4deg);
}

/* =========================================================
    FOOTER
   ========================================================= */

.footer__top {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 40px;
    padding: 65px 40px;
    max-width: 1920px;
    margin: 0 auto;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 52px;
    position: relative;
}

.footer__col::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 123%;
    background-color: #999999;
}

.footer__col:first-child {
    padding-left: 0;
}

.footer__col:last-child {
    padding-right: 0;
}

.footer__col:last-child::after {
    display: none;
}

.footer__col-title {
    color: var(--pink);
    font-size: clamp(12px, 0.73vw, 14px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.footer__logos {
    display: flex;
    align-items: center;
    gap: 43px;
}

.footer__logos img {
    height: auto;
    width: auto;
    object-fit: contain;
}

/*Bottom footer*/
.bottom-footer {
    background-color: #E9E9E9;
    padding: 28px 0px;
    position: relative;
}

.bottom-footer a {
    transition: all .2s;
}

.bottom-footer a:hover {
    transform: scale(0.9);
}

.bottom-footer .main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 85%;
    margin: 0 auto;
}

.contacts-container {
    display: flex;
}

.contacts-container a {
    display: flex;
    align-items: center;
    color: var(--purple);
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: 98%;
    text-transform: uppercase;
    margin: 0;
}

.icons {
    display: flex;
    gap: 15px;
}

.vl {
    border-left: 0.5px solid var(--purple);
    height: 21px;
}

.vl:nth-of-type(1) {
    margin: 0 28px 0 20px;
}

.vl:nth-of-type(3) {
    margin: 0 20px 0 28px;
}

/* =========================================================
    RESPONSIVO
   ========================================================= */
@media screen and (max-width: 1850px) {
    .footer__top {
        gap: 30px;
    }

    .footer__logos {
        gap: 35px;
    }
}

@media screen and (max-width: 1750px) {
    .footer__top {
        gap: 25px;
    }

    .footer__logos {
        gap: 30px;
    }
}

@media screen and (max-width: 1700px) {
    .footer__logos {
        transform: scale(0.95);
        transform-origin: left;
    }
}

@media screen and (max-width: 1680px) {

    .footer__top {
        gap: 11px;
    }

    .bottom-footer .main-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 1620px) {
    .footer__logos {
        gap: 15px;
        transform: scale(0.9);
        transform-origin: left;
    }
}

@media screen and (max-width:1550px) {
    .footer__top {
        grid-template-columns: auto auto;
        row-gap: 30px;
        column-gap: 0;
    }

    .footer__col.promoter {
        order: 1;
    }

    .footer__col.partners {
        order: 2;
    }

    .footer__col.financing {
        order: 4;
    }

    .footer__col.communication {
        order: 3;
        padding-right: 20px;
    }

    .footer__logos {
        gap: 40px;
        transform: unset;
    }

    .footer__col:nth-child(3)::after {
        display: none;
    }

    .footer__col:nth-child(2)::after {
        display: none;
    }

    .footer__col:nth-child(4)::after {
        display: block;
    }

    .footer__col.financing,
    .footer__col.communication {
        border-top: 1px solid #999999;
        padding-top: 30px;
    }

    .footer__col::after {
        right: 10%;
    }
}

@media screen and (max-width: 1510px) {

    .water-map__grid {
        row-gap: 150px;
    }

    .about__grid {
        row-gap: 150px;
    }
}

@media screen and (max-width: 1440px) {

    .about__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 60px;
    }

    .about::before {
        bottom: -79px;
        left: 20px;
        right: unset;
        background-size: 17%;
        transform: scaleX(-1);
    }
}

@media screen and (max-width:1410px) {
    .footer__logos {
        gap: 30px;
    }
}

@media screen and (max-width: 1376px) {
    .bottom-footer .main-container {
        padding: 0 20px 0 20px;
    }
}

@media screen and (max-width:1350px) {
    .footer__logos {
        gap: 20px;
    }
}

@media screen and (max-width:1300px) {
    .footer__logos {
        gap: 30px;
        transform: scale(0.9);
        transform-origin: left;
    }

    .footer__col {
        gap: 30px;
    }
}

@media screen and (max-width: 1285px) {
    .water-map__container {
        display: grid;
        grid-template-columns: 16.9% 74.7%;
        gap: 8.4%;
    }

    .about__container {
        display: grid;
        grid-template-columns: 16.9% 74.7%;
        gap: 8.4%;
    }

    .project-numbers__container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9.4%;
    }

    .project-numbers::before {
        display: none;
    }

    .project-numbers__cards {
        margin-top: 0;
        margin-bottom: 80px;
    }

    .project-numbers__cards {
        display: grid;
        grid-column: 1;
    }

    .results__label {
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 1024px) {

    .water-map__container {
        display: grid;
        grid-template-columns: 21.9% 74.7%;
        gap: 25px;
    }

    .water-map::before {
        background-size: 20%;
    }

    .about__container {
        display: grid;
        grid-template-columns: 21.9% 74.7%;
        gap: 25px;
    }

    .results__grid {
        display: flex;
        overflow-x: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 20px;
        margin: 0 -40px;
        padding: 0 40px;
    }

    .results__grid::-webkit-scrollbar {
        display: none;
    }

    .project-numbers__card-figure {
        margin: 0 0 80px 0;
    }

    .results__card {
        flex-shrink: 0;
        width: 280px;
    }

    .gallery__container {
        gap: 40px;
    }

    .footer__logos {
        transform: scale(0.8);
        transform-origin: left;
    }

    .footer__top {
        grid-template-columns: 210px auto;
    }
}

@media screen and (max-width: 950px) {
    .bottom-footer .main-container {
        padding: 0 20px;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }

    .bottom-footer .main-container>a:first-of-type {
        order: 2;
    }

    .icon-blisq {
        order: 2;
        margin-left: auto;
    }

    .contacts-container {
        order: 1;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .contacts-container a {
        font-size: clamp(12px, 1.8vw, 16px);
    }

    .vl:nth-of-type(1) {
        margin: 0 14px;
    }

    .vl:nth-of-type(3) {
        margin: 0 14px;
    }
}

@media screen and (max-width: 850px) {
    .header__nav-list {
        gap: 60px;
    }

    .footer__logos {
        transform: scale(0.7);
        transform-origin: left;
    }
}

@media screen and (max-width: 770px) {
    .header__nav-list {
        gap: 45px;
    }

    .water-map__container {
        grid-template-columns: 1fr;
    }

    .water-map::before {
        content: '';
        position: absolute;
        top: 15px;
        right: 15px;
        left: unset;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-image: url(assets/images/conchas.webp);
        background-size: 20%;
        background-repeat: no-repeat;
        background-position: right top;
        z-index: 2;
    }

    .water-map__grid {
        row-gap: 30px;
    }

    .water-map__figure {
        width: 100%;
    }

    .about__container {
        grid-template-columns: 1fr;
    }

    .about::before {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .about__gallery {
        grid-column: span 1;
    }

    .project-numbers__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-numbers__cards {
        grid-column: 1;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
        margin-bottom: 0;
    }

    .results__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__container {
        gap: 15px;
    }

    .footer__top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "promoter communication"
            "partners partners"
            "financing financing";
        row-gap: 20px;
        column-gap: 0px;
    }

    .footer__col.promoter {
        grid-area: promoter;
    }

    .footer__col.partners {
        grid-area: partners;
    }

    .footer__col.financing {
        grid-area: financing;
    }

    .footer__col.communication {
        grid-area: communication;
    }

    .footer__col::after {
        display: none;
    }

    .footer__col:nth-child(4)::after {
        display: none;
    }

    .footer__col.financing,
    .footer__col.communication {
        border-top: unset;
        padding-top: 0;
    }
}

@media screen and (max-width: 640px) {
    .header__nav-toggle {
        display: flex;
    }

    .header__nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--purple);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 99;
    }

    .header__nav-list.is-open {
        opacity: 1;
        pointer-events: all;
    }

    .header__nav-link {
        font-size: clamp(18px, 3.75vw, 24px);
    }

    .water-map__container {
        grid-template-columns: 1fr;
    }

    .about,
    .water-map,
    .project-numbers,
    .results,
    .gallery {
        padding: 25px 20px;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .project-numbers__cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .project-numbers__card-number {
        font-size: clamp(60px, 15vw, 120px);
        line-height: 1;
    }

    .results__grid {
        grid-template-columns: 1fr;
    }

    .gallery__track {
        gap: 30px;
    }
}

@media screen and (max-width: 560px) {

    .footer__logos {
        transform: scale(1);
        transform-origin: left;
    }

    .footer__logos img {
        max-width: 70px;
        max-height: 146px;
    }

    .footer__top {
        padding: 35px 20px;
    }

    .bottom-footer .main-container {
        padding: 0;
    }

    .contacts-container a {
        font-size: 11px;
    }

    .vl {
        height: 16px;
    }

    .vl:nth-of-type(1) {
        margin: 0 10px;
    }

    .vl:nth-of-type(3) {
        margin: 0 10px;
    }
}

@media screen and (max-width: 480px) {

    .project-numbers__cards {
        grid-template-columns: 1fr;
    }

    .project-numbers__card {
        padding: 30px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .project-numbers__card-figure {
        margin: 0;
    }

    .project-numbers__card-number {
        grid-row: span 2;
    }

    .about__gallery {
        flex-direction: column;
    }

    .footer__logos img {
        max-width: 70px;
    }

    .bottom-footer .main-container {
        justify-content: space-between;
    }

    .contacts-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        order: 1;
        width: 100%;
    }

    .vl {
        display: none;
    }

    .icons {
        order: 2;
    }

    .contacts-container a {
        font-size: 12px;
    }
}

@media screen and (max-width: 420px) {
    .footer__logos img {
        max-width: 60px;
    }
}


@media screen and (max-width: 375px) {
    .footer__logos img {
        max-width: 50px;
    }
}
.cookie-preferences-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(0,0,0,.45);
}

.cookie-preferences-modal-inner{
    width:100%;
    max-width:560px;
    max-height:calc(100vh - 48px);
    overflow:auto;
    padding:32px 28px;
    border-radius:20px;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
}

.cookie-preferences-modal-inner h4{
    margin:0 0 20px;
    font-size:28px;
    line-height:1.1;
    font-weight:700;
    color:#111;
}

.cookie-preferences-modal .cookie-title{
    margin:22px 0 8px;
    font-size:16px;
    line-height:1.4;
    color:#111;
}

.cookie-preferences-modal .cookie-title:first-of-type{
    margin-top:0;
}

.cookie-preferences-modal .cookie-description{
    margin:0 0 14px;
    font-size:15px;
    line-height:1.7;
    color:#555;
}

.cookie-preferences-modal button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    margin-top:24px;
    padding:0 22px;
    border:0;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:600;
    line-height:1;
    cursor:pointer;
    transition:transform .2s ease, opacity .2s ease, background .2s ease;
}

.cookie-preferences-modal button:hover{
    opacity:.92;
}

.cookie-preferences-modal button:active{
    transform:translateY(1px);
}

.cookie-preferences-modal .switch{
    position:relative;
    display:inline-block;
    width:66px;
    height:36px;
    margin:0 0 8px;
    vertical-align:middle;
}

.cookie-preferences-modal .switch-input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.cookie-preferences-modal .switch-label{
    position:absolute;
    inset:0;
    display:block;
    border-radius:999px;
    background:#d9d9d9;
    cursor:pointer;
    transition:background .25s ease, opacity .25s ease;
}

.cookie-preferences-modal .switch-handle{
    position:absolute;
    top:4px;
    left:4px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 3px 10px rgba(0,0,0,.18);
    transition:left .25s ease, transform .25s ease;
    pointer-events:none;
}

.cookie-preferences-modal .switch-label::before,
.cookie-preferences-modal .switch-label::after{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:11px;
    font-weight:700;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.cookie-preferences-modal .switch-label::before{
    content:attr(data-off);
    right:10px;
    color:#666;
}

.cookie-preferences-modal .switch-label::after{
    content:attr(data-on);
    left:10px;
    color:#fff;
    opacity:0;
}

.cookie-preferences-modal .switch-input:checked + .switch-label{
    background:#111;
}

.cookie-preferences-modal .switch-input:checked + .switch-label + .switch-handle{
    left:34px;
}

.cookie-preferences-modal .switch-input:checked + .switch-label::before{
    opacity:0;
}

.cookie-preferences-modal .switch-input:checked + .switch-label::after{
    opacity:1;
}

.cookie-preferences-modal .switch-disabled{
    opacity:.7;
}

.cookie-preferences-modal .switch-disabled .switch-label{
    cursor:not-allowed;
    background:#cfcfcf;
}

.cookie-preferences-modal .switch-disabled .switch-input:checked + .switch-label{
    background:#bcbcbc;
}

.cookie-preferences-modal .switch-disabled .switch-handle{
    box-shadow:none;
}

.cookie-preferences-modal.fadeIn{
    animation:cookieFadeIn .28s ease both;
}

.cookie-preferences-modal.fadeOut{
    animation:cookieFadeOut .22s ease both;
}

@keyframes cookieFadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@keyframes cookieFadeOut{
    from{
        opacity:1;
    }
    to{
        opacity:0;
    }
}

@media (max-width:767px){
    .cookie-preferences-modal{
        padding:16px;
        align-items:flex-end;
    }

    .cookie-preferences-modal-inner{
        max-width:none;
        max-height:85vh;
        padding:24px 20px;
        border-radius:18px 18px 0 0;
    }

    .cookie-preferences-modal-inner h4{
        font-size:24px;
    }

    .cookie-preferences-modal .cookie-title{
        font-size:15px;
    }

    .cookie-preferences-modal .cookie-description{
        font-size:14px;
        line-height:1.6;
    }

    .cookie-preferences-modal button{
        width:100%;
    }
}