/* =============================================================================
   custom.css — Estilos personalizados de Gestión Inmobiliaria
   Generado automáticamente. Agrupa todos los estilos de las vistas:
     • Propiedades.php  (filtros, grid de tarjetas, paginación)
     • Propiedad.php    (detalle de propiedad, galería, sidebar)
     • Header.php       (botón de búsqueda global, modal de búsqueda)
============================================================================= */


/* =============================================================================
   1. PÁGINA PROPIEDADES — Filtros con Glassmorphism
============================================================================= */

.filter-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 28, 0, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
    transition: all 0.4s ease;

    padding: 35px;
}

.filter-card:hover {
    box-shadow: 0 20px 45px rgba(212, 28, 0, 0.12);
    border-color: rgba(212, 28, 0, 0.2);
}

.filter-title {
    font-family: "Libre Caslon Text", serif;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    font-size: 20px;
    border-left: 4px solid var(--yea-base, #d41c00);
    padding-left: 12px;
    line-height: 1.2;
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.filter-input-group {
    position: relative;
}

.filter-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

.filter-control {
    width: 100%;
    height: 50px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 15px 10px 40px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-control:focus {
    background: #fff;
    border-color: var(--yea-base, #d41c00);
    box-shadow: 0 0 0 3px rgba(212, 28, 0, 0.15);
}

select.filter-control {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}


/* =============================================================================
   2. PÁGINA PROPIEDADES — Grid y Tarjetas de Propiedades
============================================================================= */

.properties-section {
    padding-bottom: 90px;
}

.properties-counter {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    font-weight: 600;
}

.properties-counter span {
    color: var(--yea-base, #d41c00);
    font-weight: 800;
}

.property-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 28, 0, 0.15);
    border-color: rgba(212, 28, 0, 0.25);
}

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 230px;
    background: #eaeaea;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.property-card:hover .property-img {
    transform: scale(1.08);
}

.badge-featured {
    background: var(--yea-base, #d41c00);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(212, 28, 0, 0.3);
    letter-spacing: 0.5px;
}

.badge-transaction {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    letter-spacing: 0.5px;
}

.property-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-category {
    font-size: 11px;
    font-weight: 800;
    color: #d41c00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.property-price {
    color: #111;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: "Libre Caslon Text", serif;
}

.property-price-remate {
    font-size: 14px;
    text-decoration: line-through;
    color: #999;
    font-weight: 500;
    margin-left: 8px;
}

.property-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 10px;
    transition: color 0.3s;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.property-card:hover .property-title {
    color: var(--yea-base, #d41c00);
}

.property-address {
    font-size: 13.5px;
    color: #666;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-address i {
    color: var(--yea-base, #d41c00);
    flex-shrink: 0;
}

.property-specs {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: auto;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.spec-item i {
    color: #999;
    font-size: 14px;
}

.property-btn {
    background: transparent;
    color: #111 !important;
    border: 2px solid #111;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 15px;
    cursor: pointer;
    outline: none;
}

.property-card:hover .property-btn {
    background: #111;
    color: #fff !important;
}

.property-btn:hover {
    background: var(--yea-base, #d41c00) !important;
    border-color: var(--yea-base, #d41c00) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(212, 28, 0, 0.25);
}


/* =============================================================================
   3. PÁGINA PROPIEDADES — Mensaje "Sin Resultados"
============================================================================= */

.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #fdfdfd;
    border: 2px dashed #e5e5e5;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 600px;
}

.no-results-icon {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.no-results-text {
    font-size: 15px;
    color: #777;
}


/* =============================================================================
   4. PÁGINA PROPIEDADES — Paginación Premium
============================================================================= */

.pagination-wrapper {
    gap: 8px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.pagination-btn:hover {
    background: #f5f5f5;
    color: var(--yea-base, #d41c00);
    border-color: var(--yea-base, #d41c00);
}

.pagination-btn.active {
    background: var(--yea-base, #d41c00);
    color: #fff;
    border-color: var(--yea-base, #d41c00);
    box-shadow: 0 4px 10px rgba(212, 28, 0, 0.25);
}

.pagination-btn.disabled {
    background: #f9f9f9;
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
    pointer-events: none;
}


/* =============================================================================
   5. PÁGINA PROPIEDAD (DETALLE) — Sección general
============================================================================= */

.property-detail-section {
    padding-top: 60px;
    padding-bottom: 90px;
    background: #fdfdfd;
}


/* =============================================================================
   6. PÁGINA PROPIEDAD (DETALLE) — Slider de Galería
============================================================================= */

.property-gallery-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    background: #000;
}

.property-gallery-wrapper .swiper-container {
    width: 100%;
    height: 550px;
}

.property-gallery-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.property-gallery-wrapper img:hover {
    transform: scale(1.03);
}

/* Botones de navegación Swiper */
.swiper-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-nav-button:hover {
    background: var(--yea-base, #d41c00);
    color: #fff;
    border-color: var(--yea-base, #d41c00);
    box-shadow: 0 4px 15px rgba(212, 28, 0, 0.3);
}

#property-gallery-prev {
    left: 20px;
}

#property-gallery-next {
    right: 20px;
}

.property-gallery-wrapper .swiper-pagination-bullets {
    bottom: 20px;
}

.property-gallery-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.property-gallery-wrapper .swiper-pagination-bullet-active {
    background: var(--yea-base, #d41c00);
    opacity: 1;
    width: 24px;
    border-radius: 6px;
}

/* Insignias de la Galería */
.gallery-badge-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.gallery-badge-featured {
    background: var(--yea-base, #d41c00);
    color: #fff;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(212, 28, 0, 0.3);
    letter-spacing: 0.5px;
}

.gallery-badge-transaction {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.gallery-badge-remate {
    background: #e53935;
    color: #fff;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
    letter-spacing: 0.5px;
}


/* =============================================================================
   7. PÁGINA PROPIEDAD (DETALLE) — Información General
============================================================================= */

/* Nota: .property-category, .property-title, .property-address y .property-address i
   ya están definidos en la sección 2 (Propiedades). Los estilos del detalle los
   sobreescriben a continuación dado que se aplican en un contexto de página completa. */

.property-detail-section .property-category {
    font-size: 13px;
    font-weight: 800;
    color: var(--yea-base, #d41c00);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.property-detail-section .property-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 34px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin-bottom: 15px;
    height: auto;
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
}

.property-detail-section .property-address {
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.property-detail-section .property-address i {
    color: var(--yea-base, #d41c00);
    font-size: 18px;
}

/* Caja de Precio */
.price-box {
    background: #fdf5f4;
    border-left: 5px solid var(--yea-base, #d41c00);
    padding: 20px 25px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.price-label {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-family: "Libre Caslon Text", serif;
    font-size: 32px;
    font-weight: 800;
    color: #111;
}

.price-original {
    font-size: 18px;
    text-decoration: line-through;
    color: #999;
    font-weight: 500;
    margin-left: 12px;
}


/* =============================================================================
   8. PÁGINA PROPIEDAD (DETALLE) — Grid de Especificaciones
============================================================================= */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 28, 0, 0.2);
    box-shadow: 0 10px 25px rgba(212, 28, 0, 0.06);
}

.spec-card-icon {
    font-size: 26px;
    color: var(--yea-base, #d41c00);
    margin-bottom: 12px;
}

.spec-card-value {
    font-family: "Libre Caslon Text", serif;
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
}

.spec-card-label {
    font-size: 12px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
}


/* =============================================================================
   9. PÁGINA PROPIEDAD (DETALLE) — Descripción y Secciones
============================================================================= */

.section-title-premium {
    font-family: "Libre Caslon Text", serif;
    font-weight: 800;
    font-size: 22px;
    color: #111;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    position: relative;
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--yea-base, #d41c00);
}

.property-desc-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}


/* =============================================================================
   10. PÁGINA PROPIEDAD (DETALLE) — Sidebar y Tarjeta de Asesor
============================================================================= */

.sidebar-sticky-wrapper {
    position: sticky;
    top: 110px;
}

.agent-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 28, 0, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s;
}

.agent-card:hover {
    border-color: rgba(212, 28, 0, 0.2);
    box-shadow: 0 20px 45px rgba(212, 28, 0, 0.12);
}

.agent-photo-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: #eaeaea;
}

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

.agent-name {
    font-family: "Libre Caslon Text", serif;
    font-weight: 800;
    font-size: 20px;
    color: #111;
    margin-bottom: 4px;
}

.agent-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--yea-base, #d41c00);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    display: block;
}

.agent-contact-info {
    border-top: 1px solid #eee;
    padding-top: 18px;
    text-align: left;
    margin-bottom: 25px;
}

.agent-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: #555;
    margin-bottom: 12px;
}

.agent-contact-item:last-child {
    margin-bottom: 0;
}

.agent-contact-item i {
    color: var(--yea-base, #d41c00);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.agent-contact-item a {
    color: #555;
    transition: color 0.3s;
}

.agent-contact-item a:hover {
    color: var(--yea-base, #d41c00);
}

/* Botones de Conversión */
.btn-wa-premium {
    background: #25d366;
    color: #fff !important;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-wa-premium:hover {
    background: #128c7e;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-email-premium {
    background: #111;
    color: #fff !important;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-email-premium:hover {
    background: var(--yea-base, #d41c00);
    box-shadow: 0 5px 20px rgba(212, 28, 0, 0.3);
    transform: translateY(-2px);
}


/* =============================================================================
   11. HEADER — Botón de Búsqueda Global
============================================================================= */

.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #d41c00;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 12px;
    position: relative;
    outline: none;
}

.header-search-btn:hover {
    background: var(--yea-base, #d41c00);
    border-color: var(--yea-base, #d41c00);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 28, 0, 0.4);
}

.header-search-btn .search-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(212, 28, 0, 0.5);
    animation: searchPulse 2s infinite;
}

@keyframes searchPulse {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}


/* =============================================================================
   12. HEADER — Modal de Búsqueda Global
============================================================================= */

/* Overlay */
.global-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.global-search-overlay.active {
    display: flex;
    opacity: 1;
}

/* Tarjeta del modal */
.global-search-card {
    background: rgba(18, 18, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    width: 100%;
    max-width: 720px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.global-search-overlay.active .global-search-card {
    transform: translateY(0) scale(1);
}

/* Botón cerrar */
.global-search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    outline: none;
}

.global-search-close:hover {
    background: var(--yea-base, #d41c00);
    border-color: var(--yea-base, #d41c00);
    color: #fff;
    transform: rotate(90deg);
}

/* Encabezado del modal */
.global-search-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yea-base, #d41c00);
    margin-bottom: 12px;
    display: block;
}

.global-search-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.global-search-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 36px;
}

/* Input principal */
.global-search-main-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.global-search-main-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--yea-base, #d41c00);
    pointer-events: none;
}

.global-search-main-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px 20px 20px 62px;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.global-search-main-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.global-search-main-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--yea-base, #d41c00);
    box-shadow: 0 0 0 4px rgba(212, 28, 0, 0.15);
}

/* Filtros secundarios */
.global-search-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.global-search-filter-label {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.global-search-filter-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    padding-right: 36px;
}

.global-search-filter-select option {
    background: #1a1a2e;
    color: #fff;
}

.global-search-filter-select:focus {
    border-color: var(--yea-base, #d41c00);
    box-shadow: 0 0 0 3px rgba(212, 28, 0, 0.15);
}

/* Botón CTA del modal */
.global-search-submit {
    width: 100%;
    padding: 18px;
    background: var(--yea-base, #d41c00);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: "Libre Caslon Text", serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(212, 28, 0, 0.35);
}

.global-search-submit:hover {
    background: #b91600;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 28, 0, 0.5);
}

.global-search-submit i {
    font-size: 18px;
}

/* Sugerencias rápidas */
.search-quick-links {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-quick-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}

.search-quick-tag {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.search-quick-tag:hover {
    background: rgba(212, 28, 0, 0.2);
    border-color: var(--yea-base, #d41c00);
    color: #fff;
}


/* =============================================================================
   13. RESPONSIVE — Media Queries
============================================================================= */

/* Detalle de Propiedad */
@media (max-width: 991px) {
    .property-gallery-wrapper .swiper-container {
        height: 400px;
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sidebar-sticky-wrapper {
        position: relative;
        top: 0;
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .property-gallery-wrapper .swiper-container {
        height: 300px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .property-detail-section .property-title {
        font-size: 26px;
    }
}

/* Modal de Búsqueda */
@media (max-width: 767px) {
    .global-search-card {
        padding: 30px 20px;
    }
    .global-search-title {
        font-size: 24px;
    }
    .global-search-filters {
        grid-template-columns: 1fr;
    }
}
