/* Estilos para Cecilia Valle Propiedades - Clon del sitio original */

/* Variables de color del tema original */
:root {
    --primary-color: #f26c61;  /* Color principal rojo/coral */
    --secondary-color: #5277a3; /* Color secundario azul */
    --dark-color: #333333;
    --light-gray: #777777;
    --bg-light: #f6f7f9;
    --bg-white: #ffffff;
    --top-bar-bg: #5277a3;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5em;
    font-weight: normal;
    color: var(--dark-color);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2em;
    color: var(--dark-color);
    margin: 0 0 20px;
    font-family: 'Open Sans', sans-serif;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }
h6 { font-size: 14px; }

a {
    color: var(--secondary-color);
    text-decoration: none;
    outline: none !important;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.theme-color {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header - Banner 1: no fijo, se desliza con la página */
.main-header {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* Banner landing (solo en index): transparente sobre el hero, logo y texto blanco (como original header-style-v2) */
.main-header--hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1000;
}
body.page-index main {
    padding-top: 0;
}
.main-header--hero .navbar {
    background: transparent !important;
    --bs-navbar-color: rgba(255, 255, 255, 0.95);
    --bs-navbar-hover-color: #fff;
    --bs-navbar-active-color: #fff;
}
.main-header--hero .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}
.main-header--hero .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    opacity: 1;
}
/* Logo blanco visible sobre hero oscuro; imagen con fondo transparente o filter para versión clara */
.main-header--hero .header-logo-img {
    filter: brightness(0) invert(1);
}
.main-header--hero .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.main-header--hero .navbar-toggler {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Móvil: banner blanco fijo desde el primer ingreso (como sitio de referencia) */
@media (max-width: 768px) {
    body.page-index .main-header--hero {
        position: relative;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    }
    body.page-index .main-header--hero .navbar {
        background: #fff !important;
    }
    body.page-index .main-header--hero .navbar-nav .nav-link {
        color: var(--dark-color) !important;
    }
    body.page-index .main-header--hero .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }
    body.page-index .main-header--hero .header-logo-img {
        filter: none;
    }
    body.page-index .main-header--hero .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    body.page-index .main-header--hero .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.3) !important;
    }
    /* En móvil no mostrar el segundo banner fijo (ya usamos el primero como blanco) */
    body.page-index #header-fixed {
        display: none !important;
    }
}

/* Banner en páginas internas (mismo header, estilo blanco) */
.main-header--scrolled {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.main-header--scrolled .nav-link {
    color: var(--dark-color) !important;
}

/* Botón CONTÁCTANOS: estilo original (font 13px, altura ~44px, con icono) */
.btn-contactanos {
    background: var(--primary-color);
    color: #fff !important;
    font-weight: 500;
    font-size: 13px;
    padding: 0 24px;
    height: 44px;
    line-height: 42px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-contactanos:hover {
    background: #e55a50;
    border-color: #e55a50;
    color: #fff;
}
.btn-contactanos i {
    font-size: 15px;
    transition: transform 0.2s ease;
}
.btn-contactanos:hover i {
    transform: translateX(4px);
}
.btn-contactanos--fixed i {
    font-size: 15px;
}

/* Banner 2: fijo, aparece al hacer scroll; fondo blanco, texto oscuro */
.main-header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.main-header--fixed .nav-link--dark {
    color: var(--dark-color) !important;
    font-weight: 500;
}
.main-header--fixed .nav-link--dark:hover {
    color: var(--primary-color) !important;
}
.main-header--fixed .header-logo-img {
    filter: none;
}
.main-header--fixed.main-header--hidden {
    transform: translateY(-100%);
    pointer-events: none;
}
.btn-contactanos--fixed {
    background: var(--primary-color);
    color: #fff !important;
}

.navbar-brand img,
.header-logo-img {
    max-height: 60px;
    height: auto;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section - Gradiente como el original con imagen de fondo */
.hero-section {
    background: linear-gradient(135deg, rgba(242, 108, 97, 0.9) 0%, rgba(82, 119, 163, 0.9) 100%),
                url('../images/hero-bg.jpg') center center / cover no-repeat;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 108, 97, 0.85) 0%, rgba(82, 119, 163, 0.85) 100%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-section .lead {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
}

/* Formulario de búsqueda en hero */
.search-form {
    background: var(--bg-white);
    padding: 35px 40px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: fadeInUp 1.2s ease;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.search-form .form-select,
.search-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form .form-select:focus,
.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(242, 108, 97, 0.1);
    outline: none;
}

.search-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-form .btn-primary:hover {
    background-color: #d85a4f;
    border-color: #d85a4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 108, 97, 0.3);
}

/* Propiedades Destacadas */
.featured-properties {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.featured-properties h2 {
    font-family: 'Open Sans', sans-serif;
    color: rgb(19, 79, 120);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.featured-properties h2 .theme-color {
    color: rgb(19, 79, 120) !important;
}

.featured-properties h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Property Cards */
.property-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-white);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.6s ease;
    animation-fill-mode: both;
    position: relative;
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.property-card .card-img-top {
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.property-card:hover .card-img-top {
    transform: scale(1.15);
}

.property-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(242, 108, 97, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.property-card:hover .card-img-top::after {
    opacity: 1;
}

.property-card .card-body {
    padding: 18px 20px;
}

.property-card .badge {
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background-color: #5cbf7b !important;
}

.badge.bg-info {
    background-color: var(--secondary-color) !important;
}

.property-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: rgb(19, 79, 120);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
}

.property-card .text-muted {
    color: var(--light-gray) !important;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-details {
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.property-details i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 16px;
}

/* Precio de propiedad: azul R19 G79 B120 */
.precio-propiedad {
    color: rgb(19, 79, 120) !important;
    font-weight: 700;
    margin-bottom: 20px;
}
.property-card .precio-propiedad {
    font-size: 24px;
}
.card-body .precio-propiedad,
.property-details-card .precio-propiedad {
    font-size: 1.75rem;
}

.property-card .text-primary {
    color: var(--primary-color) !important;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.property-card .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.property-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 108, 97, 0.3);
}

/* Bloque Bienvenidos - web_base (vc_custom_heading: h2 center, Open Sans 600; p center) */
.welcome-section {
    padding: 40px 0;
    background-color: #f6f7f9;
}
.welcome-section__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    color: rgb(19, 79, 120);
    text-align: center;
    margin-bottom: 1rem;
}
.welcome-section__p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Sección Nosotras - réplica web_base (iw-heading style1 .iwh-title + wpb_text_column + vc_box_shadow vc_box_border_grey) */
.about-section {
    padding: 80px 0;
    background-color: #f6f7f9;
}

.about-section__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    line-height: 2;
    color: rgb(19, 79, 120);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    text-align: center;
}

.about-section__p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

.about-section__p:last-of-type {
    margin-bottom: 0;
}

.about-section__name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #333333;
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.about-section .profile-image-wrapper {
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.about-section .profile-image {
    border-radius: 0;
}

/* Servicios - web_base: título SERVICIOS (iwh-title style1) + 4 bloques h3 25px + p justify */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.services-section__main-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    line-height: 2;
    color: rgb(19, 79, 120);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 40px;
}

.services-block__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
    margin: 0 0 10px;
}

.services-block__p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

/* Por qué preferirnos - web_base: imagen izq, contenido der (fondo oscuro, título + ítems con icono) */
.por-que-preferirnos-section {
    background-color: #2d2d2d;
    color: #ffffff;
}

.por-que-preferirnos__img-wrap {
    min-height: 300px;
    background: #1a1a1a;
}
.por-que-preferirnos__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.por-que-preferirnos__content {
    padding: 60px 50px 60px 40px;
}

.por-que-preferirnos__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 10px;
}

.por-que-preferirnos__title .theme-color {
    color: var(--primary-color);
}

.por-que-preferirnos__subtitle {
    font-size: 16px;
    color: #777777;
    margin-bottom: 30px;
}

.por-que-preferirnos__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.por-que-preferirnos__list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc;
}

.por-que-preferirnos__list li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Gestión - original: fondo blanco, 3 cajas con colores distintos (azul, coral, verde); texto blanco dentro de cada caja */
.gestion-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.gestion-section__main-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    line-height: 2;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: rgb(19, 79, 120);
    margin: 0 0 15px;
}

.gestion-section__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: center;
    color: #555555;
    margin: 0 0 50px;
}

.gestion-cards {
    margin-top: 0;
}

.gestion-card {
    padding: 40px 24px;
    text-align: center;
    height: 100%;
    border-radius: 4px;
    color: #ffffff;
}

/* Tarjeta 1: azul apagado */
.gestion-card--blue {
    background-color: #6a8dad;
}

/* Tarjeta 2: coral/rosa apagado */
.gestion-card--coral {
    background-color: #ed9081;
}

/* Tarjeta 3: verde apagado */
.gestion-card--green {
    background-color: #62b189;
}

.gestion-card__icon-wrap {
    margin-bottom: 20px;
}
.gestion-card__icon-wrap img {
    max-width: 75px;
    height: auto;
    filter: brightness(0) invert(1);
}

.gestion-card__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.gestion-card__p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-align: center;
}

/* Sección Contáctanos (fondo oscuro como sitio original) */
.contact-section {
    background-color: #2d2d2d;
    color: #ffffff;
}
.contact-section .btn-contactanos {
    background: var(--primary-color);
    color: #fff !important;
}

/* Botón "Contactar por WhatsApp" en sección contacto: verde corporativo WhatsApp */
.contact-section .btn-whatsapp-cta {
    background: #25D366 !important;
    color: #fff !important;
    border: none;
}
.contact-section .btn-whatsapp-cta:hover {
    background: #20BA5A !important;
    color: #fff !important;
}

/* Footer */
.main-footer {
    background-color: #2d2d2d !important;
    color: #ffffff;
    padding: 60px 0 30px;
}

.main-footer h5,
.main-footer .widget-title {
    color: #004D74;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}
.main-footer h5:first-child,
.main-footer .footer-brand-title {
    color: #ffffff;
}

.main-footer .footer-horario-title {
    color: #ffffff !important;
}

.main-footer a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: var(--primary-color) !important;
}

.main-footer .list-unstyled li {
    margin-bottom: 10px;
}

.main-footer .footer-credits-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section .lead {
        font-size: 16px;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .featured-properties,
    .about-section,
    .services-section {
        padding: 50px 0;
    }
    
    .featured-properties h2,
    .services-section h2 {
        font-size: 28px;
    }
}

/* Efectos adicionales */
.property-card {
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.property-card:hover::before {
    transform: scaleX(1);
}

/* Botones */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d85a4f;
    border-color: #d85a4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 108, 97, 0.3);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* ============================================================================
   RESPONSIVE DESIGN - Inteligencia de Negocios
   ============================================================================ */

/* Ajustes para móviles */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    
    .property-card {
        margin-bottom: 20px;
    }
    
    .card-img-top {
        height: 200px !important;
    }
    
    .hero-slider {
        height: 75vh;
        min-height: 520px;
    }
    
    /* Título: posición coordinada con logo (logo ~20% más grande, título desde 44vh) */
    .hero-content {
        padding-top: 44vh;
        padding-right: 0;
        padding-bottom: 16px;
        padding-left: 0;
    }
    
    .search-form {
        padding: 15px !important;
    }
    
    .flip-box-service {
        margin-bottom: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        height: 600px;
    }
    
    .property-card {
        margin-bottom: 25px;
    }
}

/* Mejoras de accesibilidad y usabilidad */
.btn-action:focus,
.whatsapp-float-btn:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

/* Animaciones suaves para interacciones */
.property-card,
.btn-action,
.whatsapp-float {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mejoras de contraste para legibilidad */
.text-muted {
    color: #6c757d !important;
}

.badge {
    font-weight: 600;
    padding: 6px 12px;
}

/* Loading animation para imágenes */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img.loading {
    opacity: 0;
}

/* Animación de entrada escalonada para tarjetas */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: slideInUp 0.6s ease backwards;
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }
