body,
html {
    margin: 0;
    padding: 0;
}

.erbian-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background-color: transparent;
}

.erbian-nav.scrolled {
    background-color: rgba(26, 15, 0, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.erbian-nav.nav-fijo {
    background-color: rgba(26, 15, 0, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.erbian-nav-inner {
    height: 70px;
}

/* =============================================
   NAVBAR ERBIAN - Completo
   ============================================= */

.erbian-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background-color: transparent;
}

.erbian-nav.scrolled {
    background-color: rgba(26, 15, 0, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.erbian-nav.nav-fijo {
    background-color: rgba(26, 15, 0, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.erbian-nav-inner {
    height: 70px;
}

/* ===== LOGO ===== */
.erbian-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.erbian-logo img {
    
    object-fit: contain;
}

@media (max-width: 768px) {
    .erbian-logo img {
        height: 42px;
    }
}

/* ===== LINKS DESKTOP ===== */
.erbian-nav-link {
    color: rgba(245, 242, 235, 0.85) !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 6px 14px;
    border-radius: 4px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.erbian-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 1px;
    background-color: #c9a96e;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.erbian-nav-link:hover {
    color: #c9a96e !important;
}

.erbian-nav-link:hover::after {
    transform: scaleX(1);
}

/* ===== WHATSAPP CTA ===== */
.erbian-nav-whatsapp {
    display: inline-flex;
    align-items: center;
    background-color: #2e7d32;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.erbian-nav-whatsapp:hover {
    background-color: #1b5e20;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ===== TELEFONO CTA ===== */
.erbian-nav-cta {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid #c9a96e;
    color: #c9a96e !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.erbian-nav-cta:hover {
    background-color: #c9a96e;
    color: #1a0f00 !important;
    transform: translateY(-1px);
}

/* ===== HAMBURGER ===== */
.erbian-hamburger {
    background: none;
    border: 1px solid rgba(201, 169, 110, 0.5);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: border-color 0.3s ease;
}

.erbian-hamburger:hover {
    border-color: #c9a96e;
}

.erbian-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #c9a96e;
    transition: all 0.3s ease;
}

.erbian-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.erbian-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.erbian-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MENÚ MÓVIL ===== */
.erbian-mobile-menu {
    display: none;
    background-color: rgba(26, 15, 0, 0.98);
    border-top: 1px solid #2e1f0e;
}

.erbian-mobile-menu.open {
    display: block;
}

.erbian-mobile-link {
    display: flex;
    align-items: center;
    color: rgba(245, 242, 235, 0.85) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid #2e1f0e;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.erbian-mobile-link:hover {
    color: #c9a96e !important;
    padding-left: 6px;
}

.erbian-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #c9a96e;
    color: #1a0f00 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.erbian-mobile-cta:hover {
    background-color: #b8955a;
    color: #1a0f00 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .erbian-nav-inner {
        height: 60px;
    }
}

.o_footer {
    display: none !important;
}
.footer-col-title {
    color: #c9a96e;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #2e1f0e;
}

.footer-nav-link {
    color: #b89a6a;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.footer-nav-link:hover {
    color: #c9a96e;
    padding-left: 4px;
}

.footer-link {
    color: #e8dcc8;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c9a96e;
}

.footer-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #2e1f0e;
    border: 1px solid #3d2a14;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(201, 169, 110, 0.12);
    border: 1px solid #c9a96e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e;
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #3d2a14;
    background-color: #2e1f0e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background-color: #c9a96e;
    border-color: #c9a96e;
    color: #1a0f00;
    transform: translateY(-3px);
}



.hero-wrap { position: relative; width: 100%; height: 100vh; min-height: 580px; overflow: hidden; font-family: 'Raleway', sans-serif; }
.carousel-track { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(0.77,0,0.175,1); }
.carousel-slide { flex: 0 0 100%; height: 100%; position: relative; }
.slide-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.15) 100%); }
.hero-content { position: absolute; inset: 0; }
.eyebrow { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #c9a96e; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content:''; display:block; width:24px; height:1px; background:#c9a96e; }
.hero-title { font-family: 'Playfair Display', serif; line-height: 1.12; color: #fff; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-title span { color: #c9a96e; }
.hero-sub { color: rgba(255,255,255,0.85); font-weight: 400; line-height: 1.65; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.tipo-tabs { border-bottom: 1px solid rgba(255,255,255,0.2); }
.tipo-tab { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.65); padding: 7px 14px 9px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.25s; font-weight: 600; white-space: nowrap; }
.tipo-tab.active { color: #c9a96e; border-bottom-color: #c9a96e; }
.op-btn { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; border-radius: 20px; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.75); background: transparent; cursor: pointer; transition: all 0.2s; font-family: 'Raleway', sans-serif; font-weight: 500; }
.op-btn.active { background: #c9a96e; border-color: #c9a96e; color: #1a0f00; font-weight: 700; }
.search-panel { background: rgba(0,0,0,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(201,169,110,0.3); border-radius: 14px; }
.field-label { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: #c9a96e; font-weight: 700; }
.field-input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: #fff; font-size: 12px; font-family: 'Raleway', sans-serif; outline: none; width: 100%; box-sizing: border-box; }
.field-input:focus { background: rgba(255,255,255,0.15); border-color: rgba(201,169,110,0.6); box-shadow: none; color: #fff; }
.field-input option { background: #1a1200; color: #fff; }
.price-input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: #fff; font-size: 11px; font-family: 'Raleway', sans-serif; outline: none; width: 100%; text-align: center; box-sizing: border-box; }
.price-input:focus { background: rgba(255,255,255,0.15); border-color: rgba(201,169,110,0.6); box-shadow: none; color: #fff; }
.search-btn { width: 44px; height: 44px; border-radius: 50%; background: #c9a96e; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, background 0.2s; flex-shrink: 0; }
.search-btn:hover { background: #e0bf80; transform: scale(1.07); }
.adv-link { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; font-weight: 600; }
.adv-link:hover { color: #c9a96e; }
.adv-link::after { content: ' →'; }
.carousel-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.3s; }
.dot.active { background: #c9a96e; width: 22px; border-radius: 3px; }
.slide-counter { font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.55); font-weight: 600; }



/* SEGUNDA SECCION CARDS PROPIEDADES CERCAD DE TI */

/* SEGUNDA SECCION CARDS PROPIEDADES CERCAD DE TI */

.property-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    /* recorta la imagen al borde redondeado */
    position: relative;
}

.property-card .property-img {
    /* quita border-radius de la imagen */
    object-fit: cover;
    width: 100%;
    height: 220px;

    transition: transform 0.6s ease-in-out;
    transform-origin: center center;
}

.property-card:hover .property-img {
    transform: scale(1.1);
}



.tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e9dcc2;
    color: #4e3e2f;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 10px;
}

.tag-bottom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #e9dcc2;
    color: #4e3e2f;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 10px;
}

.prop-cerca h1 {
    font-size: 64px;
    font-family: 'Luminary Serif', serif;
    /* margin-top: -90px;
    margin-right: 150px; */
}

.card-cerca h6,
small,
strong {
    color: #65411f;
}

/* misma seccion pero texto con imagen */

.bg-light-custom {
    background-color: #e7dfd7;
}

.image-container {
    position: relative;
    left: -80px;
    z-index: 2;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.img-modern {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

.text-emphasis {
    color: #5C4438;
    font-weight: 700;
}

.btn-modern {
    background-color: #61431e;
    color: #fff;
    /* border-radius: 8px; */
    /* font-weight: 500; */
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-modern:hover {
    background-color: #814f32;
    color: #fff;
    transform: translateY(-2px);
}

.ornament {
    width: 60px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .image-container {
        left: 0;
        margin-bottom: 2rem;
    }

    .ornament {
        margin: 0 auto;
        display: block;
    }

    .text-emphasis {
        font-size: 1.5rem;
    }
}

.letra-ornamento {
    color: #65411f;
}


/*SEPARADOR CAFE*/

.separador-cafe {
    background-color: #f7f7f7;
    /* color gris */
    
}



.sidebar {
    width: 660px;
    /* lo que quieras */
    min-width: 200px;
    /* opcional */
    max-width: 320px;
    /* opcional */
}

.filtro {
    background-color: #F6F5F2;
}

.form-check-label {
    cursor: pointer;
}

.btn-toggle-group button {
    /* border-radius: 6px; */
    padding: 6px 20px;
    font-weight: 600;
    color: #6b564d;
    border: 1px solid transparent;
    background: #d7cbbd;
}

.btn-toggle-group button.active {
    background: #a7936b;
    color: white;
}

.btn-toggle-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.form-select {
    border-color: #a7936b;
    background: #f5f2eb;
}

.input-group-text {
    /* background: #d7cbbd;
    border-color: #a7936b; */
    color: #6b564d;
}

.accordion-button {
    background: #f5f2eb;
    color: #6b564d;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #a7936b;
    color: white;
}

.checkbox-count {
    background: #a7936b;
    color: white;
    border-radius: 10px;
    font-size: 12px;
    padding: 0 6px;
    margin-left: 6px;
    font-weight: 600;
}

.btn-clear {
    margin-top: 20px;
    background: #c3b5af;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0;
    border: none;
}

.btn-search {
    margin-top: 20px;
    background: #6b564d;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0;
    border: none;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: #c5b7a0;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.toggle-switch::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.toggle-switch.active {
    background: #a7936b;
}

.toggle-switch.active::before {
    left: 22px;
}

#slider-precio .noUi-connect {
    background: #e74c3c;
}

#slider-precio .noUi-handle {
    border: 2px solid #e74c3c;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.input-group .form-control {
    max-width: 100px;
    /* ajusta al tamaño que quieras */
    font-size: 0.85rem;
    /* más pequeño */
    padding: 0.25rem 0.5rem;
    color: white;
}

.search-box .form-control,
.search-box .input-group-text {
    background-color: #1d1815;
    color: #fff;
    border: none;
    border-radius: 0;
    height: 40px;
    font-size: 14px;
}

.search-box .form-control::placeholder {
    color: #e0e0e0;
    /* placeholder más claro */
}

.search-box .botonFiltroSlider {
    background-color: #322b23;
    /* un tono más oscuro */
    color: #fff;
    border: none;
    height: 40px;
    font-size: 14px;
    border-radius: 4px 4px 4px 4px;
    /* esquinas redondeadas solo a la izquierda */
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1055 !important;
}

.btnmodalGuardar {
    background-color: #322b23 !important;
    /* color café */
    color: #fff !important;
    font-size: 0.8rem;
    /* tamaño de letra más pequeño */
    padding: 0.25rem 0.5rem;
    /* más compacto */
    border: none;
    border-radius: 4px;
}

.btnmodalGuardar:hover {
    background-color: #4e342e;
    /* tono más oscuro al pasar el mouse */
}

.btn-filtrohome {
    background-color: #d6a130 !important;
    /* café */
    color: white !important;
    border: none;
}

.btn-filtrohome:hover {
    background-color: #E4B700 !important;
    /* café más oscuro al pasar el mouse */
    color: white !important;
}

.btnVerMas {
    padding: 6px 6px;
    color: #f2f0ee !important;
    border: 1px solid transparent;
    background: #614B3C !important;
}

.btnBuscarFiltro {
    color: #f2f0ee !important;

    background: #614B3C !important;
}

.img-container {
    width: 100%;
    display: block;
    /* o flex si quieres centrar */
    overflow: hidden;
    /* por si acaso */
}

.property-img {
    width: 100%;
    height: 220px; /* todas igual */
    /*  deja que la imagen defina el alto */
    object-fit: cover;
    /* recorta si la imagen es muy grande */
    border-radius: 8px;
    display: block;
}

.tituloInfoWindow {
    background-color: #E4DFD7;
    width: 100%;
    display: block;
}

#map {
    width: 100%;
    height: 50vh;
    min-height: 350px;
}

/* .gm-style-iw {
    top: 0 !important;
}*/

/* .gm-style-iw-d {
    padding-top: 0 !important;
} */

/* .gm-ui-hover-effect {
    display: none !important;
} */

/* .gm-ui-hover-effect img {
    display: none !important;
} */

.gm-ui-hover-effect {

    top: 0px !important;      /* distancia desde arriba */
    right: 4px !important;    /* distancia desde la derecha */
}

/* .gm-ui-hover-effect img {
    width: 100% !important;
    height: 100% !important;
} */


.mySwiperResiVenta .swiper-pagination-bullet {
    background-color: #a0875a;
    opacity: 0.4;
}

/* Punto activo */
.mySwiperResiVenta .swiper-pagination-bullet-active {
    background-color: #322b23;
    opacity: 1;
}

.search-box-modern {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.input-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
}

.input-modern i {
    color: #c9a96e;
}

.price-box {
    background: #fff;
    padding: 8px 10px;
    border-radius: 12px;
}

.price-box small {
    font-size: 0.7rem;
    color: #888;
}

.price-input {
    border: none;
    text-align: center;
    font-weight: 600;
    width: 100%;
    background: transparent;
}

.price-input:focus {
    outline: none;
}

.btn-search {
    background: #322b23;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-search:hover {
    background: #c9a96e;
    color: #322b23;
}

#mapaPropiedad {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#mapaPropiedad:hover {
    transform: scale(1.01);
    transition: 0.3s;
}

.mySwiperThumbs .swiper-slide-thumb-active img {
    border: 2px solid #c9a84c; /* dorado Erben */
    opacity: 1 !important;
}
.mySwiperThumbs .swiper-slide img {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.swiper-button-next,
.swiper-button-prev {
    color: #c9a84c;
}

.prop-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.prop-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.prop-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2d2318;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-card-address {
    font-size: 0.72rem;
    color: #aaa;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.73rem;
    color: #666;
}

.prop-features span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.prop-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0ebe0;
}

.prop-ver-mas {
    font-size: 0.75rem;
    color: #c9a96e;
    text-decoration: none;
    font-weight: 600;
    padding: 3px 10px;
    border: 1px solid #c9a96e;
    border-radius: 20px;
    transition: all 0.2s;
}

.prop-ver-mas:hover {
    background: #453730;
    color: #fff !important;
    border-color: #453730;
}

.swiper-pagination-card {
    bottom: 6px !important;
    z-index: 3;
}

.swiper-pagination-card .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 5px;
    height: 5px;
}

.swiper-pagination-card .swiper-pagination-bullet-active {
    opacity: 1;
    background: #c9a96e;
}

/* Color principal de la barra activa */
.irs--square .irs-bar {
    background-color: #c9a96e;
}

/* Handles (los cuadritos que se arrastran) */
.irs--square .irs-handle {
    border-color: #453730;
    background-color: #453730;
}

.irs--square .irs-handle:hover,
.irs--square .irs-handle.state_hover {
    background-color: #c9a96e;
    border-color: #c9a96e;
}

/* Valores seleccionados (from / to) */
.irs--square .irs-from,
.irs--square .irs-to,
.irs--square .irs-single {
    background-color: #453730;
    color: #fff;
}

/* Línea base del slider */
.irs--square .irs-line {
    background-color: #e8e0d0;
}

/* Números del grid */
.irs--square .irs-grid-text {
    color: #8a7968;
}

#ventaBtn, #rentaBtn {
    border: 1px solid #c9a96e;
    background: transparent;
    color: #c9a96e;
    border-radius: 20px;
    font-size: 0.78rem;
    padding: 4px 14px;
    cursor: pointer;
    transition: all 0.2s;
}

#ventaBtn.active, #rentaBtn.active {
    background: #c9a96e;
    color: #fff;
}

@keyframes erbenPulse {
    0%   { transform: scale(1);    opacity: 1;    }
    50%  { transform: scale(1.12); opacity: 0.7;  }
    100% { transform: scale(1);    opacity: 1;    }
}

/* Quitar padding y fondo del InfoWindow */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

/* Ocultar el botón X nativo de Google */
.gm-style .gm-ui-hover-effect {
    display: none !important;
}

/* Quitar la flecha blanca del InfoWindow */
.gm-style .gm-style-iw-t::after {
    display: none !important;
}


/*MANEJAMOS TU INMUEBLE*/

.mp-page {
    min-height: 100vh;
    background: #f5f2eb;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Raleway', sans-serif;
    padding: 80px 20px;
}
.mp-form-wrap {
    width: 100%; max-width: 560px;
    background: #fff;
    border: 1px solid #e8e0d0;
    box-shadow: 0 24px 60px rgba(26,15,0,.08);
}
.mp-form-top {
    background: #1a0f00; padding: 36px 40px;
    position: relative; overflow: hidden;
}
.mp-form-top::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(to right, transparent, #c9a96e, #e8c97a, #c9a96e, transparent);
}
.mp-form-top h2 {
    font-family: 'Playfair Display', serif;
    color: #f5f2eb; font-size: 1.6rem; font-weight: 400; margin: 0 0 6px;
}
.mp-form-top h2 em { color: #c9a96e; font-style: italic; }
.mp-form-top p { color: rgba(245,242,235,.45); font-size: .8rem; font-weight: 300; margin: 0; }

.mp-form-body { padding: 36px 40px; }

.mp-label {
    display: block; font-size: .65rem; color: #8a7968;
    letter-spacing: .1em; text-transform: uppercase;
    font-weight: 600; margin-bottom: 6px;
}
.mp-input {
    width: 100%; padding: 11px 14px;
    border: 1px solid #e8e0d0; border-radius: 2px;
    font-size: .88rem; color: #322b23; background: #faf7f2;
    font-family: 'Raleway', sans-serif; outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.mp-input:focus {
    border-color: #c9a96e; background: #fff;
    box-shadow: 0 0 0 3px rgba(201,169,110,.1);
}
textarea.mp-input { resize: vertical; min-height: 90px; }

.mp-divider {
    display: flex; align-items: center; gap: 12px; margin: 20px 0;
}
.mp-divider-line { flex: 1; height: 1px; background: #e8e0d0; }
.mp-divider span {
    color: #c9a96e; font-size: .65rem; letter-spacing: .12em;
    text-transform: uppercase; font-weight: 600; white-space: nowrap;
}

.mp-btn {
    width: 100%; padding: 14px; background: #322b23; color: #f5f2eb;
    border: none; border-radius: 2px; font-size: .75rem;
    letter-spacing: .15em; text-transform: uppercase;
    font-family: 'Raleway', sans-serif; font-weight: 600;
    cursor: pointer; transition: background .3s, color .3s; margin-top: 8px;
}
.mp-btn:hover { background: #c9a96e; color: #1a0f00; }

.mp-privacy {
    text-align: center; margin-top: 14px;
    font-size: .72rem; color: #b89a6a; font-weight: 300;
}
.mp-success {
    background: rgba(201,169,110,.1); border: 1px solid rgba(201,169,110,.3);
    color: #c9a96e; padding: 14px; text-align: center;
    font-size: .85rem; border-radius: 2px; margin-bottom: 20px;
}


/*INFOWINDOW*/

/* ===== InfoWindow Google Maps ===== */

.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.18) !important;
}

.gm-style .gm-style-iw-d {
    padding: 0 !important;
    overflow: hidden !important;
}

/* Header que Google agrega arriba */
.gm-style-iw-ch {
    padding: 0 !important;
    display: none !important;
}

/* Botón nativo */
.gm-ui-hover-effect {
    display: none !important;
}


/* CONTACTO JS ----------------------------------------*/
/* =========================================================
   DIÁLOGOS ERBIA (SweetAlert2) — formulario de contacto
   Pegar al final de static/src/css/styles.css
   ========================================================= */

.swal2-popup.erbia-swal {
    background: #f5f2eb;
    border-radius: 16px;
    padding: 0 0 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(26, 15, 0, 0.35);
    font-family: inherit;
}

/* Franja superior con la marca */
.swal2-popup.erbia-swal::before {
    content: 'ERBIA  ·  INMOBILIARIA';
    display: block;
    background: #1a0f00;
    color: #c9a96e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    padding: 14px 20px;
    border-bottom: 3px solid #c9a96e;
}

.erbia-swal .swal2-icon {
    margin: 26px auto 4px;
}

.erbia-swal .erbia-swal-title {
    color: #322b23;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    padding: 10px 32px 0;
}

.erbia-swal-divider {
    width: 36px;
    height: 1px;
    background: #c9a96e;
    margin: 2px auto 16px;
}

.erbia-swal .erbia-swal-text {
    color: #6b6560;
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 12px 36px 0;
    padding: 0;
}

.erbia-swal .erbia-swal-text p {
    margin: 0;
}

.erbia-swal .erbia-swal-text strong {
    color: #322b23;
}

.erbia-swal-nota {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    color: #8a7968;
}

/* Botones */
.erbia-swal .erbia-swal-actions {
    gap: 10px;
    margin-top: 24px;
    padding: 0 28px;
    flex-wrap: wrap;
}

.erbia-swal-btn {
    margin: 0;
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.erbia-swal-btn-primary {
    background: #1a0f00;
    color: #f5f2eb;
}

.erbia-swal-btn-primary:hover {
    background: #c9a96e;
    color: #1a0f00;
}

.erbia-swal-btn-secondary {
    background: transparent;
    color: #322b23;
    border-color: rgba(50, 43, 35, 0.25);
}

.erbia-swal-btn-secondary:hover {
    color: #c9a96e;
    border-color: #c9a96e;
}

.erbia-swal-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.4);
}

/* =========================================================
   MODAL DE TÉRMINOS Y CONDICIONES (#termsModal)
   ========================================================= */
.erbia-terms-scroll {
    max-height: 52vh;
    overflow-y: auto;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid rgba(50, 43, 35, 0.08);
    border-left: 3px solid #c9a96e;
    border-radius: 10px;
    color: #6b6560;
    font-size: 0.85rem;
    line-height: 1.75;
}

.erbia-terms-scroll p {
    margin: 0 0 8px;
}

.erbia-terms-scroll h6 {
    margin: 18px 0 4px;
    color: #322b23;
    font-size: 0.95rem;
    font-weight: 700;
}

.erbia-terms-scroll h6 span {
    color: #c9a96e;
    margin-right: 6px;
}

.erbia-terms-scroll a {
    color: #c9a96e;
}

.erbia-terms-scroll::-webkit-scrollbar {
    width: 6px;
}

.erbia-terms-scroll::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.5);
    border-radius: 3px;
}

.erbia-terms-btn {
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.erbia-terms-btn-primary {
    background: #1a0f00;
    color: #f5f2eb;
}

.erbia-terms-btn-primary:hover {
    background: #c9a96e;
    color: #1a0f00;
}

.erbia-terms-btn-secondary {
    background: transparent;
    color: #322b23;
    border-color: rgba(50, 43, 35, 0.25);
}

.erbia-terms-btn-secondary:hover {
    color: #c9a96e;
    border-color: #c9a96e;
}

.erbia-terms-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.4);
}

/* Animaciones */
@keyframes erbiaSwalIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

@keyframes erbiaSwalOut {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translateY(8px); }
}

.erbia-swal-show {
    animation: erbiaSwalIn 0.3s ease-out;
}

.erbia-swal-hide {
    animation: erbiaSwalOut 0.2s ease-in forwards;
}

/* Móvil */
@media (max-width: 576px) {
    .erbia-swal .erbia-swal-title {
        font-size: 1.2rem;
        padding: 10px 20px 0;
    }
    .erbia-swal .erbia-swal-text {
        margin: 12px 20px 0;
    }
    .erbia-swal .erbia-swal-actions {
        padding: 0 20px;
    }
    .erbia-swal-btn,
    .erbia-terms-btn {
        width: 100%;
    }
}