/*
Theme Name: Studio Dentistico Coppe Scarpis Theme
Author: Jessica Croce and Mamix
Description: WordPress Custom Theme
Version: 1.0
*/

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

:root {
    --primary: #163962;
    --secondary: #639E27;
    --tertiary: #62BAF0;
    --white: #fff;

    --border-radius: 30px;

    --font-primary: "Gabarito", sans-serif;
    --font-secondary: "Gabarito", serif;

    --item-margin: 20px;
    --item-margin-xs: 10px;

    --space-xxs: 10px;
    --space-xs: 20px;
    --space-sm: 40px;
    --space-md: 60px;
    --space-lg: 80px;
    --space-xl: 100px;
    --space-xxl: 160px;
}

/* Lenis */

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: clip;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* Body */

body {
    font-family: var(--font-primary);
    font-weight: 300;
    background-color: #fff;
    overflow-x: hidden;
    -webkit-appearance: none;
    color: var(--primary);
}

/* Contenitori */

.container { min-width: 1100px; }

.subcontainer { width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto; }

/* Flex */

.flex { display: flex; }

.flexcenter { align-items: center;
    justify-content: center; }

.row { flex-direction: row; }

.column { flex-direction: column; }

.row-reverse { flex-direction: row-reverse; }

.column-reverse { flex-direction: column-reverse; }

.wrap { flex-wrap: wrap; }

.space-between { justify-content: space-between; }

.justifycenter { justify-content: center; }

.alignstart { align-items: flex-start; }

.aligncenter { align-items: center; }

.alignend { align-items: flex-end; }

.justifystart { justify-content: flex-start; }

.justifyend { justify-content: flex-end; }

/* Img */

.obj-cover { object-fit: cover; }

.obj-contain { object-fit: contain; }

/* Margin */

.m0a { margin: 0 auto; }

.mla { margin-left: auto; }

.mra { margin-right: auto; }

.mta { margin-top: auto; }

.mba { margin-bottom: auto; }

/* Width */

.wh8 { width: 8.33333%; }

.wh16 { width: 16.66666%; }

.wh20 { width: 20%; }

.wh25 { width: 25%; }

.wh33 { width: 33.33333%; }

.wh40 { width: 40%; }

.wh50 { width: 50%; }

.wh60 { width: 60%; }

.wh66 { width: 66.66666%; }

.wh75 { width: 75%; }

.wh83 { width: 83.33333%; }

.wh90 { width: 90%; }

.wh100 { width: 100%; }

/* Font */

.regular { font-weight: 400; }

.medium { font-weight: 500; }

.semibold { font-weight: 600; }

.bold { font-weight: 700; }

.italic { font-style: italic; }

.uppercase { text-transform: uppercase; }

.center { text-align: center; }

.right { text-align: right; }

.left { text-align: left; }

/* Heights */

.vh33 { height: 33.33333vh; }

.vh40 { height: 40vh; }

.vh50 { height: 50vh; }

.vh60 { height: 60vh; }

.vh66 { height: 66.66666vh; }

.vh70 { height: 70vh; }

.vh80 { height: 80vh; }

.vh100 { height: 100vh; }

.h100 { height: 100%; }

.h50 { height: 50%; }

/* Divisori */

.space-xxs { padding: var(--space-xxs); }

.space-xs { padding: var(--space-xs); }

.space-sm { padding: var(--space-sm); }

.space-md, .space { padding: var(--space-md); }

.space-lg { padding: var(--space-lg); }

.space-xl { padding: var(--space-xl); }

.space-xxl { padding: var(--space-xxl); }

.p-xxs { padding: var(--space-xxs); }

.p-xs { padding: var(--space-xs); }

.p-sm { padding: var(--space-sm); }

.p-md { padding: var(--space-md); }

.p-lg { padding: var(--space-lg); }

.p-xl { padding: var(--space-xl); }

.p-xxl { padding: var(--space-xxl); }

.py-xxs { padding-top: var(--space-xxs);
    padding-bottom: var(--space-xxs); }

.py-xs { padding-top: var(--space-xs);
    padding-bottom: var(--space-xs); }

.py-sm { padding-top: var(--space-sm);
    padding-bottom: var(--space-sm); }

.py-md { padding-top: var(--space-md);
    padding-bottom: var(--space-md); }

.py-lg { padding-top: var(--space-lg);
    padding-bottom: var(--space-lg); }

.py-xl { padding-top: var(--space-xl);
    padding-bottom: var(--space-xl); }

.py-xxl { padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl); }

.px-xs {
    padding-right: var(--space-xs);
    padding-left: var(--space-xs);
}

.pb-xxs { padding-bottom: var(--space-xxs); }

.pb-xs { padding-bottom: var(--space-xs); }

.pb-sm { padding-bottom: var(--space-sm); }

.pb-md { padding-bottom: var(--space-md); }

.pb-lg { padding-bottom: var(--space-lg); }

.pb-xl { padding-bottom: var(--space-xl); }

.pb-xxl { padding-bottom: var(--space-xxl); }

.pt-xxs { padding-top: var(--space-xxs); }

.pt-xs { padding-top: var(--space-xs); }

.pt-sm { padding-top: var(--space-sm); }

.pt-md { padding-top: var(--space-md); }

.pt-lg { padding-top: var(--space-lg); }

.pt-xl { padding-top: var(--space-xl); }

.pt-xxl { padding-top: var(--space-xxl); }

/* Position */

.p-rel { position: relative; }

.p-abs { position: absolute; }

/* Other */

a { text-decoration: none;
    cursor: pointer;
    }

.padding-right-5 { padding-right: 5%; }

.padding-left-5 { padding-left: 5%; }

.padding-left { padding-left: 50px; }

.padding-right { padding-right: 50px; }

.padding-top { padding-top: 50px; }

.padding-bottom { padding-bottom: 50px; }

.bg-center { background-position: center;
    background-size: cover; }

.overflow-hidden { overflow: hidden; }

.border-radius-50 { border-radius: 50%; }

.border-radius { border-radius: var(--border-radius); }

.grecaptcha-badge { visibility: hidden !important; }

.item-margin-bottom {
    margin-bottom: var(--item-margin);
}

.item-margin-bottom-xs {
    margin-bottom: var(--item-margin-xs);
}

/* Grid */

.grid {
    display: grid;
    gap: 40px;
    }

.col-2 { grid-template-columns: repeat(2, 1fr); }

.col-3 { grid-template-columns: repeat(3, 1fr); }

.col-4 { grid-template-columns: repeat(4, 1fr); }

.col-5 { grid-template-columns: repeat(5, 1fr); }

.col-6 { grid-template-columns: repeat(6, 1fr); }

.gap-xxs { gap: var(--space-xxs); }

.gap-xs { gap: var(--space-xs); }

.gap-sm { gap: var(--space-sm); }

.gap-md { gap: var(--space-md); }

.gap-lg { gap: var(--space-lg); }

.gap-xl { gap: var(--space-xl); }

.gap-xxl { gap: var(--space-xxl); }

/* Titoli e Paragrafi */

h1 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: clamp(2rem, 5vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.015em;
}

h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3.5vw, 3.8rem);
    line-height: clamp(1.8rem, 3.8vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.015em;
}

h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 1.4vw, 1.9rem);
    line-height: clamp(1.4rem, 1.6vw, 2.1rem);
    letter-spacing: -0.015em;
    font-weight: 500;
}

p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    line-height: clamp(1.2rem, 1.6vw, 1.6rem);
}

.pre-title {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    color: var(--tertiary);
    font-weight: 700;
    margin-bottom: var(--item-margin-xs);
}

ul li {
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    line-height: clamp(1.2rem, 1.6vw, 1.5rem);
}

strong {
    font-weight: 700;
}

/* Colors */

.primary { color: var(--primary); }

.bg-primary { background-color: #F0F7FC; }

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

.bg-secondary { background-color: #E2F4E7; }

.white { color: var(--white); }

.bg-white { background-color: var(--white); }

/* Cursor */

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background-color: #888888;
    opacity: 0;
    z-index: 10000;
    user-select: none;
    pointer-events: none;
}

/* Pulsanti */

.button, .form input[type='submit'], .categories li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 400;
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
    padding: 17px 30px;
    transition: all 0.4s;
    width: max-content;
    height: max-content;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    border: 1px solid transparent;
}

.button:hover, .form input[type='submit']:hover, .categories li a:hover {
    background: var(--tertiary);
    color: var(--white);
    border-radius: var(--border-radius) 0 var(--border-radius) 0;
}

/*GO TOP*/

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.7);
    width: 50px;
    height: 50px;
    z-index: 11;
    cursor: pointer;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 1;
}
#return-to-top i {
    color: var(--primary);
    margin: 0;
    position: relative;
    left: 16px;
    top: 14px;
    font-size: 18px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: var(--primary);
}
#return-to-top:hover i {
    color: var(--white);
}

/* Overlay */

.overlay {
    top: 0;
    background: rgba(0,0,0,0.4);
    bottom: 0;
    left: 0;
    z-index: 10;
    right: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s linear;
    margin: auto; }

.overlay-sm { background: rgba(0,0,0,0.15); }

.overlay-lg { background: rgba(0,0,0,0.7); }

/* Header */

.mobile-menu {
    display: none;
}

.main-tool-bar {
    position: fixed;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0;
    top: 0;
    transition: all 0.2s linear;
    z-index: 11;
    background: transparent;
}

.main-tool-bar.sticky {
    height: 80px;
    background: rgba(255,255,255,0.9);
}

.menu-principale li a {
    font-family: var(--font-primary);
    transition: all 0.3s linear;
    color: var(--white);
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    line-height: clamp(1.2rem, 1.6vw, 1.5rem);
}

.main-tool-bar.sticky .menu-principale li a {
    color: var(--primary);
    }

ul.menu-principale {
    display: flex;
    gap: var(--space-sm);
}

.menu-principale li {
    list-style: none;
    align-items: center;
    display: flex;
    position: relative;
}

.menu-principale li.menu-item { height: 100%; }

li.current-menu-item a { color: var(--white); }

.menu-principale li a::before {
    width: 0;
    left: 0;
    right: 0;
    content: "";
    position: absolute;
    height: 1px;
    background: var(--white);
    bottom: 30px;
    transition: all 0.3s linear;
}

.main-tool-bar.sticky .menu-principale li a::before {
    background: var(--primary);
}

.menu-principale li.current_page_item a::before, .menu-principale li:hover a::before {
    width: 100%;
}

/* Sub Menu */

.desktop-menu .sub-menu { list-style: none;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    position: absolute;
    top: 80px;
    transform: translateY(20px);
    background: var(--white);
    padding: 20px;
    width: 250px;
}

.desktop-menu .sub-menu li {
    margin-bottom: 10px;
    transition: all 0.2s linear;
}

.desktop-menu .sub-menu li:hover {
    transform: translateX(5px);
}

.desktop-menu .sub-menu li:last-child {
    margin-bottom: 0;
}

.desktop-menu .sub-menu li.current-menu-item::after { display: none; }

.desktop-menu .sub-menu { top: 90px; }

header.sticky .desktop-menu .sub-menu { top: 80px; }

.desktop-menu li.menu-item-has-children:hover .sub-menu {
    visibility: visible;
    transform: unset;
    opacity: 1;
}

li.menu-item-has-children ul li a {
    color: var(--primary);
}

li.menu-item-has-children ul li a::before {
    display: none;
}

li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'FontAwesome', sans-serif;
    transition: all 0.5s ease;
    margin-left: 5px;
    font-size: 10px;
}

/* Responsive */

.none-desktop { display: none; }

.none-sm { display: flex; }

/* Vimeo */

.vimeo-wrapper { position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vimeo-wrapper iframe { position: absolute;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Img fit */

.img-fit {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 100%;
}

.img-fit img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */

.fade {
    opacity: 0;
    transition: 1.7s all cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.fade.in-page {
    opacity: 1;
}
.fade-in {
    transform: translateY(50px);
    opacity: 0;
    transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-in.in-page {
    transform: translateY(0);
    opacity: 1;
}

.reveal-from-left img, .reveal-from-left .overlay, .reveal-all.reveal-from-left * {
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-from-left.in-page img, .reveal-from-left.in-page .overlay, .reveal-all.reveal-from-left.in-page * {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.reveal-from-right img, .reveal-from-right .overlay {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-from-right.in-page img, .reveal-from-right.in-page .overlay {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Img Hover */

.squared {
    aspect-ratio: 1;
}

.img-hover-container {
    overflow: hidden;
}

.img-hover-container img {
    transform: scale(1);
    transition: all 0.6s ease;
}

.img-hover-container:hover img {
    transform: scale(1.03);
}

/* Elements */

.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax-section-sm {
    height: 60vh;
}

.parallax-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    will-change: transform;
}

.sticky-section {
    height: 100vh;
    flex-grow: 1;
    align-self: start;
    bottom: auto;
    overflow: auto;
    position: sticky;
    top: 0;
    left: 0;
}

.service-img {
    aspect-ratio: 4 / 5;
}

.service-box-content {
    transition: all 0.2s linear; }

.team-box-content { background: rgba(0,0,0,0.5);
    padding: var(--space-xs);
    transition: all 0.2s linear; }

.service-box {
    position: absolute;
    left: 0;
    right: 0;
}

.service:hover .service-box-content {
    transform: translateY(-10px);
}

.service:hover .service-box {
    background: rgba(0,0,0,0.7);
}

.grid.contact {
    grid-template-columns: 55px auto;
    grid-gap: 10px;
    align-items: center;
}

.grid.contact .icon-container {
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    padding: 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: all 0.2s linear;
}

.grid.contact .icon-container i {
    font-size: 20px;
    color: var(--primary);
    transition: all 0.2s linear;
}

.grid.contact:hover .icon-container {
    background: var(--primary);
}

.grid.contact:hover .icon-container i {
    color: var(--white);
}

.box-icon i {
    margin: 0 auto var(--item-margin);
    font-size: 50px;
}

.grid.highlight-box {
    grid-template-columns: 80px auto;
    grid-gap: var(--space-xs);
    align-items: center;
}

.grid.highlight-box .icon-container {
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    padding: 10px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: all 0.2s linear;
}

.grid.highlight-box .icon-container i {
    font-size: 30px;
    transition: color 0.4s ease;
}

/* Blog */

.blog-img { aspect-ratio: 16 / 9; }

.blog-title {
    font-size: clamp(1.3rem, 1.4vw, 1.9rem);
    line-height: clamp(1.5rem, 1.6vw, 2.1rem);
}

.categories li a {
    padding: var(--space-xxs) var(--space-xs);
}

.categories li {
    list-style: none;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
}

.nav-links { display: flex; }

.pagination a,
.pagination span {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--primary);
    color: #fff;
    border: 1px solid transparent;
}

.pagination .prev a,
.pagination .next a {
    background-color: #f7f7f7;
    color: var(--primary);
}

.pagination .prev a:hover,
.pagination .next a:hover {
    background-color: var(--primary);
    color: #fff;
}

.pagination .current {
    background-color: var(--primary);
    color: #fff;
    pointer-events: none;
}

.pagination .prev a,
.pagination .next a {
    font-size: 1.2em;
}

/* Single */

.single h1 {
    font-size: clamp(1.9rem, 3.2vw, 3.8rem);
    line-height: 1.1;
}

.gutenberg-content h2, .gutenberg-content h3, .gutenberg-content h4, .gutenberg-content h5, .gutenberg-content h6, .gutenberg-content p, .gutenberg-content ul, .gutenberg-content img, .gutenberg-content .wp-block-button__link {
    margin-bottom: var(--item-margin);
}

.gutenberg-content h2, .gutenberg-content h3, .gutenberg-content h4, .gutenberg-content h5, .gutenberg-content h6 {
    font-family: var(--font-primary);
}

.gutenberg-content h2 {
    font-size: clamp(1.9rem, 3.2vw, 3.8rem);
    line-height: 1.1;
}

.gutenberg-content h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.8rem);
    line-height: 1.15;
}

.gutenberg-content h4 {
    font-size: clamp(1.3rem, 1.8vw, 2.2rem);
    line-height: 1.2;
}

.gutenberg-content h5 {
    font-size: clamp(1.1rem, 1.4vw, 1.6rem);
    line-height: 1.25;
}

.gutenberg-content h6 {
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
    line-height: 1.3;
}

.gutenberg-content ul li {
    list-style: inside;
}

.gutenberg-content .wp-block-button__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 300;
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
    padding: var(--space-xxs) var(--space-xs);
    transition: all 0.4s;
    width: max-content;
    height: max-content;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    border: 1px solid transparent;
}

.gutenberg-content .wp-block-button__link:hover {
    background: var(--tertiary);
    color: var(--white);
    border-radius: var(--border-radius) 0 var(--border-radius) 0;
}

.gutenberg-content a {
    transition: all 0.2s linear;
    color: var(--primary);
}

.gutenberg-content a:hover { opacity: 0.6; }

.gutenberg-content img {
    border-radius: var(--border-radius);
    width: 100%;
    object-fit: contain;
    height: auto;
}

/* Form */

.form p {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form br {
    display: none;
}

.form input[type='text'], .form input[type='tel'], .form input[type='email'], .form textarea, .form select {
    width: calc(50% - 10px);
    padding: var(--space-xxs) var(--space-xs);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 400;
    transition: all 0.2s linear;
    border: unset;
    background: #fff;
    color: var(--primary);
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    line-height: clamp(1.4rem, 1.6vw, 2rem);
}

.form textarea {
    width: 100%;
    resize: none;
    height: 150px;
}

.form select {
    width: 100%;
}

.form input[type='text']:focus, .form input[type='tel']:focus, .form input[type='email']:focus, .form textarea:focus {
    outline: none !important;
    box-shadow: unset;
    background: var(--primary);
    color: var(--white);
}

.wpcf7-acceptance {
    width: 100%;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
    margin-bottom: var(--item-margin-xs);
    }

.wpcf7-acceptance a {
    color: var(--primary);
    opacity: 0.5;
    text-decoration: underline;
    transition: all 0.2s linear;
    }

.wpcf7-acceptance a:hover {
    opacity: 1;
}

.wpcf7-spinner {
    display: none !important;
    visibility: hidden !important;
}

/* Breadcrumbs */

.rank-math-breadcrumb a:hover { opacity: 0.7; }

.rank-math-breadcrumb a {
    transition: all 0.2s linear;
    color: var(--white);
}

.rank-math-breadcrumb { text-align: center; }

/* Footer */

footer a {
    color: var(--primary);
    transition: all 0.2s linear;
}

footer a:hover {
    opacity: 0.6;
}

/* Responsive Tablet */
@media only screen and (min-width: 768px) and (max-width: 1100px) {

    :root {
        --space-xxs: 8px;
        --space-xs: 15px;
        --space-sm: 30px;
        --space-md: 40px;
        --space-lg: 60px;
        --space-xl: 70px;
        --space-xxl: 110px;
    }

    .container { min-width: 768px; }

    .none-desktop { display: flex; }

    .none-tablet { display: none; }

    .hide-tablet { display: none !important; }

    .none-sm { display: flex; }

    .t-col { flex-direction: column; }

    .t-center { align-items: center;
        justify-content: center; }

    .wht50 { width: 50%; }

    .wht60 { width: 60%; }

    .wht100 { width: 100%; }

    .vht70 { min-height: 70vh; }

    .col-4 { grid-template-columns: 1fr 1fr; }

    .col-6 { grid-template-columns: 1fr 1fr 1fr; }

    .h-t-unset { height: unset; }

    .grid.highlight-box .icon-container {
        width: 50px;
        height: 50px;
    }

    .grid.highlight-box {
        grid-template-columns: 50px auto;
    }

    .grid.highlight-box .icon-container i {
        font-size: 20px;
    }

}

/* Responsive Mobile */

@media only screen and (max-width: 767px) {

    :root {
        --space-xxs: 5px;
        --space-xs: 10px;
        --space-sm: 20px;
        --space-md: 30px;
        --space-lg: 40px;
        --space-xl: 50px;
        --space-xxl: 80px;

        --border-radius: 15px;
    }

    .container { min-width: 319px; }

    .sm-col { flex-direction: column; }

    .sm-col-reverse { flex-direction: column-reverse; }

    .column-reverse { flex-direction: column; }

    .whs100 { width: 100%; }

    .whs20 { width: 20%; }

    .whs50 { width: 50%; }

    .whs80 { width: 80%; }

    .whs90 { width: 90%; }

    .vhs50 { height: 50vh; }

    .one { order: 1; }

    .two { order: 2; }

    .three { order: 3; }

    .four { order: 4; }

    .five { order: 5; }

    .six { order: 6; }

    .none-desktop { display: flex; }

    .none-sm { display: none; }

    .hide-sm { display: none !important; }

    .col-2, .col-3, .col-4, .col-5, .col-6 { grid-template-columns: 1fr; }

    .form input[type='text'], .form input[type='tel'], .form input[type='email'], .form select {
        width: 100%;
    }

    .h-sm-unset { height: unset; }

    .sticky-section {
        width: 100%;
        flex-grow: unset;
        align-self: unset;
        bottom: unset;
        overflow: hidden;
        position: static;
        height: unset;
    }

    .grid.highlight-box .icon-container {
        width: 50px;
        height: 50px;
    }

    .grid.highlight-box {
        grid-template-columns: 1fr;
    }

    .grid.highlight-box .icon-container i {
        font-size: 20px;
    }

    .blocco-banner.parallax-section {
        height: 50vh;
    }

    .padding-left-5-sm {
        padding-left: var(--space-sm);
    }

}

@media (max-width: 1100px) {

    /* Mobile Menu */

    .header-open .logo {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7476%) hue-rotate(185deg) brightness(107%) contrast(96%);
    }

    .desktop-menu { display: none; }

    .logo {
        position: relative;
        z-index: 1000;
    }

    .header-open .logo {
        filter: unset;
    }

    /* Menù */

    .burger-menu-container {
        top: 50%;
        transform: translateY(-50%);
        right: 5%;
        position: absolute;
        z-index: 1000;
        transition: all 0.2s linear;
    }

    .burger-menu {
        cursor: pointer;
        background: transparent;
        border: none;
        width: 40px;
        height: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .burger-menu span {
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--white);
        transition: all 1s ease;
    }

    .main-tool-bar.sticky .burger-menu span {
        background-color: var(--primary);
    }

    .burger-menu.active span { background-color: var(--primary); }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        transform: rotate(-45deg) translate(2px, -2px);
    }

    /* Menu Overlay */

    .overlay-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        min-height: 100vh;
        background: #F0F7FC;
        visibility: hidden;
        opacity: 0;
        z-index: 999;
        transition: all 1s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 120px;
    }

    .overlay-menu.open {
        visibility: visible;
        opacity: 1;
    }

    .menu-mobile {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .menu-mobile li a {
        text-align: center;
        text-decoration: none;
        color: var(--primary);
        font-weight: 400;
        font-size: clamp(1.2rem, 2.5vw, 2.5rem);
        line-height: clamp(2.5rem, 4vw, 3.5rem);
        display: block;
    }

    /* Submenu Mobile */

    li.menu-item-has-children.open > a::after {
        content: '\f106';
    }

    .menu-mobile li.menu-item-has-children ul,
    .menu-mobile li.menu-item-has-children ul ul {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
        margin-top: 0;
    }

    .menu-mobile li.menu-item-has-children.open > ul, .menu-mobile li.menu-item-has-children.open > ul > li.menu-item-has-children.open > ul {
        max-height: 400px;
        visibility: visible;
        opacity: 1;
        margin-top: 10px;
        background: #fff;
    }

}