body {
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-family: 'Montserrat', sans-serif;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0 !important;
}

.container-lg {
    max-width: calc(100% - 55px);
}

.container {
    max-width: 1280px;
}

button {
    border: none !important;
}

@media screen and (min-width: 1536px) {
    .container {
        max-width: 1280px !important;
    }
}

/* ─── HEADER ─────────────────────────────────────────── */

header {
    background: linear-gradient(180deg, rgb(0 0 0 / 30%) 0%, rgba(0, 0, 0, 0) 100%);
}

.site-header {
    background: transparent;
    padding-block: 15px;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

.site-header.scrolled {
    background: #76653aa3;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-header .header-logo img {
    width: auto;
    object-fit: contain;
}

/* Nav links */
#primary-menu,
#mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu li a,
#mobile-menu-list li a {
    color: white;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
}

#primary-menu li a:hover,
#mobile-menu-list li a:hover {
    color: #A58B4A;
}

/* CTA button */
.cotizar-btn {
    background-color: #A58B4A;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.cotizar-btn:hover {
    background-color: #8c7438;
    transform: translateY(-1px);
}

/* ─── HAMBURGER → X ──────────────────────────────────── */
#menuToggle {
    position: relative;
    cursor: pointer;
}

#menuToggle .ham-line {
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.25s ease;
}

/* Open state: top line rotates to \  middle fades, bottom rotates to / */
#menuToggle.is-open .ham-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#menuToggle.is-open .ham-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menuToggle.is-open .ham-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU SLIDE-FADE ──────────────────────────── */
.menu-open {
    overflow: hidden;
}

.mobile-menu {
    background: rgb(47 48 35);
    border-top: none;
    padding-top: 40px;
    height: calc(100dvh - 70px);
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

#mobile-menu-list li {
    padding-bottom: 25px;
}

.form-zorro .row+.row {
    margin-top: 20px;
}

.form-zorro label {
    color: #A58B4A;
}

.form-zorro input[type="text"],
.form-zorro input[type="email"],
.form-zorro input[type="tel"],
.form-zorro input[type="number"] {
    background: #DFDED1;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    height: 50px;
    width: 100%;
    padding-inline: 15px;
    margin-top: 10px;
}

.form-zorro input::placeholder,
.form-zorro textarea::placeholder {
    color: #828282;
    font-size: 15px;
}

.form-zorro textarea {
    background: #DFDED1;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 100%;
    padding: 15px;
    margin-top: 10px;
}

.form-zorro input[type="submit"] {
    width: 100%;
    border-radius: 6px;
    background: #A58B4A;
    height: 50px;
    border: none;
    color: white;
    transition: background 0.2s ease
}

.form-zorro input[type="submit"]:hover {
    background: #796531;
}

footer {
    padding-block: 64px 20px;
    background-color: #000000;
}

footer a,
footer a:visited {
    color: white;
    transition: color 0.25s ease;
}

footer a:hover {
    color: #A58B4A !important;
}

footer #menu-mnu-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.single-tipologia header {
    background: #2E3022;
    position: relative !important;
}

.single-tipologia .banner {
    border-top: 20px solid #AA8A3D;
}

.single-tipologia .banner::before {
    content: '';
    height: 20px;
    width: 40%;
    background-color: #EA6609;
    position: absolute;
    top: -20px;
    left: 0;
}

.plantas {
    background: #dfddd0;
}

.plantas h2 {
    color: #A58B4A;
}

.infos-tabs h3,
.infos-tabs h2 {
    color: #A58B4A;
    text-transform: uppercase;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}

.infos-tabs p {
    color: #000;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
    line-height: normal;
}

.tab-content .divisor {
    position: relative;
}

.tab-content .divisor .line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 340px;
    background-color: #A58B4A;
}

.tab-content .tab-btn,
.tab-content .tab-btn.active {
    border: 3px solid #A58B4A !important;
    background-color: transparent !important;
    color: #000000 !important;
}

.btn-quote {
    transition: all 0.2s ease;
}

.btn-quote:hover {
    background: #7b6837;
}

@media (max-width: 767px) {

    .container-lg {
        max-width: calc(100%);
    }

    .map-scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(165, 139, 74, 0.4) transparent;
    }

    .map-svg-wrapper {
        width: 1350px;
    }

    .map-svg-wrapper svg {
        width: 1350px !important;
    }

    .map-scroll-container::-webkit-scrollbar {
        height: 4px;
    }

    .map-scroll-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .map-scroll-container::-webkit-scrollbar-thumb {
        background: rgba(165, 139, 74, 0.5);
        border-radius: 2px;
    }

    .site-header {
        background: #2E3022;
        padding-block: 15px;
        position: relative !important;
    }

    .tab-content .divisor {
        position: relative;
        width: 100%;
    }

    .tab-content .divisor .line {
        position: absolute;
        top: inherit;
        left: 0;
        transform: translate(0%, 0%);
        width: 100%;
        height: 2px;
        background-color: #A58B4A;
        display: block;
    }

    .form-zorro .row>div[class*="col-"]+div[class*="col-"] {
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    .map-scroll-container {
        overflow-x: visible;
    }

    .map-svg-wrapper {
        width: 100%;
    }
}