:root {
    --moon-blue: #1e2365;      /* Azul */
    --moon-gold: #6c2c3a;      /* Granate */
    --moon-marron: #1e2365;    /* Azul background for footer */
    --moon-verde: #ffffff;     /* White/Contrast text */
    --moon-light: #f8f9fa;
    --moon-text: #555555;
    --white: #ffffff;
    --font-primary: 'Open Sans', sans-serif;

    /* Corporate Brand Design Tokens */
    --color-primary: #1e2365;   /* Azul */
    --color-secondary: #6c2c3a; /* Granate */
    --color-steel: #b5c4d7;     /* Acero */
    --color-text: #555555;
    --color-bg: #f8f9fa;
}

body {
    font-family: var(--font-primary);
    color: var(--moon-text);
    overflow-x: hidden;
}

/* Header */
header {
    background-color: var(--white);
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 70px;
}

.nav-link {
    color: var(--moon-blue);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--moon-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--moon-gold);
}

.btn-escribenos {
    background-color: var(--moon-verde);
    color: var(--white);
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-escribenos:hover {
    background-color: var(--moon-marron);
    color: var(--white);
    transform: translateY(-2px);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.header-icons a {
    color: var(--moon-blue);
    font-size: 1.2rem;
}

/* Banner Slider */
.main-banner {
    position: relative;
    width: 100%;
}

.banner-item {
    height: 700px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 75%);
}

.banner-proyectos .banner-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 75%);
}

.banner-proyectos .banner-content h1,
.banner-proyectos .banner-content p {
    color: var(--white);
}

.banner-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.banner-content h1 {
    color: var(--moon-blue);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 30px;
}

.banner-badge {
    display: inline-block;
    background-color: var(--moon-marron);
    color: #000;
    padding: 10px 30px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.btn-moon-blue {
    background-color: var(--moon-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-moon-blue:hover {
    background-color: #122a42;
    color: var(--white);
}

.banner-content .btn-moon-blue {
    background-color: transparent;
    color: var(--white);
    font-weight: 700;
    border: 3px solid var(--white);
}

.banner-content .btn-moon-blue:hover {
    background-color: var(--white);
    color: var(--moon-blue);
}

.btn-moon-green {
    background-color: var(--moon-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-moon-green:hover {
    background-color: #1a3521;
    color: var(--white);
}

/* Foggy effect at the bottom of banner */
.banner-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 11;
}

/* Slick Custom Arrows */
.slick-prev,
.slick-next {
    z-index: 100;
    width: 50px;
    height: 50px;
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 40px;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

@media (max-width: 991px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-item {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .banner-buttons {
        flex-direction: column;
    }

    .banner-content h1 {
        font-size: 2rem;
    }
}

/* Section: Why Invest */
.section-why-invest {
    background: var(--moon-verde);
    padding: 60px 0;
    color: var(--white);
    position: relative;
}

.title-why {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-why h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.title-why::before,
.title-why::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    max-width: 200px;
}

.invest-item {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.invest-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.invest-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border: 2px solid var(--moon-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.invest-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invest-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .invest-item:not(:last-child)::after {
        display: none;
    }

    .invest-item {
        margin-bottom: 30px;
    }
}

/* Section: Featured Projects Redesign */
.section-projects {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.title-projects {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-projects span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 10px;
}

.title-projects h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.title-projects::before,
.title-projects::after {
    display: none;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.project-image-container {
    position: relative;
    height: 300px;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-footer {
    padding: 30px;
    text-align: left;
}

.project-footer h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.project-footer .frase {
    font-style: italic;
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.project-footer .price {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: #000;
}

.btn-moon-verde {
    background-color: var(--moon-verde);
    color: var(--white);
    border-radius: 8px;
    padding: 15px 40px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-moon-verde:hover {
    background-color: #122b27;
    color: var(--white);
    transform: scale(1.05);
}
    background: var(--white);
}

.project-footer p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}

.project-footer .price {
    display: block;
    color: var(--moon-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 5px;
}

.btn-view-all {
    margin-top: 50px;
    text-align: center;
}

/* Section: Location */
.section-location {
    padding: 80px 0;
    background-color: var(--white);
}

.title-location {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-location h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.title-location::before,
.title-location::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    max-width: 200px;
}

#map {
    width: 100%;
    height: 600px;
}

.location-container-wrapper {
    position: relative;
    width: 100%;
}

.location-floating-panel {
    position: absolute;
    top: 30px;
    right: 50px;
    width: 380px;
    z-index: 100;
}

.location-carousel-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.location-project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.location-project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--moon-gold);
}

.location-project-img {
    height: 150px;
    overflow: hidden;
}

.location-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-project-info {
    padding: 15px;
}

.location-project-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--moon-verde);
    margin-bottom: 5px;
}

.location-project-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-project-info p i {
    color: var(--moon-gold);
}

/* Slick arrows for location carousel */
.location-carousel .slick-prev,
.location-carousel .slick-next {
    width: 30px;
    height: 30px;
    background: var(--moon-marron);
    border-radius: 50%;
    z-index: 10;
}

.location-carousel .slick-prev {
    left: -15px;
}

.location-carousel .slick-next {
    right: -15px;
}

.location-carousel .slick-prev:before,
.location-carousel .slick-next:before {
    font-size: 16px;
    color: white;
}

@media (max-width: 991px) {
    #map {
        height: 400px;
    }

    .location-floating-panel {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        padding: 0 15px;
        margin-top: -50px;
    }

    .location-carousel-container {
        backdrop-filter: none;
        background: white;
    }
}

/* Section: Testimonials */
.section-testimonials {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.title-testimonials {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-testimonials h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.title-testimonials::before,
.title-testimonials::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    max-width: 200px;
}

.testimonial-card {
    background: transparent;
    border: none;
    margin: 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-img-container {
    height: 280px;
    overflow: hidden;
}

.testimonial-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text-container {
    background-color: #fdf0e6;
    /* Color crema de la imagen */
    padding: 40px 30px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 1.15rem;
    color: #224229;
    /* Verde oscuro para el texto del testimonio */
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 25px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #224229;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.95rem;
    color: #224229;
    opacity: 0.8;
}

/* Slick arrows for testimonials */
.testimonials-carousel .slick-prev,
.testimonials-carousel .slick-next {
    width: 45px;
    height: 45px;
    background: var(--moon-blue);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonials-carousel .slick-prev:hover,
.testimonials-carousel .slick-next:hover {
    background: var(--moon-gold);
}

.testimonials-carousel .slick-prev {
    left: -55px;
}

.testimonials-carousel .slick-next {
    right: -55px;
}

@media (max-width: 1200px) {
    .testimonials-carousel {
        padding: 0 40px;
    }

    .testimonials-carousel .slick-prev {
        left: 10px;
    }

    .testimonials-carousel .slick-next {
        right: 10px;
    }
}

/* Footer Styles */
.footer-main {
    background-color: var(--moon-marron);
    color: var(--moon-verde);
    padding: 60px 0 20px;
    border-radius: 40px 40px 0 0;
    margin-top: 80px;
}

.footer-column {
    padding: 0 40px;
    position: relative;
}

/* Vertical dividers */
.footer-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(24, 61, 54, 0.2);
}

.footer-column h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--moon-verde);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--moon-verde);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
}



.footer-info p {
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--moon-verde);
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(24, 61, 54, 0.1);
    color: var(--moon-verde);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
}



.footer-bottom {
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(24, 61, 54, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(24, 61, 54, 0.7);
}

@media (max-width: 991px) {
    .footer-column {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        border-radius: 40px 40px 0 0;
        padding: 60px 0 30px;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 50px;
        padding: 0 15px;
    }

    .footer-column:not(:last-child)::after {
        display: none;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--moon-gold);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
    background-color: #4f1f2a;
    color: var(--white);
    transform: translateY(-5px);
}

#back-to-top i {
    font-size: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 0;
}

/* Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* PAGINA NOSOTROS ACTUALIZADA */
.nosotros-page {
    overflow-x: hidden;
    background-color: #fff;
}

.section-nosotros-intro {
    padding: 100px 0;
}

.nosotros-title-main {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: #0d3b2e;
    margin-bottom: 30px;
}

.nosotros-text-1 {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
}

.nosotros-subtitle-tray {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin-top: 15px;
    text-align: justify;
}

/* Bloque Integrado Imagen 1 */
.section-nosotros-liderazgo-box {
    padding: 60px 0;
}

.nosotros-main-card {
    background-color: transparent;
    padding: 20px;
    border: none;
    box-shadow: none !important;
}

.section-nosotros-datos-row {
    padding: 40px 0;
}

.dato-col {
    position: relative;
}

.dato-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.08);
}

.dato-icon-sm img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.dato-val-lg {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #0d3b2e;
    margin-bottom: 5px;
}

.dato-lbl-sm {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.2;
    font-weight: 500;
    padding: 0 20px;
}

.fourth-subtitle {
    font-size: 0.8rem !important;
}

.dato-half {
    font-size: 1.75rem !important;
}

/* Lideres Imagen 1 */
.section-nosotros-lideres {
    padding: 100px 0;
}

.nosotros-title-serif {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0d3b2e;
}

.lider-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.lider-icon-container img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.lider-card-title {
    font-weight: 700;
    font-size: 1.6rem;
    color: #0d3b2e;
    margin-bottom: 15px;
}

.lider-card-text {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.lider-footer-text p {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.6;
    font-weight: 500;
}

/* Trayectoria Imagen 2 */
.section-trayectoria {
    padding: 80px 0;
    background-color: transparent;
}

.trayectoria-title {
    font-size: 41.6px;
    font-weight: 900;
    color: #000;
    text-transform: none;
    margin-bottom: 40px;
}

.trayectoria-circle {
    width: 380px;
    height: 380px;
    border: 3px solid #B58D66;
    /* Cambiado de naranja a #B58D66 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    text-align: center;
}

.trayectoria-circle-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trayectoria-years {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #000;
}

.trayectoria-years-lbl {
    font-size: 1.3rem;
    font-weight: 700;
    color: #B58D66;
    /* Cambiado de naranja a #B58D66 */
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.trayectoria-circle-desc {
    font-size: 1rem;
    color: #888;
    line-height: 1.4;
    max-width: 250px;
}

.trayectoria-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #B58D66;
    /* Cambiado de naranja a #B58D66 */
    border-radius: 50%;
    top: 50px;
    left: 50px;
}

.trayectoria-stats-list {
    padding-left: 50px;
}

.trayectoria-stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.stat-icon-tray {
    width: 45px;
    margin-right: 20px;
}

.stat-icon-tray img {
    width: 100%;
    height: auto;
}

.stat-content-tray {
    display: flex;
    flex-direction: column;
}

.stat-val-tray {
    font-size: 3rem;
    font-weight: 900;
    color: #B58D66;
    /* Cambiado de naranja a #B58D66 */
    line-height: 1;
}

.stat-lbl-tray {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}

@media (max-width: 991px) {
    .nosotros-title-main {
        font-size: 3.5rem;
    }

    .trayectoria-circle {
        width: 320px;
        height: 320px;
    }

    .trayectoria-years {
        font-size: 4.5rem;
    }

    .trayectoria-stats-list {
        padding-left: 0;
        margin-top: 50px;
    }

    .trayectoria-stat-item {
        justify-content: center;
    }

    .stat-val-tray {
        font-size: 3rem;
    }

    .dato-col::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-trayectoria {
        padding: 40px 0;
    }
    
    .trayectoria-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .trayectoria-stat-item {
        margin-bottom: 30px;
    }

    .trayectoria-stat-item:last-child {
        margin-bottom: 0;
    }

    .section-nosotros-lideres {
        padding: 40px 0;
    }

    .section-nosotros-lideres .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .section-trayectoria .mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

/* Projects Page */
.section-filters {
    position: relative;
    z-index: 100;
    margin-top: -45px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0;
}

.filter-item {
    padding: 10px 20px;
}

.filter-item select {
    font-size: 1rem;
    color: #666;
    cursor: pointer;
}

.btn-buscar {
    background-color: var(--moon-verde);
    color: white;
    border: none;
    padding: 15px 0;
    width: 100%;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-buscar:hover {
    background-color: var(--moon-marron);
}

.project-list-item {
    margin-bottom: 60px;
}

.project-list-img {
    border-radius: 5px;
    overflow: hidden;
}

.project-list-content {
    padding-left: 40px;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--moon-verde);
    font-weight: 700;
    margin-bottom: 0;
    font-style: italic;
}

.project-location {
    font-size: 1rem;
    color: #888;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.project-badge-status span {
    background-color: var(--moon-marron);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.85rem;
    display: inline-block;
    font-weight: 500;
}

.project-summary {
    color: #888;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 20px;
}

.btn-ver-proyecto {
    color: var(--moon-verde);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    margin-top: 15px;
    border-bottom: 1px solid transparent;
}

.btn-ver-proyecto:hover {
    color: var(--moon-marron);
    border-bottom-color: var(--moon-marron);
}

.badge-entrega {
    background-color: #72c02c;
    color: white;
    padding: 8px 20px;
    display: inline-block;
    font-weight: 700;
    border-radius: 3px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    background: transparent;
}

.btn-outline-white:hover {
    background-color: white;
    color: #333;
}

@media (max-width: 991px) {
    .project-list-content {
        padding-left: 0;
        padding-top: 30px;
    }

    .project-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-filters {
        margin-top: 20px;
        max-width: 95%;
    }

    .filter-item.border-end {
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }
}

/* Contact Page */
.section-contacto {
    padding: 80px 0;
    background-color: var(--white);
}

.contacto-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.contacto-tab {
    flex: 1;
    padding: 15px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: var(--white);
    color: var(--moon-blue);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.contacto-tab.active {
    border: 2px solid var(--moon-gold);
    color: var(--moon-gold);
}

.form-contacto-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--moon-blue);
    margin-bottom: 10px;
}

.form-contacto-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.form-group-moon {
    margin-bottom: 25px;
}

.form-group-moon label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--moon-blue);
    margin-bottom: 8px;
}

.form-group-moon .form-control,
.form-group-moon .form-select {
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    padding: 10px 0;
    font-size: 1rem !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
}

.form-group-moon .form-control:focus,
.form-group-moon .form-select:focus {
    box-shadow: none !important;
    border-bottom-color: var(--moon-gold) !important;
}

.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0;
}

.iti--separate-dial-code input {
    padding-left: 95px !important;
}

.iti__selected-dial-code {
    font-family: var(--font-primary);
    color: var(--moon-text);
}

.btn-enviar-contacto {
    background-color: var(--moon-blue);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: capitalize;
}

.btn-enviar-contacto:hover {
    background-color: var(--moon-gold);
    color: var(--white);
    transform: translateY(-3px);
}

.form-check-moon {
    margin-bottom: 15px;
}

.form-check-moon label {
    font-size: 0.9rem;
    color: #666;
}

.form-check-moon .form-check-input:checked {
    background-color: var(--moon-gold);
    border-color: var(--moon-gold);
}

@media (max-width: 768px) {
    .contacto-tabs {
        flex-direction: column;
    }

    .form-contacto-title {
        font-size: 2rem;
    }
}

/* --- Barra Info Contacto --- */
.barra-info-container {
    position: relative;
    z-index: 10;
}

.barra-info-wrapper {
    margin-top: -55px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.barra-info-row {
    display: flex;
    align-items: stretch;
}

.barra-info-title {
    padding: 22px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-width: 170px;
}

.barra-info-item {
    flex: 1;
    padding: 18px 24px;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.barra-info-item:last-child {
    border-right: none;
}

.barra-info-item img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.barra-info-content .label {
    display: block;
    font-size: 0.68rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.barra-info-content .value {
    display: block;
    font-size: 0.88rem;
    color: #222;
    word-break: break-all;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .barra-info-row {
        flex-wrap: wrap;
    }
    .barra-info-title {
        flex: 0 0 50%;
        min-width: auto;
        justify-content: center;
        text-align: center;
    }
    .barra-info-item {
        flex: 0 0 50%;
    }
    .barra-info-item:nth-child(2) {
        border-right: none;
    }
    .barra-info-item:nth-child(3) {
        border-top: 1px solid #e0e0e0;
    }
    .barra-info-item:nth-child(4) {
        border-top: 1px solid #e0e0e0;
        border-right: none;
    }
}

@media (max-width: 576px) {
    .barra-info-title {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .barra-info-item {
        flex: 0 0 100%;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 1px solid #e0e0e0;
    }
    .barra-info-item:last-child {
        border-bottom: none;
    }
    .barra-info-wrapper {
        margin-top: -30px;
    }
}


/* --- Mobile Header & Sidebar --- */
.header-mobile {
    background-color: var(--white);
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1050;
}

.mobile-icon-link {
    color: var(--moon-verde);
    font-size: 1.5rem;
}

.menu-toggle-btn {
    background: none;
    border: none;
    color: var(--moon-blue);
    font-size: 1.5rem;
    padding: 0;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 1100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1090;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

.btn-close-sidebar {
    background: none;
    border: none;
    color: #333;
    font-size: 1.2rem;
}

.sidebar-link {
    color: var(--moon-blue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    transition: color 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--moon-gold);
}

body.sidebar-open {
    overflow: hidden;
}

/* Adjustments for fixed-top header on mobile */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
}

/* ──────────────────────────────────────────
   PROYECTO DETALLE RESPONSIVE IMPROVEMENTS
   (Overrides for mejor visualización en móvil)
────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Hero Section */
    .pdet-hero-inner {
        display: flex;
        flex-direction: column;
    }

    .pdet-slider-wrap {
        height: 350px;
        order: 1;
    }

    .pdet-info {
        order: 2;
        padding: 30px 20px;
        text-align: center;
    }

    .pdet-nombre {
        font-size: 2.2rem !important;
        margin-bottom: 15px;
    }

    .pdet-iconos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 20px;
        width: 100%;
        margin: 0 auto;
    }

    /* Databar */
    .pdet-databar {
        flex-direction: column;
        height: auto;
    }

    .pdet-databar-item {
        padding: 20px;
        border-bottom: 1px solid #eee;
        justify-content: center;
    }

    .pdet-databar-sep {
        display: none;
    }

    /* Subnav */
    .proyecto-subnav {
        top: 70px;
        /* Al nivel del header mobile fixed */
        overflow-x: hidden;
        height: auto;
    }

    .proyecto-subnav-list {
        flex-wrap: wrap;
        justify-content: center;
        padding: 5px 0;
    }

    .proyecto-subnav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex: 0 0 auto;
    }

    /* Galería */
    .galeria-main-swiper .swiper-slide {
        width: 90% !important;
        height: 300px !important;
    }

    .galeria-main-title {
        font-size: 1.2rem;
    }

    .galeria-thumbs-swiper {
        display: none;
        /* Ocultar miniaturas en móvil para simplificar */
    }

    /* Ubicación / Entorno */
    .ubicacion-container {
        border-radius: 0;
    }

    .ubicacion-left {
        padding: 25px 20px;
    }

    .ubicacion-botones {
        grid-template-columns: 1fr;
        /* Una columna en botones de entorno */
    }


}

@media (max-width: 480px) {
    .pdet-nombre {
        font-size: 1.8rem !important;
    }

    .pdet-slider-wrap {
        height: 250px;
    }
}

/* WhatsApp Widget Redesign */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-trigger:hover {
    transform: scale(1.05);
}

.whatsapp-badge {
    background-color: #25d366;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-icon {
    background-color: #25d366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.whatsapp-window {
    position: absolute;
    bottom: 140px;
    left: 0;
    width: 320px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 10000;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-window.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-header {
    background-color: #25d366;
    color: white;
    padding: 20px;
    position: relative;
}

.whatsapp-header h5 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.whatsapp-header p {
    font-size: 0.85rem;
    margin: 5px 0 0;
    opacity: 0.9;
}

.btn-close-ws {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.2);
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.whatsapp-body {
    max-height: 250px; /* Suficiente para 2 asesores aproximadamente */
    overflow-y: auto;
    padding: 15px;
    background-color: #f0f0f0;
}

/* Custom Scrollbar for WhatsApp Body */
.whatsapp-body::-webkit-scrollbar {
    width: 6px;
}
.whatsapp-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.whatsapp-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.advisor-item {
    background: white;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.advisor-item:hover {
    background: #f9f9f9;
    border-color: #25d366;
    transform: translateX(5px);
}

.advisor-photo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #25d366;
    flex-shrink: 0;
}

.advisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-info h6 {
    margin: 0;
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.advisor-info span {
    color: #25d366;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 767px) {
    .whatsapp-container {
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-window {
        width: 280px;
        bottom: 130px;
    }
}

.section-promo-banner img {
    display: block;
    width: 100%;
}

/* ==========================================================================
   FRONTEND HOME & SEARCH MODAL NEW DESIGN
   ========================================================================== */

/* Top bar override */
.top-bar {
    background-color: var(--color-primary) !important;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar a {
    color: #ffffff !important;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}
.top-bar a:hover {
    color: var(--color-steel) !important;
}

/* Header menu overrides */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid var(--color-steel);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1000;
}
.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.logo {
    padding-bottom: 5px;
}
.logo img {
    transition: all 0.4s ease;
    height: 96px;
    width: auto;
}
.main-header.sticky .logo {
    padding-bottom: 0px;
}
.main-header.sticky .logo img {
    height: 66px;
}
.menu-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.menu-item {
    margin-left: 25px;
}
.menu-item a {
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}
.menu-item a:hover,
.menu-item.current-menu-item a {
    color: var(--color-secondary) !important;
}

/* Hero section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 35, 101, 0.55); /* Blue semi-transparent overlay */
    z-index: -1;
}
.hero-content {
    z-index: 10;
}
.badge-custom {
    display: inline-block;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 5px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.badge-granate {
    background-color: var(--color-secondary);
    color: #ffffff;
    border: 1px solid var(--color-steel);
}
.badge-granate:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    text-decoration: none;
}
.hero-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

/* Search bar styling */
.search-container {
    max-width: 1100px;
    width: 100%;
}
.search-tabs {
    gap: 5px;
    margin-bottom: 0px;
}
.search-tab {
    background: rgba(30, 35, 101, 0.85);
    color: #ffffff;
    border: 1px solid var(--color-steel);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
}
.search-tab:hover,
.search-tab.active {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}
.search-bar {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-steel);
}
.search-col {
    flex: 1;
    padding: 0 10px;
}
.form-select-clean,
.form-input-clean {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
    outline: none;
}
.form-select-clean:focus,
.form-input-clean:focus {
    box-shadow: none;
}
.search-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.btn-search {
    padding: 12px 30px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.btn-search-gps {
    background-color: #ffffff;
    color: var(--color-primary);
    border: 1px solid var(--color-steel);
}
.btn-search-gps:hover {
    background-color: var(--color-steel);
    color: var(--color-primary);
}
.btn-search-submit {
    background-color: var(--color-secondary);
    color: #ffffff;
}
.btn-search-submit:hover {
    background-color: #52212b;
    box-shadow: 0 4px 15px rgba(108, 44, 58, 0.3);
}
.more-filters-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    transition: color 0.3s;
}
.more-filters-link:hover {
    color: var(--color-steel);
}

/* Property cards overrides */
.section-properties {
    background-color: var(--color-bg);
}
.section-title {
    color: var(--color-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
}
.property-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-steel);
    transition: all 0.3s ease;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 35, 101, 0.15);
    border-color: var(--color-primary);
}
.property-img-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .property-img {
    transform: scale(1.08);
}
.property-id-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(30, 35, 101, 0.9);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}
.property-operation-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-secondary);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}
.property-card-title a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s;
}
.property-card-title a:hover {
    color: var(--color-secondary);
}
.property-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-secondary);
}
.text-steel {
    color: var(--color-steel) !important;
}

/* Advanced search modal overrides */
.advanced-search-modal .modal-content {
    border-radius: 12px;
    border: 1px solid var(--color-steel);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.advanced-search-modal .modal-header {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 20px 24px;
    border-bottom: 2px solid var(--color-steel);
}
.advanced-search-modal .modal-title {
    font-weight: 700;
    font-size: 18px;
}
.btn-close-custom {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}
.btn-close-custom:hover {
    transform: rotate(90deg);
    color: var(--color-steel);
}
.section-header-modal span {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 14px;
    letter-spacing: 0.5px;
}
.section-header-modal hr {
    opacity: 0.25;
    border-color: var(--color-primary);
}
.form-label-modal {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.form-select-modal,
.form-input-modal {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--color-steel);
    border-radius: 6px;
    background-color: #f8f9fa;
    color: var(--color-primary);
    outline: none;
    transition: all 0.3s;
}
.form-select-modal:focus,
.form-input-modal:focus {
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 35, 101, 0.15);
}

/* Custom button selectors */
.btn-group-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.btn-btn-select {
    background-color: #f8f9fa;
    color: var(--color-primary);
    border: 1px solid var(--color-steel);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-btn-select:hover {
    background-color: var(--color-steel);
}
.btn-btn-select.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.btn-gps-modal {
    background-color: #f8f9fa;
    color: var(--color-primary);
    border: 1px solid var(--color-steel);
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    text-align: center;
}
.btn-gps-modal:hover {
    background-color: var(--color-steel);
}

/* Custom Checkboxes */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
    user-select: none;
}
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f8f9fa;
    border: 1px solid var(--color-steel);
    border-radius: 4px;
}
.checkbox-container:hover input ~ .checkmark {
    background-color: var(--color-steel);
}
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}
.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Modal action buttons */
.btn-clear-modal {
    background: transparent;
    border: none;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}
.btn-clear-modal:hover {
    color: #52212b;
    text-decoration: underline;
}
.btn-submit-modal {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit-modal:hover {
    background-color: #121543;
    box-shadow: 0 4px 15px rgba(30, 35, 101, 0.3);
}

/* Accordion overrides */
.advanced-search-modal .accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
    color: var(--color-primary);
}
.advanced-search-modal .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.125);
}

/* Footer layout styling overrides */
.footer-main {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}
.footer-column::after {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.footer-column h4 {
    color: var(--color-steel) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #ffffff !important;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--color-steel) !important;
    text-decoration: none;
}
.footer-info p {
    color: #ffffff !important;
    font-size: 14px;
}
.social-icon {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--color-secondary) !important;
    transform: scale(1.1);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--color-steel) !important;
}

/* ==========================================================================
   PROPERTY DETAIL PAGE STYLES
   ========================================================================== */
.property-detail-page {
    font-family: var(--font-primary);
}
.property-main-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.property-title {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: -0.5px;
}
.price-container {
    border-left: 5px solid var(--color-primary);
}
.gallery-wrapper {
    position: relative;
    overflow: hidden;
}
.gallery-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    z-index: 50;
    letter-spacing: 0.5px;
}
.property-gallery-thumbs img {
    transition: opacity 0.3s;
}
.property-gallery-thumbs .slick-current img {
    border: 2px solid var(--color-primary) !important;
    opacity: 0.6;
}
.spec-item-card {
    transition: all 0.3s ease;
}
.spec-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    border-color: var(--color-steel) !important;
}
.spec-item-card i {
    color: var(--color-steel);
}
.spec-item-card:hover i {
    color: var(--color-primary);
}
.agent-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.btn-whatsapp-cta {
    background-color: #25d366;
    color: #ffffff;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}
.btn-whatsapp-cta:hover {
    background-color: #128c7e;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 35px;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover {
    color: var(--color-steel);
}

.px-50px {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* Statistics Counters Section */
.section-stats {
    background-color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}
.stat-item {
    padding: 20px 10px;
    text-align: center;
}
.stat-number {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -1px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}
.stat-item:hover .stat-number {
    transform: scale(1.08);
    color: var(--color-steel);
}
.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    text-transform: none;
}

/* Oficinas Directory Styles */
.section-offices {
    background-color: #f4f6f9 !important;
}
.results-summary-bar {
    border-bottom-color: var(--color-steel) !important;
}
.office-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(181, 196, 215, 0.4) !important;
    background-color: #ffffff;
}
.office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(30, 35, 101, 0.08) !important;
    border-color: var(--color-steel) !important;
}
.office-logo-wrapper {
    background-color: #fafbfd;
}
.office-logo {
    transition: transform 0.3s ease;
}
.office-card:hover .office-logo {
    transform: scale(1.04);
}
.office-name {
    font-family: var(--font-primary);
    color: var(--color-primary) !important;
    letter-spacing: -0.2px;
}
.office-region {
    color: var(--color-steel) !important;
    font-size: 11px;
    font-weight: 700;
}
.quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.btn-whatsapp {
    background-color: #25D366;
}
.btn-whatsapp:hover {
    background-color: #1ebd5b;
    transform: scale(1.1);
}
.btn-email {
    background-color: var(--color-primary);
}
.btn-email:hover {
    background-color: #121543;
    transform: scale(1.1);
}
.btn-phone {
    background-color: var(--color-secondary);
}
.btn-phone:hover {
    background-color: #52212b;
    transform: scale(1.1);
}
.btn-disabled {
    background-color: #e9ecef;
    color: #adb5bd !important;
    box-shadow: none;
    cursor: not-allowed;
}
.office-details-list li {
    font-size: 13.5px;
    color: var(--color-text);
    line-height: 1.5;
}
.office-details-list li i {
    width: 18px;
    color: var(--color-steel);
}
.office-address {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hover-primary:hover {
    color: var(--color-primary) !important;
}

/* Card Action Buttons */
.btn-card-action {
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-card-props {
    color: var(--color-secondary) !important;
    background-color: #ffffff;
}
.btn-card-props:hover {
    color: #ffffff !important;
    background-color: var(--color-secondary);
}
.btn-card-broker {
    color: var(--color-primary) !important;
    background-color: #ffffff;
}
.btn-card-broker:hover {
    color: #ffffff !important;
    background-color: var(--color-primary);
}

/* Asesores Directory Styles */
.section-advisors {
    background-color: #f4f6f9 !important;
}
.advisor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(181, 196, 215, 0.4) !important;
    background-color: #ffffff;
}
.advisor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(30, 35, 101, 0.08) !important;
    border-color: var(--color-steel) !important;
}
.advisor-photo-wrapper {
    background-color: #fafbfd;
}
.advisor-photo-circle img {
    transition: transform 0.3s ease;
}
.advisor-card:hover .advisor-photo-circle img {
    transform: scale(1.06);
}
.advisor-office-name {
    color: var(--color-steel) !important;
    font-size: 11px;
    font-weight: 700;
}
.advisor-name {
    font-family: var(--font-primary);
    color: var(--color-primary) !important;
    letter-spacing: -0.2px;
}
.advisor-role {
    font-size: 11px;
    font-weight: 600;
    color: #888888;
}
.advisor-details-list li {
    font-size: 13.5px;
    color: var(--color-text);
    line-height: 1.5;
}
.advisor-details-list li i {
    width: 18px;
    color: var(--color-steel);
}
.advisor-address {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
   BLOG � Listado de art�culos
   ========================================================= */

.section-blog {
    background-color: #f5f6f8;
}

.blog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10) !important;
}

.blog-card-media-link {
    display: block;
    overflow: hidden;
}

.blog-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #e9ecef;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card-media-link:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.blog-card-title-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.25rem 1.1rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-body {
    background-color: #fff;
}

.blog-card-date {
    color: #6c757d !important;
}

.blog-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-link {
    color: var(--color-primary, #1e2365);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.blog-card-link:hover {
    color: #6c2c3a;
    letter-spacing: 1px;
}

.blog-pagination .pagination {
    margin-bottom: 0;
}

.blog-pagination .page-link {
    color: var(--color-primary, #1e2365);
    border-color: #dee2e6;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
}

.blog-pagination .page-item.active .page-link {
    background-color: var(--color-primary, #1e2365);
    border-color: var(--color-primary, #1e2365);
    color: #fff;
}

.blog-pagination .page-link:hover {
    color: #fff;
    background-color: var(--color-primary, #1e2365);
    border-color: var(--color-primary, #1e2365);
}


/* =========================================================
   BLOG — Paginación custom (cuadrados azules)
   ========================================================= */

.blog-pagination-wrapper {
    width: 100%;
}

.blog-pagination {
    display: flex;
    justify-content: center;
}

.blog-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pager-item {
    display: flex;
    align-items: stretch;
}

.blog-pager-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.85rem;
    background-color: #ffffff;
    color: var(--color-primary, #1e2365);
    border: 2px solid var(--color-primary, #1e2365);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease,
                transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.blog-pager-link:hover,
.blog-pager-link:focus {
    background-color: var(--color-primary, #1e2365);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 35, 101, 0.25);
    outline: none;
}

.blog-pager-link.is-active {
    background-color: var(--color-primary, #1e2365);
    color: #ffffff;
    border-color: var(--color-primary, #1e2365);
    cursor: default;
    box-shadow: 0 4px 12px rgba(30, 35, 101, 0.25);
}

.blog-pager-link.is-active:hover,
.blog-pager-link.is-active:focus {
    transform: none;
    box-shadow: 0 4px 12px rgba(30, 35, 101, 0.25);
}

.blog-pager-arrow {
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .blog-pager-link {
        min-width: 38px;
        height: 38px;
        padding: 0 0.6rem;
        font-size: 0.88rem;
    }
    .blog-pager {
        gap: 0.35rem;
    }
}


/* =========================================================
   BLOG � Detalle de art�culo
   ========================================================= */

.blog-detail-page {
    background-color: #f5f6f8;
}

.blog-back-btn {
    white-space: nowrap;
}

.blog-detail {
    border: none;
}

.blog-detail-img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.blog-detail-title {
    color: #1a1a2e;
    line-height: 1.25;
    font-size: 2rem;
}

.blog-detail-sumilla {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    border-left: 4px solid var(--color-primary, #1e2365);
    padding-left: 1rem;
    color: #495057;
}

.blog-detail-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #343a40;
}

.blog-detail-content p {
    margin-bottom: 1.2rem;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.blog-detail-content a {
    color: var(--color-primary, #1e2365);
    text-decoration: underline;
}


/* ----- Sidebar ----- */

.blog-sidebar-title {
    color: #1a1a2e;
    font-size: 1.1rem;
}

.blog-sidebar-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.blog-sidebar-thumb {
    display: block;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #e9ecef;
}

.blog-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-sidebar-thumb:hover img {
    transform: scale(1.08);
}

.blog-sidebar-link {
    font-size: 0.92rem;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-sidebar-link:hover {
    color: var(--color-primary, #1e2365) !important;
}


/* ----- Responsive ----- */

@media (max-width: 575.98px) {
    .blog-detail-title {
        font-size: 1.5rem;
    }
    .blog-detail-body {
        padding: 1.25rem !important;
    }
    .blog-card-title {
        font-size: 1rem;
    }
}


/* =========================================================
   CONTACTO
   ========================================================= */

.section-contact {
    background-color: #f5f6f8;
}

/* --- Tarjeta izquierda (info) --- */

.contact-info-card,
.contact-form-card {
    border: none;
}

.contact-info-title {
    color: #1a1a2e;
    font-size: 1.75rem;
}

.contact-info-lead {
    font-size: 0.98rem;
    line-height: 1.6;
}

.contact-info-list {
    margin: 0;
    padding: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eef0f3;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.65rem;
    background-color: rgba(30, 35, 101, 0.10);
    color: var(--color-primary, #1e2365);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-icon-whatsapp {
    background-color: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-info-icon-email {
    background-color: rgba(108, 44, 58, 0.10);
    color: #6c2c3a;
}

.contact-info-icon-clock {
    background-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.contact-info-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a8d96;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.contact-info-value {
    display: block;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

a.contact-info-value:hover {
    color: var(--color-primary, #1e2365);
}

/* --- Redes sociales (bloque inferior izquierda) --- */

.contact-social-title {
    letter-spacing: 1.5px;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0.6rem;
    background-color: var(--color-primary, #1e2365);
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-social-link:hover,
.contact-social-link:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 35, 101, 0.30);
    background-color: #121543;
    outline: none;
}

/* --- Tarjeta derecha (formulario) --- */

.contact-form-title {
    color: #1a1a2e;
    font-size: 1.75rem;
}

.contact-form-sub {
    font-size: 0.95rem;
}

.form-label-contact {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.form-control-contact {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1a1a2e;
    background-color: #f7f8fb;
    border: 2px solid #e7eaf0;
    border-radius: 0.6rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.form-control-contact:focus {
    outline: none;
    border-color: var(--color-primary, #1e2365);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 35, 101, 0.12);
}

textarea.form-control-contact {
    resize: vertical;
    min-height: 130px;
}

.contact-recaptcha {
    display: flex;
    justify-content: flex-start;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: var(--color-primary, #1e2365);
    border: 2px solid var(--color-primary, #1e2365);
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover:not(:disabled),
.contact-submit-btn:focus:not(:disabled) {
    background-color: #121543;
    border-color: #121543;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 35, 101, 0.30);
    outline: none;
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- Responsive --- */

@media (max-width: 575.98px) {
    .contact-info-title,
    .contact-form-title {
        font-size: 1.4rem;
    }
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem !important;
    }
}


/* =========================================================
   MISIÓN, VISIÓN Y VALORES
   ========================================================= */

.section-mvv {
    background-color: #f5f6f8;
}

.mvv-card {
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10) !important;
}

.mvv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    font-size: 3.25rem;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.06);
}

/* Mision — azul corporativo */
.mvv-icon-mision {
    background: linear-gradient(135deg, #1e2365 0%, #121543 100%);
}

/* Vision — teal */
.mvv-icon-vision {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Valores — dorado / granate (acento) */
.mvv-icon-valores {
    background: linear-gradient(135deg, #b08d57 0%, #8a6a3a 100%);
}

.mvv-title {
    color: #1a1a2e;
    font-size: 1.4rem;
}

.mvv-text {
    font-size: 0.98rem;
    line-height: 1.7;
}

.mvv-text p:last-child {
    margin-bottom: 0;
}

.mvv-text ul,
.mvv-text ol {
    padding-left: 1.2rem;
    margin-bottom: 0.75rem;
}

.mvv-text li {
    margin-bottom: 0.35rem;
}

@media (max-width: 575.98px) {
    .mvv-icon {
        width: 90px;
        height: 90px;
        font-size: 2.75rem;
    }
    .mvv-title {
        font-size: 1.2rem;
    }
}


/* =========================================================
   NOSOTROS — Layout 2 columnas (imagen col-3 + texto col-9)
   ========================================================= */

.section-nosotros {
    background-color: #f5f6f8;
}

.nosotros-figure {
    margin: 0;
    display: flex;
    justify-content: center;
}

.nosotros-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border-radius: 0.85rem;
    background-color: #e9ecef;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}

.nosotros-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-img-wrapper:hover .nosotros-img {
    transform: scale(1.05);
}

.nosotros-content {
    color: #343a40;
    font-size: 1rem;
    line-height: 1.75;
}

.nosotros-content p {
    margin-bottom: 1.1rem;
}

.nosotros-content p:last-child {
    margin-bottom: 0;
}

.nosotros-content h2,
.nosotros-content h3,
.nosotros-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
}

.nosotros-content ul,
.nosotros-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.nosotros-content li {
    margin-bottom: 0.35rem;
}

.nosotros-content a {
    color: var(--color-primary, #1e2365);
    text-decoration: underline;
}

.nosotros-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.nosotros-content blockquote {
    border-left: 4px solid var(--color-primary, #1e2365);
    padding: 0.5rem 1rem;
    margin: 1.25rem 0;
    background-color: rgba(30, 35, 101, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #495057;
}

.nosotros-empty {
    padding: 2rem 0;
}

@media (max-width: 991.98px) {
    .nosotros-img-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .nosotros-img-wrapper {
        max-width: 280px;
    }
    .nosotros-content {
        font-size: 0.95rem;
    }
}


/* =========================================================
   AVISO DE PRIVACIDAD
   ========================================================= */

.section-privacidad {
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 100px;
}

.privacidad-content {
    color: #343a40;
    font-size: 1rem;
    line-height: 1.8;
}

.privacidad-content p {
    margin-bottom: 1.2rem;
}

.privacidad-content p:last-child {
    margin-bottom: 0;
}

.privacidad-content h1,
.privacidad-content h2,
.privacidad-content h3,
.privacidad-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.privacidad-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid var(--color-primary, #1e2365);
    padding-left: 0.9rem;
    margin-top: 2.25rem;
}

.privacidad-content h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
}

.privacidad-content ul,
.privacidad-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.privacidad-content li {
    margin-bottom: 0.5rem;
}

.privacidad-content a {
    color: var(--color-primary, #1e2365);
    text-decoration: underline;
}

.privacidad-content a:hover {
    color: #121543;
}

.privacidad-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.privacidad-content blockquote {
    border-left: 4px solid var(--color-primary, #1e2365);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background-color: rgba(30, 35, 101, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #495057;
}

.privacidad-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.privacidad-content table th,
.privacidad-content table td {
    padding: 0.65rem 0.85rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.privacidad-content table th {
    background-color: #f5f6f8;
    font-weight: 700;
    color: #1a1a2e;
}

.privacidad-empty {
    padding: 2rem 0;
}

@media (max-width: 575.98px) {
    .section-privacidad {
        padding-top: 30px;
        padding-bottom: 60px;
    }
    .privacidad-content {
        font-size: 0.95rem;
    }
    .privacidad-content h2 {
        font-size: 1.25rem;
    }
}


/* =========================================================
   BUSQUEDA DE PROPIEDADES
   ========================================================= */

.busqueda-filters-bar {
    background-color: #ffffff;
}

.form-label-busq {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.form-control-busq {
    display: block;
    width: 100%;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    line-height: 1.3;
    color: #1a1a2e;
    background-color: #f7f8fb;
    border: 1.5px solid #e7eaf0;
    border-radius: 0.45rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    font-family: inherit;
}

.form-control-busq:focus {
    outline: none;
    border-color: var(--color-primary, #1e2365);
    background-color: #ffffff;
}

/* Tabs Venta / Alquiler / Anticresis */
.busq-tabs {
    display: flex;
    border: 1.5px solid #e7eaf0;
    border-radius: 0.45rem;
    overflow: hidden;
    background-color: #f7f8fb;
}

.busq-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.55rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-right: 1.5px solid #e7eaf0;
}

.busq-tab:last-child {
    border-right: none;
}

.busq-tab.active {
    background-color: var(--color-primary, #1e2365);
    color: #ffffff;
}

.busq-tab:hover:not(.active) {
    background-color: #eef0f3;
    color: #1a1a2e;
}

/* Botón GPS */
.btn-gps-busq {
    background-color: #f7f8fb;
    border: 1.5px solid #e7eaf0;
    color: #6c757d;
    padding: 0.55rem 0.85rem;
    border-radius: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    height: calc(0.55rem * 2 + 0.85rem * 2 + 1.5px * 2 + 2px);
    margin-top: 1.45rem;
}

.btn-gps-busq:hover {
    background-color: #eef0f3;
    color: var(--color-primary, #1e2365);
}

/* Botón BUSCAR */
.btn-buscar {
    background-color: #6c2c3a;
    border: 1.5px solid #6c2c3a;
    color: #ffffff;
    padding: 0.55rem 1rem;
    border-radius: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: calc(0.55rem * 2 + 0.85rem * 2 + 1.5px * 2 + 2px);
    margin-top: 1.45rem;
}

.btn-buscar:hover {
    background-color: #521f2b;
    border-color: #521f2b;
}

/* Autocomplete de ubicación */
.busq-ubicacion-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1.5px solid #e7eaf0;
    border-top: none;
    border-radius: 0 0 0.45rem 0.45rem;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.busq-ubicacion-item {
    display: block;
    padding: 0.6rem 0.85rem;
    color: #1a1a2e;
    text-decoration: none;
    border-bottom: 1px solid #f0f1f4;
    font-size: 0.92rem;
    transition: background-color 0.15s ease;
}

.busq-ubicacion-item:last-child {
    border-bottom: none;
}

.busq-ubicacion-item:hover,
.busq-ubicacion-item:focus {
    background-color: #eef0f3;
    color: var(--color-primary, #1e2365);
}

.busq-ubicacion-empty {
    padding: 0.85rem;
    color: #8a8d96;
    font-size: 0.9rem;
    text-align: center;
}

/* Barra de resultados */
.busqueda-results-bar {
    background-color: #ffffff;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.busqueda-results-summary {
    font-size: 0.95rem;
    color: #1a1a2e;
    border-bottom: 3px solid var(--color-primary, #1e2365);
    padding-bottom: 0.4rem;
    display: inline-block;
}

.busqueda-view-controls .btn-view-control {
    background-color: #ffffff;
    border: 1.5px solid #d4d7de;
    color: #1a1a2e;
    padding: 0.4rem 0.85rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.busqueda-view-controls .btn-view-control:hover {
    background-color: #f0f1f4;
    color: var(--color-primary, #1e2365);
}

.busqueda-view-controls .dropdown-menu {
    font-size: 0.88rem;
    border-radius: 0.4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    border: 1px solid #e7eaf0;
}

.busqueda-view-controls .dropdown-item {
    padding: 0.5rem 0.85rem;
    color: #1a1a2e;
}

.busqueda-view-controls .dropdown-item:hover,
.busqueda-view-controls .dropdown-item:focus {
    background-color: #eef0f3;
    color: var(--color-primary, #1e2365);
}

/* Vista COLUMNAS */
.busqueda-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.busqueda-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.busqueda-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.busqueda-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #e9ecef;
    position: relative;
}

.busqueda-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.busqueda-card:hover .busqueda-card-img {
    transform: scale(1.05);
}

.busqueda-card-id {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #6c2c3a;
    color: #ffffff;
    padding: 0.25rem 0.7rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.busqueda-card-tipo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 35, 101, 0.95) 0%, rgba(30, 35, 101, 0) 100%);
    color: #ffffff;
    padding: 1rem 0.85rem 0.7rem;
    text-align: center;
}

.busqueda-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.15rem 0;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.busqueda-card-subtipo {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.busqueda-card-body {
    padding: 0.85rem;
    position: relative;
}

.busqueda-card-price {
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.busqueda-card-price .price-pen {
    color: #6c2c3a;
    font-weight: 700;
    font-size: 0.95rem;
}

.busqueda-card-price .price-usd {
    color: var(--color-primary, #1e2365);
    font-weight: 700;
    font-size: 0.95rem;
}

.busqueda-card-location {
    font-size: 0.78rem;
    color: #6c757d;
    margin-bottom: 0.6rem;
}

.busqueda-card-agent {
    font-size: 0.78rem;
    border-top: 1px solid #eef0f3;
    padding-top: 0.5rem;
}

.busqueda-card-agent-name {
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.busqueda-card-agent-person {
    color: #6c757d;
}

.busqueda-card-agent-photo {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.busqueda-card-wa {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease;
    z-index: 2;
}

.busqueda-card-wa:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Vista LISTADO */
.busqueda-listado-item {
    border: 1px solid #eef0f3;
    transition: box-shadow 0.2s ease;
}

.busqueda-listado-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

.busqueda-listado-img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

.busqueda-listado-price {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.busqueda-listado-price .price-pen {
    color: #6c2c3a;
    font-weight: 700;
    font-size: 1.05rem;
}

.busqueda-listado-price .price-usd {
    color: var(--color-primary, #1e2365);
    font-weight: 700;
    font-size: 1.05rem;
}

.busqueda-listado-location {
    font-size: 0.88rem;
}

.busqueda-listado-agent {
    font-size: 0.88rem;
}

.busqueda-listado-specs {
    font-size: 0.82rem;
    color: #1a1a2e;
}

.busqueda-listado-specs li {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.busqueda-listado-specs li i {
    color: #8a8d96;
    width: 18px;
    text-align: center;
}

.busqueda-listado-agent-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.busqueda-listado-wa {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease;
}

.busqueda-listado-wa:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Vista MAPA */
.busqueda-map {
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.busqueda-map-list {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.busqueda-map-item {
    display: block;
    padding: 0.5rem;
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #eef0f3;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.busqueda-map-item:hover {
    background-color: #f5f6f8;
    border-color: var(--color-primary, #1e2365);
    color: inherit;
}

.busqueda-map-infowindow {
    font-family: inherit;
    font-size: 0.85rem;
    max-width: 260px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .busqueda-card-tipo {
        font-size: 0.7rem;
    }
    .busqueda-listado-img {
        min-height: 200px;
    }
}

@media (max-width: 767.98px) {
    .busq-tabs {
        margin-top: 0;
    }
    .btn-gps-busq,
    .btn-buscar {
        margin-top: 0.5rem;
        height: auto;
    }
    .busqueda-listado-img {
        min-height: 180px;
    }
    .busqueda-listado-specs {
        columns: 1;
    }
}

/* ===========================================================
   SECCIÓN ÚLTIMOS ARTÍCULOS (Home)
   =========================================================== */
.section-ultimos-articulos {
    background-color: #f8f9fa;
}

.section-ultimos-articulos .blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(30, 35, 101, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.section-ultimos-articulos .blog-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-ultimos-articulos .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(30, 35, 101, 0.18);
}

.section-ultimos-articulos .blog-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1e2365;
}

.section-ultimos-articulos .blog-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.section-ultimos-articulos .blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.section-ultimos-articulos .blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.section-ultimos-articulos .blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
}

.section-ultimos-articulos .blog-card-date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary, #1e2365);
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    min-width: 64px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.section-ultimos-articulos .blog-card:hover .blog-card-date-badge {
    background-color: var(--moon-gold, #6c2c3a);
    transform: scale(1.05);
}

.section-ultimos-articulos .blog-card-date-day {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.section-ultimos-articulos .blog-card-date-month {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

.section-ultimos-articulos .blog-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.section-ultimos-articulos .blog-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    color: #1e2365;
    margin-bottom: 18px;
    flex-grow: 1;
}

.section-ultimos-articulos .blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-ultimos-articulos .blog-card-title a:hover {
    color: var(--moon-gold, #6c2c3a);
}

.section-ultimos-articulos .blog-card-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary, #1e2365);
    color: #fff;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.section-ultimos-articulos .blog-card-btn:hover {
    background-color: var(--moon-gold, #6c2c3a);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 6px 14px rgba(108, 44, 58, 0.35);
}

@media (max-width: 575.98px) {
    .section-ultimos-articulos .blog-card-date-badge {
        top: 12px;
        right: 12px;
        padding: 6px 10px;
        min-width: 54px;
    }
    .section-ultimos-articulos .blog-card-date-day {
        font-size: 1.3rem;
    }
}

/* ===========================================================
   LIBRO DE RECLAMACIONES
   =========================================================== */
.reclamaciones-texto-legal {
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 0.95rem;
}
.reclamaciones-texto-legal p { margin-bottom: 1rem; }
.reclamaciones-texto-legal strong,
.reclamaciones-texto-legal b { color: #1e2365; }

.rcm-section-title {
    color: #1e2365;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #1e2365;
    padding-bottom: 6px;
}

/* === Floating label inputs === */
.rcm-float-group {
    position: relative;
    margin-top: 6px;
}
.rcm-input {
    width: 100%;
    height: 56px;
    padding: 22px 16px 8px 16px;
    background: #f2f2f2;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.rcm-input:hover { background: #ececec; }
.rcm-input:focus {
    background: #fff;
    border-color: #1e2365;
    box-shadow: 0 0 0 3px rgba(30, 35, 101, 0.12);
}
.rcm-input:disabled { background: #e9e9e9; color: #9a9a9a; cursor: not-allowed; }

.rcm-float-group .rcm-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c6c6c;
    font-size: 0.95rem;
    pointer-events: none;
    transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
    background: transparent;
    padding: 0 4px;
}
.rcm-float-group .rcm-input:focus + .rcm-label,
.rcm-float-group .rcm-input:not(:placeholder-shown) + .rcm-label,
.rcm-float-group.rcm-float-has-value .rcm-label {
    top: 12px;
    transform: translateY(0);
    font-size: 0.72rem;
    color: #1e2365;
    font-weight: 600;
}

/* Select: misma mecánica. El placeholder="" + option hidden selected disabled consigue el efecto */
.rcm-float-group select.rcm-input {
    padding-right: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231e2365' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}
.rcm-float-group select.rcm-input option { color: #1a1a1a; }

/* Textarea variant */
.rcm-float-textarea .rcm-input {
    height: auto;
    min-height: 110px;
    padding-top: 26px;
    padding-bottom: 8px;
    resize: vertical;
    line-height: 1.45;
}
.rcm-float-textarea .rcm-label { top: 22px; transform: none; }
.rcm-float-textarea .rcm-input:focus + .rcm-label,
.rcm-float-textarea .rcm-input:not(:placeholder-shown) + .rcm-label {
    top: 6px;
    transform: none;
}

/* Date input: el label sube cuando hay valor (Chrome lo marca con :valid) */
.rcm-float-group input[type="date"].rcm-input { padding-top: 22px; }
.rcm-float-group input[type="date"].rcm-input:not(:focus):valid + .rcm-label,
.rcm-float-group input[type="date"].rcm-input:focus + .rcm-label {
    top: 12px;
    transform: translateY(0);
    font-size: 0.72rem;
    color: #1e2365;
    font-weight: 600;
}

/* Checkbox */
.rcm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #1a1a1a;
    font-size: 0.92rem;
    line-height: 1.4;
    cursor: pointer;
}
.rcm-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #1e2365;
    flex-shrink: 0;
}

/* Submit */
.rcm-btn-submit {
    width: 100%;
    background-color: #1e2365;
    color: #fff;
    border: 0;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}
.rcm-btn-submit:hover {
    background-color: #121543;
    box-shadow: 0 6px 18px rgba(30, 35, 101, 0.35);
    transform: translateY(-1px);
}
.rcm-btn-submit:disabled {
    background-color: #6c7393;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .reclamaciones-texto-legal { font-size: 0.9rem; }
    .rcm-section-title { font-size: 0.92rem; }
}

/* ===========================================================
   SÉ UN ASESOR
   =========================================================== */
.sea-hero-sub {
    font-size: 1rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
}
.sea-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}
@media (min-width: 768px) {
    .sea-hero-title { font-size: 3rem; }
}

.se-asesor-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.se-asesor-form-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e2365;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}
.se-asesor-section {
    color: #1e2365;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 28px;
    margin-bottom: 0;
}
.se-asesor-texto-titulo {
    color: #1e2365;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}
.se-asesor-texto {
    color: #6c6c6c;
    line-height: 1.7;
    font-size: 0.95rem;
}
.se-asesor-texto p { margin-bottom: 1rem; }

.sea-static-label {
    display: block;
    color: #6c6c6c;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

/* === Floating label inputs === */
.sea-float-group {
    position: relative;
    margin-top: 18px;
}
.sea-input {
    width: 100%;
    height: 58px;
    padding: 22px 16px 6px 16px;
    background: #f2f2f2;
    border: 1px solid #cfd2d8;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 0.95rem;
    line-height: 1.3;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.sea-input:hover { background: #ececec; }
.sea-input:focus {
    background: #fff;
    border-color: #1e2365;
    box-shadow: 0 0 0 3px rgba(30, 35, 101, 0.12);
}
.sea-input:disabled,
.sea-input[disabled] {
    background: #e9e9e9;
    color: #9a9a9a;
    cursor: not-allowed;
    border-color: #d0d0d0;
}

/* Select: padding extra a la derecha para que el chevron no tape texto */
.sea-input-select {
    padding-right: 42px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231e2365' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    cursor: pointer;
}
.sea-input-select option { color: #1a1a1a; background: #fff; }

/* Label: oculto por defecto, aparece arriba cuando hay valor o foco */
.sea-float-group .sea-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c6c6c;
    font-size: 0.95rem;
    pointer-events: none;
    transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease, font-weight 0.18s ease;
    background: transparent;
    padding: 0 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.sea-float-group .sea-input:focus ~ .sea-label,
.sea-float-group .sea-input:not(:placeholder-shown) ~ .sea-label,
.sea-float-group.sea-float-has-value .sea-label {
    top: -10px;
    transform: translateY(0);
    font-size: 0.72rem;
    color: #1e2365;
    font-weight: 700;
    background: #fff;
}

/* Textarea variant */
.sea-float-textarea .sea-input {
    height: auto;
    min-height: 160px;
    padding: 28px 16px 10px 16px;
    resize: vertical;
    line-height: 1.5;
}
.sea-float-textarea .sea-label { top: 24px; }
.sea-float-textarea .sea-input:focus ~ .sea-label,
.sea-float-textarea .sea-input:not(:placeholder-shown) ~ .sea-label {
    top: -10px;
    transform: translateY(0);
}

/* Submit */
.sea-btn-submit {
    background-color: #d8232a;
    color: #fff;
    border: 0;
    padding: 14px 44px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}
.sea-btn-submit:hover {
    background-color: #b51c22;
    box-shadow: 0 6px 18px rgba(216, 35, 42, 0.35);
    transform: translateY(-1px);
}
.sea-btn-submit:disabled {
    background-color: #c9a8aa;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .se-asesor-card { padding: 28px 20px; }
    .sea-hero-title { font-size: 1.8rem; }
}

/* ===========================================================
   MI JETZA — LOGIN OFICINAS / ASESORES
   =========================================================== */
.mijetza-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(30, 35, 101, 0.10);
    padding: 48px 44px;
}
.mijetza-card-header { margin-bottom: 32px; text-align: center; }
.mijetza-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e2365;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.mijetza-subtitle {
    color: #6c6c6c;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.mijetza-tipo { margin-bottom: 22px; }
.mijetza-static-label {
    display: block;
    color: #6c6c6c;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

/* Tabs segmentados para radio Oficina/Asesor */
.mijetza-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mijetza-tabs input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.mijetza-tabs label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: #f2f2f2;
    border: 2px solid transparent;
    border-radius: 8px;
    color: #6c6c6c;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mijetza-tabs label:hover { background: #ececec; color: #1e2365; }
.mijetza-tabs input[type="radio"]:checked + label {
    background: #1e2365;
    color: #fff;
    border-color: #1e2365;
}

/* Inputs con padding generoso dentro del card */
.mijetza-card .sea-float-group { margin-top: 22px; }
.mijetza-card .sea-input {
    background: #f8f9fa;
    border-color: #dfe2e8;
}
.mijetza-card .sea-input:focus { background: #fff; }

/* Quitar el fondo amarillo de Chrome autofill */
.mijetza-card .sea-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #f8f9fa inset !important;
    -webkit-text-fill-color: #1a1a1a !important;
}
.mijetza-card .sea-input:focus:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}

/* reCAPTCHA centrada */
.mijetza-recaptcha {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

/* Botón submit */
.mijetza-btn-submit {
    margin-top: 26px;
    width: 100%;
    background-color: #d8232a;
    color: #fff;
    border: 0;
    padding: 15px 20px;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}
.mijetza-btn-submit:hover {
    background-color: #b51c22;
    box-shadow: 0 8px 20px rgba(216, 35, 42, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .mijetza-card { padding: 32px 22px; }
    .mijetza-title { font-size: 1.35rem; }
}

/* ── Logo de JETZA en las tarjetas de propiedades (a la derecha del precio) ── */
.card-precio-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}
.card-precio-logo > .busqueda-card-price,
.card-precio-logo > .busqueda-listado-price {
    margin-bottom: 0;
}
.card-logo-jetza {
    width: 64px;
    height: auto;
    flex-shrink: 0;
}
