html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { border: 0; font: inherit; font-size: 100%; margin: 0; padding: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q {	quotes: none; }
blockquote::before, blockquote::after, q::before, q::after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

*, *::after, *::before { box-sizing: border-box; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

:root {
    --font-heading: 'operetta-12', sans-serif;
    --font-body: 'sofia-pro', sans-serif;

    --color-primary: #000000;
    --color-secondary: #D05800;
}

/** Typography */
em { font-style: italic; }
strong { font-weight: 700; }
a { color: currentColor; }



/* Scroll snap per navigazione fluida */
html { background-color: #28292B; scroll-behavior: smooth; }


/* Body */
body { color: var(--color-primary); min-height: 100vh; min-height: 100dvh; scroll-behavior: smooth; overflow-x: hidden; font-family: var(--font-body); line-height: 1; scroll-snap-type: y proximity; }

input, button, textarea, select { font-family: inherit; }

body::after { aspect-ratio: 3/4.6; background-image: url('../img/graphic-elements.svg'); background-position: top right; background-repeat: no-repeat; background-size: cover; content: ''; display: block; height: auto; left: 0; max-width: 893px; mix-blend-mode: multiply; position: absolute; top: 310px; width: 100%; z-index: 0; }

@media screen and (min-width: 1024px) {
    body::after { top: 430px; width: 110%; }
}

.container { max-width: 1024px; margin: 0 auto; width: 100%; }



/* Page Sections */
.page__sections { background-color: #D1D5D8; background-image: url('../img/bg.webp'); background-size: contain; background-position: top center; background-repeat: repeat-y; overflow: hidden; position: relative; }

.section { min-height: 100vh; min-height: 100dvh; position: relative; scroll-snap-align: start; width: 100vw; z-index: 2; }


/* Hero */
#hero { padding-block: 100px; position: relative; z-index: 1; }

.hero_title_image { height: auto; width: 269px; }

.hero_images { position: absolute; width: 100%; }

.hero_images img { height: auto; object-fit: contain; object-position: center; position: absolute; }

.hero_image_1 { z-index: 9; }
.hero_image_2 { z-index: 8; }
.hero_image_3 { z-index: 7; }
.hero_image_4 { z-index: 6; }
.hero_image_5 { z-index: 5; }
.hero_image_6 { z-index: 4; }
.hero_image_7 { z-index: 3; }
.hero_image_8 { z-index: 2; }
.hero_image_9 { z-index: 1; }

.hero_scroll_down { align-items: center; animation: bounce 2s infinite; bottom: 22px; color: #28292B; display: flex; flex-direction: column; font-size: 15px; left: calc(50% - 76.5px); justify-content: center; opacity: 0.7; position: absolute; row-gap: 12px; text-align: center; text-decoration: none; text-transform: uppercase; width: 153px; z-index: 10; }

.hero_scroll_down img { height: auto; width: 72px; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (orientation: portrait) {
    .hero_images { aspect-ratio: 1440/1030; inset: 50% 0 auto; transform: translateY(-70%); width: 100%; }

    .hero_images img { transform: translateX(-37%); width: 160%; }

    .hero_image_2, .hero_image_7 { display: none; }
}

@media (orientation: landscape) {
    .hero_images { height: 100%; inset: 0; }

    .hero_images img { height: 100%; width: 100%; }
}

@media screen and (min-width: 1024px) {
    .hero_title_image { width: 400px; }

    .hero_images img { object-position: center; }

    .hero_scroll_down { width: auto; }
}



/* 30th Anniversary */
#anniversary { align-items: safe center; display: flex; padding-block: 24px; }

#anniversary .section-content { position: relative; }

.anniversary__title { color: var(--color-secondary); font-family: var(--font-heading); font-size: clamp(48px, calc(48px + (48 * ((100vw - 320px) / 1120))), 96px); font-weight: 700; mix-blend-mode: multiply; position: relative; z-index: 1; }

.anniversary__title img { height: auto; position: relative; width: 210px; z-index: 1; }

.anniversary__title div { bottom: -14px; left: 50px; position: absolute; z-index: 0; }

.anniversary__content { font-size: 16px; line-height: 1.6; margin-right: -26px; margin-top: 20px; padding-top: 16px; }

.anniversary__content__inner { display: flex; flex-direction: column; padding: 16px 24px; position: relative; row-gap: 12px; }

.anniversary__content__inner * { position: relative; z-index: 1; }

.anniversary__content__inner::after { background-color: #FFFFFF; content: ''; inset: 0; opacity: 0.6; position: absolute; z-index: 0; }

.anniversary__content__title { font-family: var(--font-heading); font-size: clamp(24px, 3vw, 44px); line-height: 1; max-width: 720px; }

.anniversary__content__text { color: #707070; display: flex; flex-direction: column; font-size: 14px; line-height: 1.42; row-gap: 12px; max-width: 610px; }

.anniversary__content__link { font-size: 14px; font-style: italic; line-height: 1.28; text-align: center; }

.anniversary__image__container { display: none; }

@media screen and (min-width: 658px) {
    .anniversary__title { align-items: center; column-gap: 26px; display: flex; }

    .anniversary__title div { bottom: initial; left: initial; position: relative; }
}

@media screen and (min-width: 768px) {
    .anniversary__title { align-items: center; column-gap: 54px; display: flex; }

    .anniversary__title img { width: 511px; }

    .anniversary__title div { bottom: initial; left: initial; margin-top: -58px; position: relative; }

    .anniversary__content { margin-left: 186px; margin-top: -79px; }

    .anniversary__content__inner { padding: 44px 73px; row-gap: 24px; }

    .anniversary__content__title { line-height: 1.2; }

    .anniversary__content__text { font-size: 18px; line-height: calc(26/18); row-gap: 24px; }

    .anniversary__image__container { bottom: -80px; display: block; height: auto; left: 22px; position: absolute; width: 267px; z-index: 1; }

    .anniversary__image__foglia { height: auto; position: absolute; right: 25px; top: -159px; width: 140px; }

    .anniversary__image__image { height: auto; width: 100%; }
}

@media screen and (min-width: 1024px) {
    #anniversary { padding-block: 150px; }

    .anniversary__title div { margin-top: -140px; }

    .anniversary__content { margin-left: 350px; margin-top: -120px; }

    .anniversary__image__container { bottom: -118px; left: 122px; width: 400px; }

    .anniversary__image__foglia { right: 11px; width: 171px; }
}


/* Data 30th anniversary */
#data { align-items: safe center; display: flex; overflow: hidden; padding: 27px 0 40px; position: relative; }

#data::after { background-image: url('../img/data-pattern.svg'); background-position: center; background-repeat: no-repeat; background-size: cover; bottom: 0; content: ''; display: block; height: 452px; opacity: 0.2; position: absolute; right: -300px; width: 452px; z-index: 0; }

#data .section-content { position: relative; }

.data__header { display: inline-flex; flex-direction: column; margin-left: -26px; padding: 16px 26px; position: relative; row-gap: 16px; }

.data__header::after { background-color: #FFFFFF; content: ''; inset: 0; opacity: 0.6; position: absolute; z-index: 0; }

.data__header__title { color: var(--color-secondary); font-family: var(--font-heading); font-size: clamp(48px, calc(48px + (48 * ((100vw - 320px) / 1120))), 96px); font-weight: 700; position: relative; z-index: 1; }

.data__header__text { font-family: var(--font-heading); font-size: clamp(22px, calc(22px + (22 * ((100vw - 320px) / 1120))), 44px); margin-left: 72px; position: relative; z-index: 1; }

.data__content__item { position: relative; }

.data__content__item__content { align-items: flex-start; display: flex; flex-direction: column; }

.data__content__item__image { height: auto; position: absolute; }

.data__content__item__title { font-family: var(--font-heading); font-size: clamp(48px, calc(48px + (48 * ((100vw - 320px) / 1120))), 96px); font-weight: 700; position: relative; text-align: left; white-space: nowrap; z-index: 1; }

.data__content__item__text { font-family: var(--font-heading); font-size: clamp(22px, calc(22px + (22 * ((100vw - 320px) / 1120))), 44px); line-height: 1.2; white-space: nowrap; }

.data__content__item__title span { bottom: 4px; font-size: clamp(22px, calc(22px + (22 * ((100vw - 320px) / 1120))), 44px); left: calc(100% + 10px); position: absolute; }

.data__content__item__text__small { font-size: 12px; line-height: 1.2; }

.data__floors { padding-left: 196px; }

.data__floors .data__content__item__image { left: 23px; top: -65px; width: 220px; }

.data__facade { margin-top: 60px; }

.data__facade .data__content__item__image { left: 154px; top: 4px; width: 210px; }

.data__facade .data__content__item__title { width: clamp(200px, calc(200px + (191 * ((100vw - 375px) / 1120))), 402px); }

.data__height { margin-top: 40px; padding-top: 25px; }

.data__height .data__content__item__content { padding-left: 92px; }

.data__height .data__content__item__image { left: -15px; top: -40px; width: 224px; }

.data__height .data__content__item__title { width: clamp(60px, calc(60px + (102 * ((100vw - 320px) / 800))), 105px); }

@media screen and (min-width: 768px) {
    #data::after { background-position: top center; bottom: -100px; height: 600px; right: -200px; width: 600px; }

    .data__header { margin-left: -100px; padding: 47px 116px 67px 100px; row-gap: 32px; }

    .data__header__text { line-height: 1.2; margin-left: 143px; }

    .data__content__item__text__small { font-size: 16px; line-height: calc(26/18); }

    .data__content__item__title span { bottom: 10px; left: calc(100% + 20px); }

    .data__floors { margin-left: -40px; margin-top: 54px; padding-left: 215px; }

    .data__floors .data__content__item__image { left: -52px; top: -121px; width: 350px; }

    .data__floors .data__content__item__content { margin-top: -50px; }

    .data__facade { margin-left: 340px; margin-top: 116px; }

    .data__facade .data__content__item__image { left: -47px; margin-inline: auto; top: -263px; width: 340px; }

    .data__facade .data__content__item__content { margin-left: 0; margin-top: -80px; }

    .data__height { left: 590px; margin-left: initial; margin-top: initial; padding-top: initial; position: absolute; top: 70px; }

    .data__height .data__content__item__content { padding-left: initial; }

    .data__height .data__content__item__title span { left: calc(100% + 10px); }

    .data__height .data__content__item__image { left: -168px; top: -98px; width: 350px; }
}

@media screen and (min-width: 1024px) {
    #data::after { background-position: top center; bottom: -100px; height: 600px; right: -200px; width: 600px; }

    .data__header { margin-left: -100px; padding: 47px 116px 67px 100px; row-gap: 32px; }

    .data__header__text { line-height: 1.2; margin-left: 206px; }

    .data__content__item__text__small { font-size: 16px; line-height: calc(26/18); }

    .data__floors { margin-left: -40px; margin-top: 54px; padding-left: 230px; }

    .data__floors .data__content__item__image { left: -120px; top: -150px; width: 450px; }

    .data__floors .data__content__item__content { margin-top: -50px; }

    .data__facade { margin-left: 340px; margin-top: 200px; }

    .data__facade .data__content__item__image { left: -60px; margin-inline: auto; top: -340px; width: 440px; }

    .data__facade .data__content__item__content { margin-left: 0; margin-top: -80px; }

    .data__height { left: 760px; margin-left: initial; margin-top: initial; padding-top: initial; position: absolute; top: 146px; }

    .data__height .data__content__item__content { padding-left: initial; }

    .data__height .data__content__item__title span { left: calc(100% + 20px); }

    .data__height .data__content__item__image { left: -210px; top: -160px; width: 450px; }
}

@media screen and (min-width: 1200px) {
    .data__content__item__title span, .data__height .data__content__item__title span { bottom: 10px; left: calc(100% + 30px); }
    
    .data__floors { margin-left: initial; }

    .data__facade { margin-left: 450px; }

    .data__height { left: 900px; top: 196px; }

    .data__height .data__content__item__image { width: 450px; }
}

@media screen and (min-width: 1440px) {
    #data::after { background-position: top center; bottom: -100px; height: 900px; right: -300px; width: 900px; }

    .data__facade .data__content__item__title span { left: calc(100% + 20px); }

    .data__facade { margin-left: 530px; margin-top: 115px; }

    .data__height { left: 1050px; top: 210px; }

    .data__height .data__content__item__image { top: -145px; width: 450px; }

    .data__height .data__content__item__title span { left: calc(100% + 40px); }
}



/* Map */
#england { box-shadow: 10px 20px 40px 0 rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; }

.map__content { background-color: #28292B; color: #FFFFFF; padding: 26px; }

#map { flex: 1 1 auto; position: relative; width: 100dvw; }

@media screen and (min-width: 1024px) {
    #england { display: flex; flex-direction: row; }

    .map__content { flex: 0 0 36%; max-width: 520px; padding: 120px 20px 100px 100px; }

    #map { flex: 1 1 64%; height: 100dvh;  width: 64%; }
}

.map__title { color: #707070; display: none; font-family: var(--font-heading); font-size: clamp(48px, calc(48px + (48 * ((100vw - 320px) / 1120))), 96px); font-weight: 700; }

.map__subtitle { font-family: var(--font-heading); font-size: clamp(24px, calc(24px + (24 * ((100vw - 320px) / 1120))), 44px); line-height: 1.2; margin-top: 16px; }

.map__content p { color: #707070; font-size: 14px; line-height: calc(20/14); margin-top: 12px; }

@media screen and (min-width: 1024px) {
    .map__title { display: block; }

    .map__content p { font-size: 18px; line-height: calc(26/18); margin-top: 40px; }
}

/* Stili personalizzati per i controlli di zoom */
.leaflet-control-zoom { border-radius: 8px !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; }

.leaflet-control-zoom a { border-radius: 6px !important; font-weight: bold !important; transition: all 0.2s ease !important; }

.leaflet-control-zoom a:hover { background-color: #f8f9fa !important; transform: scale(1.05); }

.leaflet-control-custom { border-radius: 6px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important; transition: all 0.2s ease !important; }

.leaflet-control-custom:hover { background-color: #f8f9fa !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important; transform: scale(1.05); }

.leaflet-bottom.leaflet-right { display: none; }

.leaflet-control-layers label { font-size: 13px; }

/* Migliorare l'aspetto del layer control */
.leaflet-control-layers { border-radius: 8px !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; }

/* Stili per il selettore di progetti */
#map .leaflet-control-project-filter.leaflet-control { background: #707070; padding: 0 12px; margin-right: 0; margin-top: 0; min-width: 180px; }

#map .leaflet-top.leaflet-right { bottom: 0; position: absolute; top: auto; }

.project-filter { display: flex; gap: 10px; }

.project-filter-title { color: #333; font-size: 14px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 4px; text-transform: uppercase; }

.project-filter-options { display: flex; gap: 24px; }

.project-filter-option { align-items: center; color: #555; cursor: pointer; display: flex; font-size: 14px; gap: 8px; padding-block: 11px; transition: color 0.2s ease; user-select: none; }

.project-filter-option:hover { color: var(--color-secondary); }

.project-filter-checkbox { accent-color: var(--color-secondary); cursor: pointer; height: 16px; margin: 0; width: 16px; }

.project-filter-label { color: #FFFFFF; cursor: pointer; font-weight: 500; text-transform: uppercase; }

@media (max-width: 768px) {
    .leaflet-control-project-filter { min-width: 160px; padding: 10px; }
    
    .project-filter-title { font-size: 12px; }
    
    .project-filter-checkbox { height: 14px; width: 14px; }
}

@media screen and (min-width: 1024px) {
    #map .leaflet-top.leaflet-right { bottom: initial; box-shadow: 8px 8px 20px 0 rgba(0, 0, 0, 0.25); top: 100px; }

    #map .leaflet-control-project-filter.leaflet-control { padding: 10px 40px 10px 20px; }

    .project-filter-options { flex-direction: column; gap: 0; }
}

.leaflet-popup-content { margin: 0; }

/* Indicatori di navigazione */
.navigation-dots { display: flex; flex-direction: column; gap: 8px; position: fixed; right: 8px; top: 50%; transform: translateY(-50%); z-index: 1000; }

.nav-dot { background-color: #707070; cursor: pointer; height: 8px; transition: all 0.3s ease; width: 8px; }

.nav-dot.active, .nav-dot:hover { background-color: #FF6B00; }

@media screen and (min-width: 1024px) {
    .navigation-dots { gap: 12px; right: 40px; }

    .nav-dot { height: 12px; width: 12px; }
}

/* Contenuto delle sezioni */
.section-content { padding-inline: 26px; width: 100%; }

.section-title { font-size: 3rem; margin-bottom: 1rem; opacity: 0; position: relative; transform: translateY(50px); z-index: 1; }

.section-subtitle { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0; position: relative; transform: translateY(30px); z-index: 1; }

.section-image { height: calc(100% + 4px); left: 50%; object-fit: cover; object-position: center; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% + 4px); z-index: 0; }

.leaflet-container a.leaflet-popup-close-button { color: white; }

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .section { font-size: 1.5rem; }
    .navigation-dots { right: 1rem; }
}

@media (min-width: 1024px) {
    .section-content { padding: 0 100px; }
}

/* Stili per i popup della mappa */
.section__map__popup { color: inherit; display: flex; flex-direction: column; width: 190px; text-decoration: none; }

.leaflet-popup-content-wrapper { border-radius: 0; padding: 0; width: 190px; }

.popup-content-label { background-color: black; color: white; display: inline-block; font-size: 12px; font-weight: 700; inset: 12px auto auto 12px; padding: 4px 6px; position: absolute; z-index: 1; }

.popup-image { aspect-ratio: 1; background-color: #f5f5f5; border-radius: 0; height: 190px; overflow: hidden; position: relative; width: 100%; }

.popup-image img { height: calc(100% + 4px); left: 50%; object-fit: cover; object-position: center; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% + 4px); z-index: 0; }

.popup-image-fallback { font-size: 18px; left: 0; letter-spacing: 2px; position: absolute; top: 0; }

.popup-content { background-color: white; border-radius: 0 0 8px 8px; display: grid; font-size: 12px; padding: 16px; row-gap: 6px; }

.popup-content-header { color: black; font-family: var(--font-heading); font-size: 24px; font-weight: 700; line-height: calc(26/24); }

.popup-content-details { display: grid; row-gap: 3px;}

.popup-content strong { color: #333; display: block; }

.popup-content span { margin-bottom: 8px; }

/* Responsive per i popup */
@media (max-width: 768px) {
    .popup-image { height: 100px; }
    
    .popup-content { font-size: 13px; padding: 10px; }
    
    .popup-content strong { font-size: 15px; }
}



/* Projects */
#projects { align-items: safe center; display: flex; padding-block: 27px; }

/* Filter */
/* TABS */
.tab_button.active { font-weight: bold; }

.tab_item { display: none; }
.tab_item.active { display: block; }

/* ELEMENTS */
.elements_item { animation-duration: 250ms; animation-fill-mode: forwards; animation-name: ShowElementsItem; animation-timing-function: ease-in-out; }
.elements_item.remove { animation-name: HideElementsItem; }

@keyframes ShowElementsItem {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes HideElementsItem {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Projects List Horizontal Scroll */
/* .projects-list {
    display: flex;
    width: 100%;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
} */

.swiper { width: 100%; }

.swiper-wrapper { padding-bottom: 10px; }

/* Elements Filter Buttons */
.elements_filter { align-items: center; display: flex; gap: 4px; justify-content: flex-start; flex-wrap: wrap; font-size: 12px; position: relative; width: calc(100% - 100px); z-index: 2; }

.button_filter { color: var(--color-primary); text-transform: uppercase; }

.button_filter:hover { color: var(--color-secondary); }

.button_filter.active { color: var(--color-secondary); font-weight: 700; }

.projects_content { display: grid; grid-template-columns: 100%; margin-right: -26px; row-gap: 30px; }

.projects_content__header { display: flex; flex-direction: column; row-gap: 8px; text-align: left; }

.projects_content__header__title { font-family: var(--font-heading); font-size: clamp(48px, calc(48px + (48 * ((100vw - 320px) / 1440))), 96px); font-weight: 700; }

.projects_content__header_subtitle { font-family: var(--font-heading); font-size: clamp(24px, calc(24px + (24 * ((100vw - 320px) / 1440))), 44px); }

.projects_content__body { display: grid; grid-template-columns: 100%; row-gap: 18px; width: 100%; }

.project_item { background-color: #FFFFFF; box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.20); display: flex; flex-direction: column; font-size: 14px; justify-content: flex-start; min-width: 190px; row-gap: 6px; text-align: left; }

.project_item__container { background-color: #FFFFFF; display: grid; grid-template-columns: 100%; row-gap: 6px; }

.project_item__image { aspect-ratio: 1; background-color: #333; display: block; overflow: hidden; position: relative;
    img { height: calc(100% + 4px); left: 50%; object-fit: cover; object-position: center; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% + 4px); z-index: 0; }
}

.project_item__content { display: flex; flex-direction: column; padding: 16px; row-gap: 12px; }

.project_item__name { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: calc(22/18); }

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

.project_item__name a:hover { color: #707070; }

.project_item__place { font-size: 12px; text-transform: uppercase; }

.project_item__info { color: #707070; display: grid; font-size: 14px; line-height: 1.2; grid-template-columns: 100%; row-gap: 4px; }

.project_item__info__title { font-weight: 700; }
.project_item__info__value { font-weight: 400; }

.swiper_projects .swiper { padding-top: 44px; position: relative; transform: translateY(-44px); width: 100%; z-index: 0; }

.swiper_projects .swiper-buttons { column-gap: 12px; display: flex; justify-content: space-between; position: absolute; right: 26px; top: 0; width: 60px; z-index: 10; }
.swiper-button-next, .swiper-button-prev { background-color: var(--color-primary); bottom: auto; color: white; height: 30px; margin-top: initial; position: relative; top: auto; inset: auto; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 12px; }

button, input[type="submit"], input[type="reset"] { appearance: none; background-color: transparent; border: none; border-radius: 0; -webkit-tap-highlight-color: transparent; }

button:hover, input[type="submit"]:hover, input[type="reset"]:hover { cursor: pointer; }
button:focus, input[type="submit"]:focus, input[type="reset"]:focus { outline: none; }
button:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled { cursor: not-allowed; }

/* @media (max-width: 1023px) {
    .swiper_projects .swiper { padding-bottom: 44px; }
    .swiper_projects .swiper-buttons { bottom: 0; width: 100%; }
} */

@media (min-width: 1024px) {
    .elements_filter { font-size: 14px; width: calc(100% - 200px); }

    .projects_content { margin-right: -100px; }

    .swiper_projects .swiper-buttons { right: 100px; }

    .project_item__name { font-size: 24px; }

    .project_item__place, .project_item__info { font-size: 14px; }
}


/* Thanks */
#thanks { align-items: safe center; display: flex; overflow: hidden; padding-block: 27px; position: relative; }

.thanks__title { font-family: var(--font-heading); font-size: clamp(48px, calc(48px + (48 * ((100vw - 320px) / 1120))), 96px); font-weight: 700; }

.thanks__content { display: flex; gap: 20px; position: relative; z-index: 2; }

.thanks__content__inner { display: grid; grid-template-columns: 100%; row-gap: 20px; }

.thanks__content__group { display: flex; flex-direction: column; row-gap: 20px; }

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

.thanks__content__title { font-family: var(--font-heading); font-size: clamp(24px, calc(24px + (24 * ((100vw - 320px) / 1120))), 44px); line-height: 1.08; }

.thanks__content__text { color: #707070; font-size: 12px; line-height: 1.2; }

.thanks__image, .thanks__pencil { display: none; }

@media screen and (min-width: 768px) {
    .thanks__content__text { font-size: 14px; }

    .thanks__content__group { column-gap: 20px; flex-direction: row; }

    .thanks__content__item { width: 225px; }
}

@media screen and (min-width: 1024px) {
    .thanks__content__item { width: 295px; }

    .thanks__pencil { bottom: 90px; display: block; position: absolute; right: 55px; z-index: 2; }

    .thanks__image { bottom: -200px; display: block; mix-blend-mode: multiply; position: absolute; right: 0; z-index: 1; }
}



/* Footer */
#footer { align-items: safe center; background-color: #28292B; color: #707070; display: flex; padding-block: 45px; }

.footer__content { display: flex; flex-direction: column; row-gap: 35px; }

.footer__brand { align-items: flex-end; column-gap: 20px; display: flex; }

.footer__brand__logo { height: auto; flex: 0 0 52px; width: 52px; }

.footer__brand__contact { column-gap: 14px; display: flex; flex: 1 1 auto; font-size: 12px; font-weight: 500; justify-content: space-between; line-height: 1; }

.footer__copyright { display: flex; flex-direction: column; font-size: 12px; line-height: 1.2; row-gap: 16px; }

@media screen and (min-width: 1024px) {
    #footer { padding-block: 158px; }

    .footer__content { align-items: flex-end; flex-direction: row; justify-content: space-between; }

    .footer__content__item { flex-direction: row; }

    .footer__brand__logo { flex-basis: 85px; width: 85px; }

    .footer__brand__contact { column-gap: 70px; font-size: 18px; line-height: 1.44; }

    .footer__copyright { font-size: 14px; }
}