footer,
header.header-mobile {
    background-color: #4E6032 !important;
}

html {
    scroll-behavior: smooth;
}

header.smaller {
    background-color: #4E6032 !important;
}

body {
    background-color: #ECE5D4;
}

#mainmenu li.mobile-menu-contact {
    display: none;
}

header.header-mobile #mainmenu li.mobile-menu-contact {
    display: block;
}

/*
 * Varianti overlay foto. Aggiungere una delle classi al body per confrontarle:
 * photo-overlay-gradient-{white|gray|black|camel}
 * photo-overlay-solid-{white|gray|black|camel}
 */
body.photo-overlay-gradient-white,
body.photo-overlay-solid-white {
    --photo-overlay-rgb: 255, 255, 255;
}

body.photo-overlay-gradient-gray,
body.photo-overlay-solid-gray {
    --photo-overlay-rgb: 128, 128, 128;
}

body.photo-overlay-gradient-black,
body.photo-overlay-solid-black {
    --photo-overlay-rgb: 0, 0, 0;
}

body.photo-overlay-gradient-camel,
body.photo-overlay-solid-camel {
    --photo-overlay-rgb: 196, 168, 130;
}

body[class*="photo-overlay-gradient-"] .gradient-edge-top {
    background: linear-gradient(180deg, rgba(var(--photo-overlay-rgb), 1) 0%, rgba(var(--photo-overlay-rgb), 0) 100%);
}

body[class*="photo-overlay-gradient-"] .gradient-edge-bottom,
body[class*="photo-overlay-gradient-"] .sw-overlay {
    background: linear-gradient(0deg, rgba(var(--photo-overlay-rgb), 1) 0%, rgba(var(--photo-overlay-rgb), 0) 100%);
}

body[class*="photo-overlay-solid-"] .gradient-edge-top,
body[class*="photo-overlay-solid-"] .gradient-edge-bottom,
body[class*="photo-overlay-solid-"] .sw-overlay {
    height: 100% !important;
    background: rgba(var(--photo-overlay-rgb), .45);
}

.card-immobile {
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-immobile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-immobile .card-img-top {
    transition: transform 0.3s ease;
}

.card-immobile:hover .card-img-top {
    transform: scale(1.05);
}

.price-immobile {
    color: #4E6032 !important;
}

.more-details_immobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    min-width: 102px;
    height: 34px;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: #4E6032 !important;
    color: #ECE5D4 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.more-details_immobile:hover,
.more-details_immobile:focus,
.more-details_immobile:active {
    width: auto;
    min-width: 102px;
    height: 34px;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: #3d4c28 !important;
    color: #ECE5D4 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

.property-card-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 11px;
    border-radius: 999px;
    color: #4E6032;
    background: rgba(78, 96, 50, .12);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.property-card-type-on-dark {
    color: #fff;
    background: rgba(78, 96, 50, .92);
}

.property-card-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    color: #4E6032;
    font-weight: 600;
}

.property-card-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
}

.property-card-features span:nth-child(1) {
    justify-self: start;
}

.property-card-features span:nth-child(2) {
    justify-self: center;
}

.property-card-features span:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: start;
    white-space: normal;
}

.property-card-features i {
    color: #4E6032;
}

.property-category-link,
.property-category-link:hover {
    color: inherit;
    text-decoration: none;
}

.btn-consultation-green {
    border-color: #4E6032 !important;
    color: #fff !important;
    background-color: #4E6032 !important;
}

.btn-consultation-green:hover {
    border-color: #3d4c28 !important;
    color: #fff !important;
    background-color: #3d4c28 !important;
}

.sw-overlay {
    background: linear-gradient(0deg, rgba(196, 168, 130, 0.8) 0%, rgba(196, 168, 130, 0.8) 50%);
}

.gradient-edge-top {
    background: none;
}

.gradient-edge-bottom {
    background: linear-gradient(0deg, rgba(196, 168, 130, 0.8) 0%, rgba(196, 168, 130, 0) 100%);
}

.bg-green {
    background-color: #4E6032 !important;
}

.text-white {
    color: #fff !important;
}

.bg-brown {
    background-color: #C4A882 !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-brown-light {
    background-color: #ECE5D4 !important;
}

.bg-contact-sand {
    background-color: #DBCCB3 !important;
}

.contact-info-icon {
    flex: 0 0 28px;
    width: 28px;
    font-size: 28px;
    line-height: 1.1;
    text-align: center;
}

.home-reviews-section {
    padding: 100px 0;
    color: #2b2a28;
}

.home-reviews-section h2 {
    color: #2b2a28;
}

.home-reviews-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #4E6032;
}

.home-reviews-score {
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
}

.home-reviews-stars,
.home-review-card-stars {
    color: #C4A882;
    letter-spacing: 0;
}

.home-reviews-rating a {
    color: #4E6032;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-reviews-scroll {
    display: flex;
    gap: 22px;
    margin-top: 44px;
    padding: 4px 0 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: #C4A882 rgba(78, 96, 50, .12);
}

.home-reviews-scroll::-webkit-scrollbar {
    height: 8px;
}

.home-reviews-scroll::-webkit-scrollbar-track {
    background: rgba(78, 96, 50, .12);
}

.home-reviews-scroll::-webkit-scrollbar-thumb {
    background: #C4A882;
}

.home-review-card {
    display: flex;
    flex: 0 0 min(380px, 86vw);
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    padding: 34px;
    border: 1px solid rgba(78, 96, 50, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(43, 42, 40, .08);
    scroll-snap-align: start;
}

.home-review-card p {
    margin: 18px 0 12px;
    color: #3f3d38;
    font-size: 16px;
    line-height: 1.55;
}

.home-review-full {
    display: none;
}

.home-review-card.is-expanded .home-review-excerpt {
    display: none;
}

.home-review-card.is-expanded .home-review-full {
    display: inline;
}

.home-review-toggle {
    width: fit-content;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    color: #4E6032;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-review-card-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #4E6032;
}

.home-review-card-footer span {
    color: #777066;
    font-size: 14px;
}

.home-partners-section {
    padding: 90px 0;
}

.home-partners-section h2 {
    color: #2b2a28;
}

.home-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 35px;
    margin-top: 42px;
}

.home-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 24px;
    border: 1px solid rgba(78, 96, 50, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(43, 42, 40, .06);
}

.home-partner-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.text-green {
    color: #4E6032 !important;
}

.we-800 {
    font-weight: 800 !important;
}

.property-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.property-lightbox-trigger img {
    display: block;
}

/* Keeps each property-gallery slide the same size and crops portrait photos. */
.property-gallery-frame {
    height: 500px;
    overflow: hidden;
    background: #d8cbb4;
}

.property-gallery-frame .property-lightbox-trigger,
.property-gallery-frame > img,
.property-gallery-frame .property-lightbox-trigger img {
    width: 100%;
    height: 100%;
}

.property-gallery-frame .property-lightbox-trigger img,
.property-gallery-frame > img {
    object-fit: cover;
    object-position: center;
}

.property-page-menu {
    position: fixed;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 1000;
    padding: 0 16px;
    background: transparent;
    pointer-events: none;
}

.property-page-menu-inner {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(78, 96, 50, .58), rgba(196, 168, 130, .34));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .34);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    scrollbar-width: none;
    pointer-events: auto;
}

.property-page-menu-inner::-webkit-scrollbar {
    display: none;
}

.property-page-menu-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: 21px;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.property-page-menu-inner a:hover,
.property-page-menu-inner a.is-active {
    color: #4E6032;
    background: #ECE5D4;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.property-page-menu-inner a.is-active {
    transform: translateY(-4px);
}

#dettagli-immobile,
#foto-immobile,
#mappa-immobile,
#planimetrie-immobile,
#prenota-appuntamento {
    scroll-margin-top: 90px;
}

.property-map {
    overflow: hidden;
    min-height: 420px;
    border-radius: 28px;
    background: #d8cbb4;
}

.property-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(20%) sepia(8%);
}

.property-floorplan-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.property-appointment-form {
    padding: 48px;
    border-radius: 32px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.property-details-section {
    background: #f7f4ee;
}

.property-details-panel {
    padding: 34px 0 22px;
}

.property-description-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.property-description-heading .subtitle {
    margin-bottom: 20px;
}

.property-description-price {
    margin-bottom: 20px;
    color: #4e6032;
    font-family: var(--heading-font);
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: var(--heading-font-weight);
    line-height: 1;
    white-space: nowrap;
    text-align: right;
}

.property-description-text {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 300;
    text-align: justify;
}

.property-energy-scale {
    margin: 12px 0 4px;
    padding: 22px;
    border: 1px solid rgba(78, 96, 50, .12);
    border-radius: 8px;
    background: #fff;
}

.property-energy-scale-heading,
.property-energy-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.property-energy-scale-heading span {
    color: #777066;
    font-size: 14px;
}

.property-energy-scale-heading strong {
    color: #2b2a28;
    font-size: 18px;
}

.property-energy-track-wrap {
    position: relative;
    margin-top: 46px;
}

.property-energy-track {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 6px;
}

.property-energy-segment {
    padding: 10px 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.property-energy-segment.is-current {
    box-shadow: inset 0 0 0 3px #2b2a28;
}

.property-energy-a4 {
    background: #16834b;
}

.property-energy-a3 {
    background: #2b9950;
}

.property-energy-a2 {
    background: #50aa4c;
}

.property-energy-a1 {
    background: #78b83f;
}

.property-energy-b {
    background: #a8c532;
}

.property-energy-c {
    background: #d4cf2d;
}

.property-energy-d {
    background: #edbb2c;
}

.property-energy-e {
    background: #ed8d2c;
}

.property-energy-f {
    background: #dc542f;
}

.property-energy-g {
    background: #b72f35;
}

.property-energy-marker {
    position: absolute;
    bottom: calc(100% + 8px);
    z-index: 1;
    transform: translateX(-50%);
}

.property-energy-marker span {
    display: block;
    min-width: 38px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #2b2a28;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.property-energy-marker::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 7px solid #2b2a28;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: '';
    transform: translateX(-50%);
}

.property-energy-caption {
    margin-top: 7px;
    color: #777066;
    font-size: 11px;
}

.property-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.property-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(78, 96, 50, .12);
    border-radius: 8px;
    background: #fff;
}

.property-highlight-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: #4E6032;
    font-size: 19px;
    line-height: 1;
}

.property-highlight-item span,
.property-highlight-item strong {
    display: block;
}

.property-highlight-item span {
    color: #777066;
    font-size: 13px;
    line-height: 1.2;
}

.property-highlight-item strong {
    margin-top: 4px;
    color: #2b2a28;
    font-size: 16px;
    line-height: 1.25;
}

.property-details-panel h2 {
    margin-bottom: 22px;
    color: #2b2a28;
    font-size: 26px;
}

.property-details-list {
    margin: 0;
}

.property-details-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, .9fr);
    gap: 28px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(78, 96, 50, .12);
}

.property-details-row:last-child {
    border-bottom: 0;
}

.property-details-row dt,
.property-details-row dd {
    margin: 0;
    color: #6f6c66;
    font-size: 18px;
    line-height: 1.35;
}

.property-details-row dt {
    font-weight: 700;
}

.property-details-row dd {
    color: #484640;
    font-weight: 500;
}

.property-energy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 8px;
    color: #fff;
    background: #777066;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.property-energy-badge.property-energy-a4 {
    background: #16834b;
}

.property-energy-badge.property-energy-a3 {
    background: #2b9950;
}

.property-energy-badge.property-energy-a2 {
    background: #50aa4c;
}

.property-energy-badge.property-energy-a1 {
    background: #78b83f;
}

.property-energy-badge.property-energy-b {
    background: #a8c532;
}

.property-energy-badge.property-energy-c {
    background: #d4cf2d;
}

.property-energy-badge.property-energy-d {
    background: #edbb2c;
}

.property-energy-badge.property-energy-e {
    background: #ed8d2c;
}

.property-energy-badge.property-energy-f {
    background: #dc542f;
}

.property-energy-badge.property-energy-g {
    background: #b72f35;
}

.property-referent {
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.property-referent-role {
    margin-bottom: 5px;
    color: #4e6032;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.property-referent-bio {
    max-width: 720px;
    margin: 0 0 18px;
}

.property-referent-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.property-referent-contacts a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    color: #4e6032;
    font-weight: 700;
}

.property-referent-contact-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 12px;
    border-radius: 50%;
    color: #fff;
    background: #4e6032;
    font-size: 18px;
}

.property-referent-contact-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.property-referent-contact-copy small,
.property-referent-contact-copy strong {
    display: block;
}

.property-referent-contact-copy small {
    margin-bottom: 1px;
    color: #777066;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.property-appointment-agent-image {
    display: block;
    width: 180px;
    max-width: 100%;
    aspect-ratio: 1;
    margin-bottom: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.property-appointment-title {
    font-size: 38px;
    line-height: 1.15;
}

.property-appointment-form .form-control {
    border-color: rgba(78, 96, 50, .16);
    background-color: #fff;
}

.property-appointment-form textarea {
    resize: vertical;
}

.property-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 70px 90px;
    background: rgba(0, 0, 0, .88);
}

.property-lightbox.is-open {
    display: flex;
}

.property-lightbox-open {
    overflow: hidden;
}

.property-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.property-lightbox-close,
.property-lightbox-nav {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(196, 168, 130, .88);
    line-height: 1;
}

.property-lightbox-close {
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 34px;
}

.property-lightbox-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 46px;
    transform: translateY(-50%);
}

.property-lightbox-prev {
    left: 24px;
}

.property-lightbox-next {
    right: 24px;
}

.header-text {
    margin-left: -5px !important;
}

#section-hero h3 {
    font-size: 23px;
    line-height: 28px;
}

.page-hero .sw-overlay {
    opacity: 1;
    background: linear-gradient(0deg, rgba(196, 168, 130, .72) 0%, rgba(196, 168, 130, .05) 100%);
}

.home-hero {
    overflow: hidden;
}

.home-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 767px) {

    #section-hero .jarallax-img {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }

    .header-text {
        margin-left: 0px !important;
    }

    .property-page-menu {
        bottom: calc(8px + env(safe-area-inset-bottom));
        height: auto;
        padding: 0 10px;
    }

    .property-page-menu-inner {
        width: 100%;
        max-width: none;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 10px;
    }

    .property-page-menu-inner a {
        width: auto;
        min-width: 44px;
        flex: 1 1 0;
        height: 44px;
        font-size: 20px;
    }

    #dettagli-immobile,
    #foto-immobile,
    #mappa-immobile,
    #planimetrie-immobile,
    #prenota-appuntamento {
        scroll-margin-top: 80px;
    }

    .property-lightbox {
        padding: 70px 20px;
    }

    .property-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 36px;
    }

    .property-lightbox-prev {
        left: 10px;
    }

    .property-lightbox-next {
        right: 10px;
    }

    .property-map,
    .property-map iframe {
        min-height: 320px;
        height: 320px;
    }

    .property-details-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }

    .property-details-row dt,
    .property-details-row dd {
        font-size: 16px;
    }

    .property-description-heading {
        gap: 12px;
    }

    .property-description-price {
        font-size: clamp(20px, 6vw, 30px);
    }

    .property-description-text {
        line-height: 23px;
    }

    .property-energy-scale {
        padding: 16px;
    }

    .property-energy-scale-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .property-energy-segment {
        padding: 9px 0;
        font-size: 10px;
    }

    .property-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-highlight-item {
        padding: 14px;
    }

    .property-highlight-item i {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .home-partners-section {
        margin-top: -60px;
        padding: 30px 0 70px;
    }

    .home-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .home-partner-logo {
        padding: 18px;
    }

    .home-partner-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .property-appointment-form {
        padding: 28px;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .property-gallery-frame {
        height: 320px;
    }

    .property-highlights {
        grid-template-columns: 1fr;
    }

    .home-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.bg-card-immobile {
    background-color: #c4a88269 !important;
}

.gradient-edge-left {
    background: none;
}

.rounded-cavour {
    border-radius: 25px !important;
}

/* ONLY MOBILE */

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

.recaptcha-notice {
    max-width: 100%;
    margin: 8px 0 0;
    color: #777066;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.recaptcha-notice a {
    white-space: normal;
}

.privacy-form-link {
    color: #4e6032;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-form-link:hover,
.privacy-form-link:focus {
    color: #2f3b1e;
}

.privacy-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #4e6032;
    cursor: pointer;
}

.privacy-consent {
    width: 100%;
    max-width: 100%;
}

.privacy-consent span {
    min-width: 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.privacy-consent a {
    white-space: normal;
}

.async-form-status {
    display: none;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.async-form-status.is-success,
.async-form-status.is-error {
    display: block;
}

.async-form-status.is-success {
    color: #2f3b1e;
    background: rgba(78, 96, 50, .14);
}

.async-form-status.is-error {
    color: #842029;
    background: #f8d7da;
}

.async-form-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: async-form-spin .7s linear infinite;
}

@keyframes async-form-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .no-mobile {
        display: none !important;
    }
}

@media (max-width: 575px) {

    /* cambio immagine se mobile */
    #img-header-chi-siamo {
        content: url("../header-chi-siamo-mobile.png") !important;
        object-position: 66% 50% !important;
        width: 447px !important;
        height: 623px !important;
        margin-top: 30px !important;
    }
}

@media (max-width: 429px) {

    #img-header-servizi {
        content: url("../header-servizi-mobile.png") !important;
        object-position: 66% 50% !important;
        width: 429px !important;
        height: 623px !important;
        margin-top: 10px !important;
    }

    #img-header-chi-siamo {
        content: url("../header-chi-siamo-mobile.png") !important;
        object-position: 66% 50% !important;
        width: 579px !important;
        height: 695px !important;
        margin-top: 30px !important;
    }
}

.instagram-feed {
    position: relative;
    z-index: 0;
    clear: both;
    overflow: hidden;
}

.instagram-feed-frame {
    position: relative;
    height: 640px;
    overflow: hidden;
}

.instagram-feed-frame>[class*="elfsight-app"],
.instagram-feed-frame [class*="eapps-instagram-feed"] {
    max-width: 100%;
}

footer {
    position: relative;
    z-index: 2;
    clear: both;
}

.mobile-contact-menu {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .home-hero {
        height: 100svh;
        min-height: 100svh;
    }

    .featured-properties-section {
        padding-bottom: 0;
    }

    .footer-terms-separator {
        display: none;
    }

    .footer-terms-link {
        display: block;
        margin-top: 4px;
    }

    .mobile-contact-menu {
        position: fixed;
        right: 0;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 0;
        z-index: 1100;
        display: block;
        height: auto;
        padding: 0 10px;
        background: transparent;
        pointer-events: none;
    }

    .mobile-contact-menu-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 220px;
        max-width: 100%;
        margin: 0 auto;
        padding: 6px 8px;
        border: 1px solid rgba(255, 255, 255, .38);
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(78, 96, 50, .58), rgba(196, 168, 130, .34));
        box-shadow: 0 18px 50px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .34);
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        pointer-events: auto;
    }

    .mobile-contact-menu a {
        display: flex;
        min-width: 0;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        color: #fff;
        background: rgba(255, 255, 255, .12);
        font-size: 21px;
        line-height: 1;
        text-decoration: none;
    }

    .mobile-contact-menu a:hover,
    .mobile-contact-menu a:focus,
    .mobile-contact-menu a.is-active {
        color: #4E6032;
        background: #ECE5D4;
    }
}

@media (max-width: 991px) {
    .instagram-feed-frame {
        height: 520px;
    }
}

@media (max-width: 767px) {
    .instagram-feed-frame {
        height: 720px;
    }
}

.btn-green {
    border-color: #4E6032 !important;
    color: #fff !important;
    background-color: #4E6032 !important;
}

/* Keep the team contact controls visible when hovered or keyboard-focused. */
.team-contact-icons a:hover i,
.team-contact-icons a:focus-visible i {
    color: #fff !important;
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-bg);
}

.services-tools-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 24px;
}

@media (min-width: 992px) and (max-width: 1199px) {

    .tablet-full-width-image .left-half,
    .tablet-full-width-image .right-half {
        position: relative;
        right: 50%;
        left: 50%;
        width: 100vw;
        max-width: 100vw;
        margin-left: -50vw;
        padding: 0;
    }
}

@media (max-width: 767px) {
    .services-tools-list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}
