/*!
Theme Name: DiDominio Theme
Author: Jessica Croce
Description: WordPress Custom Theme
Version: 1.0
*/

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

:root {
    --primary: #EA5F18;
    --secondary: #283891;
    --tertiary: #5E6765;
    --white: #fff;
    --black: #081515;
    --text: #5E6765;
    --bg-1: #FFF5ED;
    --bg-2: #EBF7FF;
    --bg-3: #F5F5F5;
    --bg: #F5F5F5;

    --border-radius: 15px;

    --font-primary: "Playfair Display", serif;
    --font-secondary: "Outfit", sans-serif;

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

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

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

/* Contenitori */

.container { min-width: 1200px; }

.subcontainer { width: 100%;
    padding: 0 10%;
    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%; }

.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; }

.vh80 { height: 80vh; }

.vh100 { height: 100vh; }

.h100 { height: 100%; }

.h50 { height: 50%; }

/* Divisori */

.space-xs { padding: 5px; }

.space-sm { padding: 10px; }

.space-md, .space { padding: 20px; }

.space-lg { padding: 40px; }

.space-xl { padding: 60px; }

.space-xxl { padding: 80px; }

.padding-1 { padding: 10px; }

.padding-2 { padding: 20px; }

.padding-3 { padding: 30px; }

.padding-4 { padding: 40px; }

.padding-5 { padding: 50px; }

.padding-6 { padding: 60px; }

.padding-7 { padding: 70px; }

.py-xs { padding-top: 20px;
    padding-bottom: 20px; }

.py-sm { padding-top: 40px;
    padding-bottom: 40px; }

.py-md { padding-top: 60px;
    padding-bottom: 60px; }

.py-lg { padding-top: 80px;
    padding-bottom: 80px; }

.py-xl { padding-top: 100px;
    padding-bottom: 100px; }

.py-xxl { padding-top: 150px;
    padding-bottom: 150px; }

.px-xs {
    padding-right: 20px;
    padding-left: 20px;
}

.pb-xs { padding-bottom: 20px; }

.pb-sm { padding-bottom: 40px; }

.pb-md { padding-bottom: 60px; }

.pb-lg { padding-bottom: 80px; }

.pb-xl { padding-bottom: 100px; }

.pb-xxl { padding-bottom: 150px; }

.pt-xs { padding-top: 20px; }

.pt-sm { padding-top: 40px; }

.pt-md { padding-top: 60px; }

.pt-lg { padding-top: 80px; }

.pt-xl { padding-top: 100px; }

.pt-xxl { padding-top: 150px; }

/* Position */

.p-rel { position: relative; }

.p-abs { position: absolute; }

/* Other */

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

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

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

.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-xs { gap: 20px; }

.gap-sm { gap: 40px; }

.gap-md { gap: 60px; }

.gap-lg { gap: 80px; }

.gap-xl { gap: 100px; }

.gap-xxl { gap: 150px; }

/* Titoli e Paragrafi */

h1 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(2.1rem, 3.4vw, 3.6rem);
    line-height: clamp(2.1rem, 4.2vw, 4.2rem);
}

h2 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.8vw, 2.8rem);
    line-height: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(1.3rem, 2.6vw, 1rem);
    line-height: clamp(1.45rem, 3vw, 1rem);
}

h4 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(1rem, 1.5vw, 0.7rem);
}

h5 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(0.9rem, 1.4vw, 0.5rem);
}

p {
    color: var(--text);
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    line-height: clamp(1.5rem, 2vw, 0.5rem);
}

p.pre-title {
    font-weight: 500;
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    border-radius: 5px;
    width: max-content;
    padding: 5px 13px;
    margin-bottom: 5px;
}

p.pre-title-primary {
    color: var(--primary);
    background: #FFE3CC;
}

p.pre-title-secondary {
    color: var(--secondary);
    background: #C7E9FF;
}

p.pre-title-tertiary {
    color: var(--tertiary);
    background: #E6E6E6;
}

strong {
    font-weight: 700;
}

/* Colors */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.bg-page { background-color: #F6F6EC; }

/* 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 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    line-height: clamp(1.5rem, 2vw, 0.5rem);
    font-weight: 400;
    border-radius: 50px;
    padding: 15px 30px;
    position: relative;
    transition: all 0.3s;
    width: max-content;
    height: max-content;
}

.button-link {
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    line-height: clamp(1.5rem, 2vw, 0.5rem);
    color: var(--black);
    font-weight: 700;
}

.button i, .button-link i {
    font-size: 15px;
    margin-left: 5px;
    transition: all 0.3s;
}

.button:hover i, .button-link:hover i {
    transform: translateX(10px);
}

.button-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid transparent;
}

.button-primary i, .button-secondary i {
    color: var(--white);
}

.button-primary:hover {
    border: 1px solid var(--primary);
    background-color: var(--white);
    color: var(--primary)
}

.button-primary:hover i {
    color: var(--primary);
}

.button-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: 1px solid transparent;
}

.button-secondary:hover {
    border: 1px solid var(--secondary);
    background-color: transparent;
    color: var(--secondary)
}

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

.button-white {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

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

.button-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.button-white:hover i {
    color: var(--primary);
}

/*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;
    display: none;
    -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;
}
#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);
    top: 5px;
}

/* Overlay */

.overlay {
    top: 0;
    background: rgba(0,0,0,0.5);
    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.3); }

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

/* Header */

.mobile-menu {
    display: none;
}

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

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

.logged-in .main-tool-bar {
    top: 32px;
}

.menu-principale li a {
    transition: all 0.3s linear;
    color: var(--black);
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    line-height: clamp(1.5rem, 2vw, 0.5rem);
}

.home .menu-principale li a, .error404 .menu-principale li a, .page-template-thank-you .menu-principale li a {
    color: var(--white);
}

.home .main-tool-bar.sticky li a, .error404 .main-tool-bar.sticky li a, .page-template-thank-you .main-tool-bar.sticky li a {
    color: var(--black);
}

.menu-principale li {
    list-style: none;
    font-weight: 400;
    margin-right: 25px;
    height: 100%;
    align-items: center;
    display: flex;
}

.menu-principale li:last-child {
    margin-right: 0;
}

li.current-menu-item { position: relative; }

.home .main-tool-bar .logo, .error404 .main-tool-bar .logo, .page-template-thank-you .main-tool-bar .logo {
    transition: all 0.3s linear;
    filter: brightness(0) saturate(100%) invert(100%) sepia(94%) saturate(24%) hue-rotate(39deg) brightness(105%) contrast(106%);
}

.main-tool-bar.sticky .logo {
    filter: unset;
}

/* 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: 100px;
    transform: translateY(20px);
    background: var(--white);
    border-radius: var(--border-radius);
    left: 10%;
    right: 10%;
    color: var(--text);
}

.home .menu-principale .sub-menu a, .error404 .menu-principale .sub-menu a, .page-template-thank-you .menu-principale .sub-menu a { color: var(--text); }

.menu-principale .sub-menu h2 { color: var(--black); }

.mega-menu-list {
    grid-template-columns: 60px auto;
    gap: 8px;
    align-items: center; }

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

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

.desktop-menu #menu-item-47:hover .sub-menu {
    visibility: visible;
    transform: unset;
    opacity: 1;
}

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%;
    padding-bottom: 100%;
}

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

/* Animations */

/* Fade */
.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 */

.img-hover-container {
    height: 380px;
    overflow: hidden;
}

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

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

/* Elements */

/* Home */

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

.plus-container {
    display: grid;
    grid-template-columns: 60px auto;
    grid-gap: var(--space-xs);
}

.circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border: 15px solid var(--bg-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.circle-servizi {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 20px;
}

.circle-servizi.bg-primary i, .circle-servizi.bg-secondary i { color: var(--white); }

.service {
    position: relative;
}

.circle-button {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -10px;
    right: -10px;
}

.circle-button i {
    font-size: 14px;
    transition: all 0.1s linear;
    }

.service:hover .circle-button i {
    transform: rotate(-45deg);
}

.circle-button-primary {
    border: 15px solid #FFF5ED;
    color: var(--primary);
}

.circle-button-secondary {
    border: 15px solid #EBF7FF;
    color: var(--secondary);
}

.circle-button-tertiary {
    border: 15px solid #F5F5F5;
    color: var(--tertiary);
}

.blog-box img {
    max-height: 400px;
    aspect-ratio: 16/9;
}

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

/* CTA Buttons */

.buttons-cta {
    background: var(--primary);
    color: var(--white);
    display: inline-block;
    padding: 5px 13px;
    border-radius: 5px 5px 0 0;
    position: fixed;
    top: 50vh;
    right: 0;
    text-align: center;
    text-decoration: none;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform-origin: bottom right;
    z-index: 1000;
    transition: background 0.2s linear;
}

.buttons-cta:hover {
    background: var(--secondary);
}

/* End CTA Buttons */

/* Footer */

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    background: var(--primary);
    transition: all 0.2s linear;
}

footer a {
    font-size: clamp(0.875rem, 1.4vw, 0.2rem);
    color: var(--text);
}

.privacy-link {
    font-size: clamp(0.875rem, 1.4vw, 0.2rem);
    color: var(--white);
}

.services-list li {
    list-style: none;
    margin-bottom: 10px;
}

.services-list li a:hover, .contact-info a:hover { color: var(--primary); }

.services-list li:nth-last-child { margin-bottom: 0; }

.contact-info a { transition: all 0.2s linear; }

.contact-info i { margin-right: 5px;
    color: var(--primary); }

.copyright {
    padding-top: 10px;
    padding-bottom: 10px;
    }

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

/* Servizi */

.content-img {
    min-height: 500px;
}

.content-list li {
    font-size: clamp(0.875rem, 1.4vw, 0.2rem);
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    }

.content-list li i {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    font-size: 12px;
    color: var(--white);
    border-radius: 50%; }

.content-highlight {
    border-left: 5px solid var(--primary);
    background: var(--bg);
    padding: 20px;
}

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

/* Accordion */

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

.accordion-heading { color: var(--black);
    padding: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
    border-radius: var(--border-radius);
}

.accordion-heading.active { transition: all 0.2s ease-in-out; }

.accordion-heading i {
    transform: rotate(0);
    transform-origin: center;
    transition: all 0.5s;
}

.arrow {
    min-width: 40px;
    min-height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
}

.icon-servizi i {
    font-size: 20px;
}

.active.accordion-heading i.arrow {
    transform: rotate(-180deg);
    transform-origin: center;
}
.not-active.accordion-heading i {
    transform: rotate(0deg);
    transform-origin: center;
}
.accordion-content { display: none;
    padding: 0 15px 20px calc(55px + var(--space-sm));
    color: var(--text);
    background: transparent;
}

/* Blog e Single */

.categories {
    margin: 0 auto var(--space-sm);
}

.categories li {
    list-style: none;
}

.categories a {
    display: inline-flex;
    color: var(--primary);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.7vw, 0.4rem);
    background: var(--bg-1);
    width: max-content;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.2s linear;
    border-radius: 5px;
}

.categories li:hover a,
.categories li.active a {
    background: transparent;
    border: 1px solid var(--primary);
}

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

.nav-links {
    display: flex;
}

.pagination a,
.pagination span {
    color: var(--black);
    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;
}

.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 ul li {
    list-style: inside;
    color: var(--text);
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    line-height: clamp(1.5rem, 2vw, 0.5rem);
}

.gutenberg_content img {
    max-width: 100%;
    min-width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.gutenberg_content .wp-block-button__link {
    font-size: clamp(0.875rem, 1.4vw, 0.2rem);
    text-transform: uppercase;
    display: table;
    align-items: center;
    transition: all 0.4s ease;
    color: var(--white);
    padding: 10px 25px;
    position: relative;
    width: max-content;
    background: var(--primary);
    border-radius: var(--border-radius);
}

.gutenberg_content .wp-block-button__link:hover {
    background: var(--white);
    color: var(--primary);
}

.gutenberg_content p a { color: var(--primary); }

/* Img Hover */

.img-hover-container {
    height: 380px;
    overflow: hidden;
}

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

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

/* Form */

.form {
    padding: 30px;
    box-shadow: 0 2px 48px rgba(0,0,0,0.09);
}

.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 select {
    width: calc(50% - 10px);
    background: #F5F5F3;
    padding: 15px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: clamp(0.875rem, 1.4vw, 0.2rem);
    transition: all 0.2s linear;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.form input[type='text'].provincia { width: 100%; }

.form select { width: 100%; }

.form textarea {
    width: 100%;
    resize: none;
    height: 200px;
    background: #F5F5F3;
    padding: 15px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: clamp(0.875rem, 1.4vw, 0.2rem);
    transition: all 0.2s linear;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

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

.wpcf7-checkbox {
    width: 100%;
}

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

.form input[type='submit'] {
    margin: 20px 0 0;
    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    width: max-content;
    transition: all 0.4s ease;
    cursor: pointer;
    font-size: clamp(0.875rem, 1.5vw, 0.2rem);
    line-height: clamp(1.5rem, 2vw, 0.5rem);
    font-weight: 400;
    border-radius: 50px;
    padding: 15px 30px;
}

.form input[type='submit']:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Breadcrumbs */

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

.rank-math-breadcrumb a {
    color: var(--primary);
}

.rank-math-breadcrumb a:hover { text-decoration: underline; }

/* Footer */



/* Popup e Search */

.search-btn {
    background: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.black-popup {
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin: 0 auto;
    padding: 50px;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.black-popup .mfp-close, .start-popup .mfp-close { color: white !important; }

.black-popup .mfp-close { font-size: 22px; }

.black-popup .search-field { background: transparent;
    border: unset;
    color: white;
    font-size: 18px; }

.black-popup .search-field:focus {
    outline: none;
}

.black-popup form { border: 1px solid rgba(255,255,255,0.3);
    padding: 20px;
    display: flex; }

.black-popup button { font-size: 15px;
    background: transparent;
    border: unset;
    color: #fff; }

.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/* End Popup */

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

    .container { min-width: 768px; }

    .subcontainer { width: 100%;
        padding-left: 10%;
        padding-right: 10%; }

    .space-xs { padding: 4px; }

    .space-sm { padding: 7px; }

    .space-md, .space { padding: 10px; }

    .space-lg { padding: 30px; }

    .space-xl { padding: 40px; }

    .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%; }

    .wht100 { width: 100%; }

    .vht70 { min-height: 70vh; }

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

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

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

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

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

    .gap-xs { gap: 15px; }

    .gap-sm { gap: 30px; }

    .gap-md { gap: 40px; }

    .gap-lg { gap: 60px; }

    .gap-xl { gap: 80px; }

    .py-xs { padding: 15px 0; }

    .py-sm { padding: 30px 0; }

    .py-md { padding-top: 45px;
        padding-bottom: 45px; }

    .py-lg { padding: 60px 0; }

    .py-xl { padding: 80px 0; }

    .py-xxl { padding: 100px 0; }

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

}

/* Responsive Mobile */

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

    .container { min-width: 319px; }

    .subcontainer { width: 100%;
        padding-left: 10%;
        padding-right: 10%;
        }

    .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; }

    .space-xs { padding: 3px; }

    .space-sm { padding: 8px; }

    .space-md, .space { padding: 11px; }

    .space-lg { padding: 25px; }

    .space-xl { padding: 45px; }

    .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; }

    .h-sm { height: unset; }

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

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

    .gap-xs { gap: 10px; }

    .gap-sm { gap: 20px; }

    .gap-md { gap: 25px; }

    .gap-lg { gap: 40px; }

    .gap-xl { gap: 60px; }

    .py-xs { padding: 10px 0; }

    .py-sm { padding: 20px 0; }

    .py-md { padding-top: 30px;
        padding-bottom: 30px; }

    .py-lg { padding: 40px 0; }

    .py-xl { padding: 60px 0; }

    .py-xxl { padding: 80px 0; }

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

    .black-popup { width: 100%;
        padding: 40px; }

    .accordion-content { display: none;
        padding: 0 15px 20px 15px;
    }

}

@media (max-width: 1100px) {

    /* Mobile Menu */

    .desktop-menu { display: none; }

    .main-tool-bar {
        justify-content: flex-start;
        padding: 0 10%;
        top: 0;
        background: rgba(255,255,255,0.9);
    }

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

    .burger-menu-container {
        position: fixed;
        top: 40px;
        right: 10%;
        z-index: 1000;
        transition: all 0.2s linear;
    }

    .logged-in .burger-menu-container { top: 76px;
        transition: all 0.2s linear; }

    header.sticky .burger-menu-container {
        top: 35px;
    }

    .logged-in header.sticky .burger-menu-container { top: 70px; }

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

    .burger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        transition: transform 0.3s, opacity 0.3s;
    }

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

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

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

    /* Menu laterale */
    .side-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 999;
        transition: right 0.4s ease;
        padding-top: 120px;
        overflow-y: auto;
        padding-left: 10%;
        padding-right: 10%;
    }

    .side-menu.open {
        right: 0;
    }

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

    .menu-mobile li {
        padding: 10px;
    }

    .menu-mobile li a {
        text-decoration: none;
        color: var(--black);
        font-size: clamp(0.875rem, 1.5vw, 0.2rem);
        line-height: clamp(1.5rem, 2vw, 0.5rem);
        display: block;
    }

    /* Submenu Mobile */

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

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

    .menu-mobile li.menu-item-has-children.open ul {
        max-height: 500px;
        visibility: visible;
        opacity: 1;
        margin-top: 10px;
        background: var(--bg-1);
        border-radius: var(--border-radius);
    }

    .menu-mobile li.current-menu-item::after, header.sticky li.current-menu-item::after {
        top: 40px;
    }

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

    .plus-container {
        grid-template-columns: 1fr;
    }

}