/*
Theme Name: DAET
Author: LC
Description: WP minimal template
Version: 1.1
Text Domain: tema
*/

::-moz-selection  {
    background: #144F9F;
    color: #ffffff;
}
::selection   {
    background: #144F9F;
    color: #ffffff;
}


html, body {
    overflow-x: hidden !important;
}

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

body {
    font-family: 'Urbanist', Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #111111;
}

body.modal-fix-overflow {
    overflow: unset !important;
}

.font-1 {
    font-family: 'Urbanist', Arial, sans-serif;
}

.font-2,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', Arial, sans-serif;
}

strong,
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 28px;
}


.color-bianco {
    color: #ffffff;
}   

.color-blue,
.txt-btn, 
.menu .current_page_item a,
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    color: #144F9F;
}

.bg-color-blue {
    color: #144F9F;
}


.color-green,
h3.color-green strong  {
    color: #3A8C24;
}



.txt-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}
.txt-btn span {
    line-height: 13px;
    border-bottom: 1px solid transparent;
}
.txt-btn:hover span {
    /* text-decoration: underline; */
    border-bottom: 1px solid;
}
.txt-btn img {
    width: 20px;
    height: 20px;
}


.radius-20 {
    border-radius: 20px;
}
.radius-50 {
    border-radius: 50px;
}

.flex {
    display: flex;
}
.vertical-align-center {
    align-items: center;
}
.vertical-align-bottom {
    align-items: flex-end;
}
.vertical-align-top {
    align-items: flex-start;
}



.video-wrapper {
    position: relative;
    width: 100%;
    /* height: 100vh; */
    /* height: 100dvh; */
    padding: 16px;
    box-sizing: border-box;
}

.video-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.video-wrapper,
.video-slider {
    background: #111111;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.video-container.active {
    opacity: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: 
    linear-gradient(270deg, rgba(0, 0, 0, 0) 49.67%, rgba(0, 0, 0, 0.7) 100%), 
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%);

}

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 40px;
    color: white;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.video-container.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 25px;
}

.slide-subtitle {
    font-size: 20px;
    list-style: 28px;
    margin-bottom: 60px;
    max-width: 400px;
}



/* Stile per il bottone Scopri di più nello slider video */
.discover-btn {
    background-color: #4FAE32;
    color: white;
    padding: 0px 70px 0 16px;
    border-radius: 56px;
    font-size: 14px;
    text-decoration: none;
    height: 48px;
    border: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.discover-btn::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    background-image: url('/images/icon/arrow-right-green.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.discover-btn:hover {
    background-color: #3d8a28; /* Verde più scuro per hover */
    transform: none;
}

.slider-controls {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.slider-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: opacity 0.3s ease;
    opacity: 1;
    transform-origin: center;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
}

.slider-btn.active {
    background: transparent;
}

.slider-btn.active::before {
    width: 0;
    height: 0;
}

.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.slider-btn.active .progress-ring {
    opacity: 1;
}

.progress-ring__circle {
    fill: none;
    stroke-width: 2;
}

.progress-ring__circle-bg {
    stroke: white;
}

.progress-ring__circle-progress {
    stroke: #4FAE32;
    stroke-dasharray: 75.4;
    stroke-dashoffset: 75.4;
}

.slider-btn.active .progress-ring__circle-progress {
    animation: progress 5s linear;
}

@keyframes progress {
    to {
        stroke-dashoffset: 0;
    }
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    z-index: 100;
    font-size: 18px;
    transition: background-color 0.3s;
    visibility: hidden;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Header e Menu */
.header {
    position: absolute;
    padding: 69px 60px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 42px;
    width: auto;
}

.menu-container {
    position: fixed;
    top: 0;
    right: 0;
    padding: 60px;
    z-index: 1001;
    display: flex;
    align-items: center;
}

.hamburger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #144F9F;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    margin-left: 15px;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.35));
    background-image: url('/images/icon/menu-close.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 18px;
}



.hamburger.active {
    background-image: url('/images/icon/menu-open.svg');
}

.nav-menu {
    position: relative;
    background: #F6F6F6;
    padding: 0 30px;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.35);
}


.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav-menu li {
    margin: 0;
    padding: 20px 15px;
}

.nav-menu a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #666;
}

.nav-menu .current_page_item {
    background-image: url('/images/icon/menu-active.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 39px auto;
}
.nav-menu .current_page_item a {
    color: #144F9F;
    font-weight: 700;
}

/* Animazione hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Nascondi menu quando è chiuso */
.menu-container.closed .nav-menu {
    display: none;
}

/* Coming Soon Header - Logo Only */
.coming-soon-header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 69px 60px;
    z-index: 1000;
}

.coming-soon-header .logo {
    height: 42px;
    width: auto;
    pointer-events: none;
}

.text-section {
    padding: 40px 16px;
    position: relative;
}

.text-section.margin-head {
    padding-top: 200px;
}


#introHomeChiSiamo.text-section {
    padding: 66px 16px;
}
#introHomeChiSiamo .text-box-content {
    min-height: 600px;
}
#introHomeChiSiamo .text-box h3 strong {
    color: #111111;
}


.text-container {
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.image-container {
    flex: 14;
    overflow: hidden; 
    z-index: 2;
}

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

.bg-daet {
    background: #EDF9FF;
}

.bg-daet-green {
    background: #F0FAEB;
}




.box-shadow {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
}

.glass-box {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(7.5px);
    backdrop-filter: blur(7.5px);
}

.text-box {
    flex: 10;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.text-box-content {
    padding: 40px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.text-box-content-intro {
    margin-bottom: 80px;
}
.text-box-content-intro p {
    font-size: 18px;
    line-height: 28px;
    max-width: 500px;
}


.text-box h1 {
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 20px;
}

.text-box h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.text-box h3 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 100;
}


.text-box h4 {
    font-size: 32px;
    font-weight: 100;
}

#textBoxChiSiamo h3 {
    margin-bottom: 60px;
}
#textBoxChiSiamo .txt-btn {
    margin-top: 30px;
}




.text-section.no-margin {
    padding: 8px 16px;
}


.text-section p:last-of-type {
    margin-bottom: 0;
}



@media (max-width: 768px) {
    .text-container {
        flex-direction: column;
    }

    .image-container {
        height: 300px;
    }

    .text-box {
        padding: 30px;
    }

    .text-box h2 {
        font-size: 2rem;
    }

    .text-box h3 {
        font-size: 1.3rem;
    }

    .text-box p {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
}

.site-footer {
    padding: 0 16px 16px;
    width: 100%;
}

.footer-container {
    background: #F6F6F6;
    color: #111111;
    padding: 25px 40px 50px 40px;
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid #6D6D6D;
    position: relative;
    z-index: 2;
}

.footer-container.blur {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(7.5px);
}


.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.company-name h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.privacy-links {
    display: flex;
    gap: 4px;
    font-size: 12px;
    line-height: 22px;
}
.privacy-links span {
    border-bottom: 0.2px solid #888;
    height: 17px;
    display: inline-block;
}

.site-footer a,
p a {
    color: #111111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover,
p a:hover {
    color: #144F9F;
}

.footer-bottom {
    display: flex;
    gap: 24px;
    text-align: left;
}

.footer-column {
    flex: 1;
}

.footer-column.legal-office {
    flex: 4;
}

.footer-column.operational-office {
    flex: 5;
}

.footer-column.contacts {
    flex: 4;
}

.footer-column.social {
    flex: 11;
}

.footer-column h4 {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
}

.footer-column p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #D7F0FF;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}




/* --- Banner Fisso --- */
.fixed-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2000;
    background: transparent;
    pointer-events: none;
}

.banner-content {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    -webkit-box-shadow: 0px -25px 8px -30px rgba(0,0,0,0.35); 
    box-shadow: 0px -25px 8px -30px rgba(0,0,0,0.35);

    background: #222;
    overflow: hidden;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    max-height: 140px;
    padding: 0;
}




.banner-image {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    display: block;
}

.close-banner {
    position: absolute;
    top: 6px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}
.close-banner-icon {
    width: 12px;
    height: 12px;
}

@media (max-width: 600px) {
    .banner-content {
        max-height: 90px;
    }
    .close-banner {
        top: 6px;
        right: 10px;
        font-size: 1.5rem;
    }
}

/* --- Sezione Video Vimeo --- */
.video-section {
    padding: 16px;
}

.video-container-max {
    max-width: 1340px;
    margin: 0 auto;
}

.vimeo-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 16px;
}

.vimeo-wrapper iframe {
    display: block;
    width: 100%;
    z-index: 2;
    position: relative; 
}

/* --- Sezione Galleria --- */
.gallery-section {
    margin-bottom: 50px;
}

.gallery-container {
    max-width: 1340px;
    margin: 0 auto;
}

.gallery-carousel {
    width: 100%;
    margin: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    width: calc((100% - 32px) / 3);
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    margin: 0 8px;
    overflow: hidden;
    cursor: pointer;
    display: inline-block;
    transition: box-shadow 0.3s;
}
.gallery-item:last-child {
    margin-right: 0;
}
.gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -11.07%, #4FAE32 157.99%);
}
.gallery-item:hover .gallery-image-overlay {
    opacity: 1;
}
.gallery-image {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    cursor: pointer;
}
.gallery-zoom-icon {
    width: 32px;
    height: 32px;
    display: block;
}

/* --- Modal Immagini --- */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: auto;
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
    opacity: 1;
    z-index: 1;
    background: #fff;
}
.modal-image-next {
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-image-next.fading-in {
    opacity: 1;
}

.modal-image.fading-in {
    opacity: 0;
}

.modal-image.slide-left {
    opacity: 1;
    transform: translateX(-20px);
}

.modal-image.slide-right {
    opacity: 1;
    transform: translateX(20px);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    opacity: 0;
}

.image-modal.show .close-modal {
    transform: scale(1);
    opacity: 1;
}

.close-modal:hover {
    background-color: #4FAE32;
}

.close-modal-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    pointer-events: none;
}

.image-modal.show .modal-nav {
    opacity: 1;
    pointer-events: auto;
}

.modal-btn {
    width: 32px !important;
    height: 32px !important;
    background: #6D6D6D !important;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    pointer-events: auto;
}

.modal-btn:hover {
    background: #4FAE32 !important;
    transform: scale(1.1);
}

.modal-btn:before {
    content: '';
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.modal-btn.prev-btn:before {
    background-image: url("/images/icon/prev.svg");
}

.modal-btn.next-btn:before {
    background-image: url("/images/icon/next.svg");
}

/* Animazione di entrata per le immagini */
@keyframes modalImageSlideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Animazione per il cambio immagine - fade transition */
.modal-image.changing {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }
    .gallery-item:last-child {
        margin-bottom: 0;
    }
    .gallery-carousel {
        padding: 0 8px;
    }
}

/* Slick Carousel Custom Styles */
.slick-prev,
.slick-next {
    width: 32px !important;
    height: 32px !important;
    background: #d1d1d1 !important;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-prev:hover,
.slick-next:hover {
    background: #4FAE32 !important;
}

.slick-prev {
    left: -30px !important;
}

.slick-next {
    right: -30px !important;
}

.slick-prev:before,
.slick-next:before {
    content: '';
    font-size: 12px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent !important;
    opacity: 1 !important;
}

.slick-prev:before {
    background-image: url("/images/icon/prev.svg");
}

.slick-next:before {
    background-image: url("/images/icon/next.svg");
}

/* --- Macchina Hero Section --- */
.macchina-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0;
}
.macchina-hero-container {
  display: flex;
  width: 100vw;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.macchina-3d-box {
  flex: 0 0 62.5%; /* 15/24 */
  max-width: 62.5vw;
  min-width: 400px;
  height: calc(100vh - 32px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin: 0 0 0 16px;
}
.macchina-3d-box model-viewer {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  left: 0;
  top: 0;
  display: block;
  background: transparent;
}
.macchina-3d-box .scroll-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1;
  scroll-behavior: smooth;
  pointer-events: auto;
}

.macchina-hero .text-box,
.macchina-hero .macchina-3d-box {
  height: calc(100vh - 32px);
}

.macchina-hero .text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.macchina-3d-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1200px) {
  .macchina-hero-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: unset;
    padding: 48px 0;
  }
  .text-box.box-shadow.bg-daet, .macchina-3d-box {
    max-width: 90vw;
    min-width: unset;
    margin: 0 0 32px 0;
  }
  .macchina-3d-box {
    margin: 0;
    height: 320px;
  }
}
@media (max-width: 700px) {
  .text-box.box-shadow.bg-daet {
    padding: 24px 12px;
    font-size: 1rem;
  }
  .macchina-3d-box {
    height: 180px;
  }
  .macchina-3d-placeholder {
    font-size: 1rem;
  }
}

.macchina-3d-box,
.macchina-3d-box .scroll-container {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.macchina-3d-box::-webkit-scrollbar,
.macchina-3d-box .scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}


.text-box-item {
  /* opacity: 0; */
  /* transition: opacity 0.5s; */
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: all 0s ease-out, visibility 0s 0.1s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-box-item.active {
  /* opacity: 1; */
  pointer-events: auto;
  position: static;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: all 0.6s ease-out, visibility 0s;
}
.text-box.box-shadow.bg-daet {
  position: relative;
  min-height: 220px;
}

.indicator-dots-vertical {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.indicator-arrow {
    background-color: transparent;
    background-size: 12px 7px;
    background-repeat: no-repeat;
    background-position: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, filter 0.2s;
}
.indicator-arrow-up {
  background-image: url('/images/icon/arrow-up.svg');
}
.indicator-arrow-down {
    background-image: url('/images/icon/arrow-down.svg');
  }

.indicator-arrow:hover {
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2873%) hue-rotate(86deg) brightness(94%) contrast(101%);
}


.indicator-dots {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F0FAEB;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indicator-dot:hover {
    background: #29551F;
  }

.indicator-dot.active {
  background: #4FAE32;
  border: none;
  transform: scale(1.2);
  width: 12px;
  height: 12px;
}
@media (max-width: 700px) {
  .indicator-dots-vertical {
    right: 8px;
    bottom: 8px;
  }
}

/* Macchina Visualizzatore Section */
.macchina-visualizzatore {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
  padding: 16px;
  overflow-y: hidden;
  overflow-x: hidden;
}

.macchina-visualizzatore-container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

#img360 {
    position: absolute;
    z-index: 10;
    height: 32px;
    width: 32px;
    left: 56px;
    bottom: 40px;
}

.macchina-visualizzatore-container model-viewer {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* Allow page scrolling while keeping model interaction */
  touch-action: pan-y;
  pointer-events: auto;
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.macchina-visualizzatore-container model-viewer::-webkit-scrollbar {
  display: none;
}

/* Progress bar styles for macchina-visualizzatore */
.macchina-visualizzatore-container .progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.macchina-visualizzatore-container .progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.macchina-visualizzatore-container .update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

.macchina-visualizzatore-container #ar-button {
  background-image: url(../visualizator/DAET_Visualizzatore/ar_icon.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 16px;
  padding: 0px 16px 0px 40px;
  font-size: 14px;
  color: #4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #DADCE0;
  cursor: pointer;
  z-index: 10;
}

.macchina-visualizzatore-container #ar-button:active {
  background-color: #E8EAED;
}

.macchina-visualizzatore-container #ar-button:focus {
  outline: none;
}

.macchina-visualizzatore-container #ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

.macchina-visualizzatore-container #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
  z-index: 10;
}

.macchina-3d-box model-viewer,
.macchina-visualizzatore-container model-viewer {
  background-color: #E3E5E2;
}

.macchina-visualizzatore-container[ar-status="session-started"] #ar-prompt {
  display: block;
}

.macchina-visualizzatore-container #ar-prompt > img {
  animation: circle 4s linear infinite;
}


@keyframes circle {
  from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
  from { transform: translateX(100px); }
  to   { transform: translateX(-100px); }
}

/* Brochure Download Section */
.brochure-download {
  width: 100%;
  padding: 60px 56px 0 56px;
  position: relative;
  z-index: 1;
}

.brochure-download-container {
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}


/* Image Background */
.image-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.image-background img {
    height: auto;
    position: absolute;
    object-fit: cover;
}

#homeBackground img {
    width: 1920px;
    top: -300px;
    right: -30px;
}
@media (min-width: 1800px) {
    #homeBackground img {
        width: 2300px;
    }
}
@media (min-width: 2000px) {
    #homeBackground img {
        width: 2400px;
    }
}
@media (max-width: 1500px) {
    #homeBackground img {
        width: 2300px;
    }
}


#chiSiamoBackground img {
    width: 1470px;
    bottom: -330px;
    left: -300px;
}

#contattiBackground img {
    width: 1920px;
    top: 0;
}

body.page-template-page-contatti {
    background-image: url(/images/bg-contatti.svg);
    background-size: 1920px auto;
    background-position: left top;
    background-repeat: no-repeat;
}

.text-box-content-contact p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 5px;
}
.text-box-content-contact strong {
    color: #6D6D6D;
}




/* Benefits Section */

#benefits {
  width: 100%;
  margin: 0 0 80px 0;
  padding: 0;
  background: none;
  display: flex;
  justify-content: center;
}
.benefits-bg {
    width: 100%;
    margin: 0 16px;
}
.benefits-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 32px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 80px 40px;
    position: relative;
    z-index: 2;
}
.benefit-card {
  display: flex;
  align-items: center;
  max-width: 440px;
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 2;
}
.benefit-blue {
  background: #144F9F;
}
.benefit-green {
  background: #4FAE32;
}
.benefit-icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 100%;
  background: transparent;
  border-radius: 50px 0 0 50px;
}
.benefit-icon {
  width: 52px;
  height: 52px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon img {
  width: 52px;
  height: 52px;
}
.benefit-text-box {
    background: #fff;
    padding: 22px 44px;
    border: 1px solid #B8E6FF;
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
    position: relative;
    right: -1px;
    flex: 1 1 0;
}
.benefit-green .benefit-text-box {
    border: 1px solid #BDEBAB;
}


.benefit-content {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 20px;
}


@media (max-width: 1100px) {
  .benefits-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .benefit-card {
    flex-direction: column;
    text-align: center;
  }

  .benefit-text-box {
    margin-left: 0;
    margin-top: 20px;
  }
}

/* Full Screen Split Section */
.full-screen-split-section {
    width: 100%;
    height: 100vh;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-container {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 16px;
}

.split-box {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.split-box .background-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    
    .split-box {
        height: calc(50vh - 8px);
    }
}

/* split Layout */
.box-split {
    gap: 70px;
}

.box-left {
    flex: 0 0 45%;
}

.box-right {
    flex: 1;
}

.box-image {
    margin-top: 0;
}

.box-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .box-split {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .box-left,
    .box-right {
        flex: none;
        width: 100%;
    }
    
    .box-image {
        margin-top: 20px;
    }
}



/* Rectangle 39 */

.box-form {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(7.5px);
    padding: 40px;
}



.cf7-custom-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.cf7-custom-row {
    display: flex;
}
.cf7-custom-row p {
  display: flex;
  gap: 20px;
  margin-bottom: 40px !important
}

.cf7-custom-row.row-full {
    display: block;
    margin-bottom: 120px;
}
.cf7-custom-row.row-full p {
  display: block;
}

.cf7-custom-row textarea,
.cf7-custom-row input[type="text"],
.cf7-custom-row input[type="email"],
.cf7-custom-row input[type="tel"] {
  flex: 1 1 0;
  background: #fff;
  border-radius:8px;
  border: 1px solid #D1D1D1;
  padding: 15px 20px;
  font-size: 16px;
  color: #111;
  outline: none;
  transition: border 0.2s;
  width: 100%;
  font-family: 'Urbanist', Arial, sans-serif;
}

.cf7-custom-row textarea::placeholder,
.cf7-custom-row input::placeholder {
  color: #B0B0B0;
  opacity: 1;
}

.cf7-custom-row textarea:focus,
.cf7-custom-row input:focus {
  border-color: #0074d9;
}

.cf7-custom-row textarea {
  min-height: 90px;
  resize: vertical;
  flex: 1 1 100%;
}

.cf7-custom-row-btn {
    display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.cf7-custom-row-btn p {
    margin-bottom: 0 !important;
}

.cf7-custom-row-btn input[type="submit"] {
    font-family: 'Urbanist', Arial, sans-serif;
}

/* Stile per il tag a che sostituisce l'input del bottone CF7 */
.cf7-custom-row-btn a.wpcf7-form-control.wpcf7-submit.discover-btn {
    display: inline-block;
    background-color: #4FAE32;
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    padding-right: 60px;
    font-family: 'Urbanist', Arial, sans-serif;
}

.cf7-custom-row-btn a.wpcf7-form-control.wpcf7-submit.discover-btn:hover {
    background-color: #3d8a28;
    text-decoration: none;
}

/* Icona per il tag a */
.cf7-custom-row-btn a.wpcf7-form-control.wpcf7-submit.discover-btn::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    background-image: url('/images/icon/send.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    z-index: 1;
}

@media (max-width: 600px) {
  .cf7-custom-row {
    flex-direction: column;
    gap: 8px;
  }
  .cf7-custom-box {
    padding: 18px 8px;
  }
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-toggle img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.language-toggle .arrow-icon {
    width: auto;
    height: 5px;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.language-switcher:hover .arrow-icon,
.language-dropdown.open + .language-toggle .arrow-icon {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #111111;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(20, 79, 159, 0.1);
    color: #144F9F;
}

.language-option.current {
    background: rgba(20, 79, 159, 0.15);
    color: #144F9F;
    font-weight: 600;
}

.language-option .flag {
    margin-right: 12px;
    flex-shrink: 0;
}

.language-option .flag img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.language-option .name {
    font-size: 12px;
    font-weight: 500;
    margin-right: 5px;
}

/* Mobile styles for language switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 15px;
    }
    
    .language-toggle {
        padding: 6px 10px;
    }
    
    .language-toggle img {
        width: 18px;
        height: 18px;
    }
    
    .language-toggle .arrow-icon {
        height: 4px;
    }
    
    .language-dropdown {
        min-width: 160px;
        right: -10px;
    }
    
    .language-option {
        padding: 10px 14px;
    }
    
    .language-option .flag img {
        width: 18px;
        height: 18px;
    }
    
    .language-option .name {
        font-size: 13px;
    }
    
    /* Mobile dropdown functionality */
    .language-dropdown {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .language-dropdown.open {
        display: block;
    }
    
    /* Disable hover on mobile */
    .language-switcher:hover .language-dropdown {
        display: none;
    }
    
    .language-switcher:hover .language-dropdown.open {
        display: block;
    }
    
    /* Arrow rotation for mobile */
    .language-dropdown.open ~ .language-toggle .arrow-icon,
    .language-dropdown.open + .language-toggle .arrow-icon {
        transform: rotate(180deg);
    }
}

/* Desktop hover functionality */
@media (min-width: 769px) {
    .language-dropdown.open {
        display: none !important;
    }
}

/* --- Tab Slider Section --- */
.macchina-tab-slider {
    background: #E3E5E2;
    border-top: 1px solid #6D6D6D;
    padding: 45px 60px;
    margin: 0 16px;
}
.tab-slider-wrapper {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}
.tab-slider-tabs {
    display: flex;
    gap: 0;
    border-bottom: none;
    position: relative;
    z-index: 2;
}
.tab-slider-tab {
    background: none;
    border: none;
    outline: none;
    font-size: 20px;
    color: #6D6D6D;
    font-weight: 500;
    padding: 0 0 12px 0;
    text-align: left;
    cursor: grab;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.3s;
    position: relative;
    margin: 0;
    user-select: none;
}

.tab-slider-title {
    font-size: 18px;
    line-height: 18px;
    color: #B0B0B0;
    font-weight: 400;
    margin-bottom: 14px;
}
.tab-slider-desc {
    font-size: 14px;
    line-height: 20px;
    padding-right: 15px;
    max-width: 80%;
    color: #111111;
    font-weight: 400;
    margin-top: 20px;
    opacity: 0;
    transition: all 0.5s ease;
}
.tab-slider-tab:active {
    cursor: grabbing;
}
.tab-slider-tab.slick-current.active .tab-slider-title { 
    color: #144F9F;
    font-weight: 600;
}
.tab-slider-tab.slick-current.active .tab-slider-desc { 
    opacity: 1;
}

.tab-slider-bar {
    border-bottom: 1px solid #B0B0B0;
    width: 100%;
    height: 3px;
    display: block;
}
.tab-slider-bar-inner {
    background: #144F9F;
    height: 4px;
    top: -2px;
    position: relative;
    border-radius: 4px 4px 0 0;
    width: 80%;
    opacity: 0;
    transition: all 0.5s ease;
}
.tab-slider-tab.slick-current.active .tab-slider-bar-inner { 
    opacity: 1;
}


.tab-slider-arrow {
    position: absolute;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #D1D1D1;
    border-radius: 50%;
    border: none;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}
.tab-slider-arrow:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.tab-slider-arrow-prev {
    left: -15px;
}
.tab-slider-arrow-prev:before {
    background-image: url('/images/icon/prev.svg');
}
.tab-slider-arrow-next {
    right: -15px;
}
.tab-slider-arrow-next:before {
    background-image: url('/images/icon/next.svg');
}
.tab-slider-arrow:hover {
    background: #4FAE32 !important;
}


.page-template-page-coming-soon .close-banner {
    display: none;
}
.page-template-page-coming-soon .fixed-banner {
    z-index: 10;
    position: absolute;
}
.page-template-page-coming-soon .site-footer {
    margin-top: 55px;
}




/* Coming Soon Hero Section */
.coming-soon-hero {
    position: relative;
    width: 100vw;
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 0;
}
.coming-soon-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.coming-soon-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.5) 100%);
    z-index: 1;
}
.coming-soon-content {
    position: absolute;
    top: 69px;
    left: 0; right: 0;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    padding: 40px 16px 0 16px;
}
.coming-soon-title {
    font-size: 28px;
    line-height: 43px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 7px;
    text-align: center;
}
.coming-soon-subtitle {
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    max-width: 500px;
}

.coming-soon-countdown-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
.coming-soon-countdown {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}
.countdown-num {
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.countdown-label {
    font-family: 'Urbanist', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-top: 2px;
}
.add-to-calendar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-family: 'Urbanist', Arial, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    margin-left: 18px;
    border-bottom: 1px dashed #fff;
    transition: border 0.2s;
}
.add-to-calendar-link:hover {
    border-bottom: 1px solid #fff;
    color: #fff;
}
.add-to-calendar-link svg {
    display: inline-block;
    vertical-align: middle;
}

#comingSoonCountdownMob {
    display: none;
}

/* Overlay Coming Soon sopra il video */
.coming-soon-overlay-block {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    padding: 40px 16px 0 16px;
    pointer-events: none;
}
.coming-soon-overlay-block > * {
    pointer-events: auto;
}


/* Separatore countdown */
.countdown-separator {
    display: inline-block;
    width: 1px;
    min-height: 52px;
    background: #fff;
    margin: 0 18px;
    vertical-align: middle;
    align-self: center;
    opacity: 0.8;
}






#addEventButton {
    margin-left: 15px;
}
#addEventButtonMob {
    display: none;
}

.display-desktop {
    display: block;
}
.display-mobile, .display-tablet {
    display: none;
}




/* Media Query    
320px — 480px: smartphone
481px — 768px: tablet
769px — 1024px: laptop
1025px — 1200px: desktop
1201px and more —  desktop extra large, TV
*/

@media (max-width: 1024px) and (max-height: 600px) {
    /* mobile landscape */
    .fixed-banner {
        position: relative;
    }
    .video-wrapper, .video-slider {
        min-height: 525px !important;
    }

    .page-template-page-coming-soon .fixed-banner {
        bottom: -16px;
    }


}   


@media (max-width: 1024px) {
    /* Tablet styles */

    .display-desktop, .display-mobile {
        display: none;
    }
    .display-tablet {
        display: block;
    }

    #addEventButton {
        margin-left: 50px;
    }

    .coming-soon-overlay-block {
        top: auto;
        bottom: 180px;
    }

    .coming-soon-title {
        font-size: 24px;
        line-height: 39px;
        margin-bottom: 2px;
    }
    .coming-soon-subtitle {
        font-size: 16px;
        line-height: 22px;
        max-width: max-content;
        margin-bottom: 20px;
    }

    .countdown-num {
        font-size: 24px;
    }
    .countdown-label {
        font-size: 12px;
        margin-top: 1px;
    }


    .page-template-page-coming-soon .site-footer {
        margin-top: 32px;
    }

    .footer-container {
        padding: 25px 25px 50px 25px;
    }

    /* Footer top layout for tablets - privacy links first, company name second */
    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .privacy-links {
        order: 1;
        margin-bottom: 0;
        align-self: flex-end;
    }

    .company-name {
        order: 2;
    }

    .footer-bottom {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        text-align: left;
    }
    .footer-column.legal-office {
        flex: 0 0 37.5%;
        max-width: 37.5%;
    }
    .footer-column.operational-office {
        flex: 0 0 62.5%;
        max-width: 62.5%;
    }
    .footer-column.contacts {
        flex: 0 0 100%;
        max-width: 100%;
        clear: both;
        margin-top: 24px;
    }
    .footer-column {
        text-align: left;
    }


}   

@media (max-width: 991px) and (orientation: landscape) {
    .coming-soon-overlay-block {
        bottom: 30px;
    }
}


@media (max-width: 480px) {
    /* Smartphone styles */

    .display-desktop, .display-tablet {
        display: none;
    }
    .display-mobile {
        display: block;
    }


    .coming-soon-header {
        padding: 40px 32px;
    }
    .coming-soon-header .logo {
        height: 28px;
    }

    .coming-soon-overlay-block {
        top: auto;
        bottom: 90px;
        padding: 0 32px;
        align-items: flex-start;
        text-align: left;
    }
    .coming-soon-title {
        font-size: 18px;
        line-height: 24px;
        max-width: 195px;
        margin-bottom: 10px;
        text-align: left;
    }
    .coming-soon-subtitle {
        font-size: 14px;
        line-height: 20px;
        max-width: 280px;
        text-align: left;
    }


    #addEventButton {
        display: none;
    }
    #addEventButtonMob {
        display: block;
        position: absolute;
        right: 85px;
        top: 38px;
        z-index: 100;
        background: #fff;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #addEventButtonMob img {
        width: 16px;
        height: 16px;
    }


    #comingSoonCountdown {
        display: none;
    }
    #comingSoonCountdownMob {
        display: block;
        position: absolute;
        right: 32px;
        top: 36px;
        z-index: 100;
    }

    .countdown-item {
        min-width: 40px;
    }
    .countdown-num {
        font-size: 18px;
    }
    .countdown-label {
        font-size: 10px;
        margin-top: 1px;
    }
    .countdown-separator {
        min-height: 1px;
        width: 40px;
        margin: 0;
    }

    add-to-calendar-button {
        position: absolute !important;
        right: 80px;
        top: 32px;
        z-index: 100;
    }

    
    .footer-container {
        padding: 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .privacy-links {
        display: block;
        position: absolute;
        bottom: 35px;
        align-self: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-column {
        flex: none;
        text-align: left;
    }

    .footer-column.contacts {
        margin-top: 0;
        margin-bottom: 64px;
    }

    .company-name h3 {
        font-size: 14px;
        line-height: 22px;
    }
    .footer-column p {
        font-size: 12px;
        line-height: 19px;
        margin-bottom: 8px;
    }
    .footer-column h4 {
        font-size: 12px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    
    
    
    .social-icons {
        justify-content: center;
    }

    .page-template-page-coming-soon .site-footer {
        margin-top: 20px;
    }

    .site-footer {
        padding: 0;
    }

    .footer-column.legal-office,
    .footer-column.operational-office,
    .footer-column.contacts {
        flex: 0 0 100%;
        max-width: 100%;
        clear: both;
    }




}


