﻿/* =============================================
   THE EXCLUSIVE COLLECTION - STYLES.CSS
   Version: 2.1 - Con Variables CSS y Mejoras Técnicas
   ============================================= */

html {
    scroll-behavior: smooth;
}

:root {
    /* Colors */
    --primary: #0A1F44;
    --primary-hover: #0d2a5c;
    --text-main: #2c2c2c;
    --text-muted: #666;
    --text-light: #999;
    --bg-light: #fafafa;
    --bg-white: #fff;
    --border-color: rgba(0, 0, 0, 0.05);
    --selection-bg: var(--primary);

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Crimson Text', serif;

    /* Transitions */
    --transition-standard: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--selection-bg);
    color: #fff;
}

body {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-main);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* HEADER ULTRA MINIMALISTA */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    flex-direction: column;
    padding: 15px 50px 0;
    max-width: 1600px;
    margin: 0 auto;
}

.header-top {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.header-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    padding-top: 10px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.nav-center {
    display: flex;
    gap: 45px;
}

.nav-center a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.4s ease;
    position: relative;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 0.5px;
    background: #0A1F44;
    transition: width 0.4s ease;
}

.nav-center a:hover,
.nav-center a.active {
    color: #0A1F44;
}

.nav-center a:hover::after,
.nav-center a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-btn {
    background: #0A1F44;
    color: #fff;
    border: none;
    padding: 11px 28px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-btn:hover {
    background: #0d2a5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Custom Select Wrapper for Filters */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper .select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    color: #666;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 11px 15px;
    padding-right: 40px;
    border: 1px solid #e0e0e0;
    background: white;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s;
    line-height: 1.5;
    height: 45px;
    border-radius: 0;
}

.filter-select:focus {
    outline: none;
    border-color: #0A1F44;
}

/* LANGUAGE SELECTOR - Dropdown Elegante */
.lang-selector {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.lang-current:hover {
    color: #0A1F44;
}

.lang-current svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.lang-selector:hover .lang-current svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-option:hover {
    background: #f8f8f8;
    color: #0A1F44;
}

.lang-option.active {
    color: #0A1F44;
    font-weight: 500;
}

.lang-option.active::after {
    content: '';
    margin-left: auto;
    font-size: 11px;
}

.lang-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
}

/* HAMBURGER MENU */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 1.5px;
    background: #0A1F44;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: auto;
}

.mobile-nav a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #0A1F44;
}

.mobile-menu-footer {
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.mobile-contact-btn {
    width: 100%;
    background: #0A1F44;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.mobile-contact-btn:hover {
    background: #0d2a5c;
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* HERO SECTION EXCLUSIVE */
.hero {
    margin-top: 120px;
    position: relative;
    width: 100%;
    padding: 80px 50px 120px;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Crimson Text', serif;
    font-size: 52px;
    font-weight: 400;
    color: #0A1F44;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

/* SEARCH BAR MINIMALISTA */
.search-section {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.search-left {
    flex: 0 0 300px;
}

.search-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.search-tab {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.search-tab.active {
    color: #0A1F44;
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: #0A1F44;
}

.search-input-group {
    position: relative;
    margin-bottom: 15px;
}

.search-input {
    width: 100%;
    padding: 15px 40px 15px 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    font-weight: 300;
    background: transparent;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0A1F44;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
}

.search-btn svg {
    width: 20px;
    height: 20px;
    stroke: #0A1F44;
    stroke-width: 1.5;
}

/* =============================================
   PROPERTY SHOWCASE / HERO SLIDER
   FIX RESPONSIVE INTEGRADO
   ============================================= */
.property-showcase {
    flex: 1;
    position: relative;
    height: 500px;
    min-height: 500px;
    overflow: hidden;
    background: #f8f8f8;
    width: 100%;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 25px 30px;
    max-width: 300px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.property-location {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.property-price {
    font-size: 22px;
    font-weight: 300;
    color: #0A1F44;
    letter-spacing: -0.5px;
}

.property-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.property-card-price {
    font-family: 'Crimson Text', serif;
    font-size: 22px;
    font-weight: 300;
    color: #0A1F44;
    letter-spacing: -0.5px;
    margin: 0;
}

.property-card-reference {
    font-family: 'Crimson Text', serif;
    font-size: 22px;
    font-weight: 300;
    color: #0A1F44;
    letter-spacing: -0.5px;
}

.page-header {
    margin-top: 120px;
    background: #fff;
    padding: 60px 20px 50px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Crimson Text', serif;
    font-size: 48px;
    font-weight: 400;
    color: #0A1F44;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   SECTION: BUYING PAGE FILTERS & CARDS
   (Refactored from inline CSS)
   ============================================= */

/* Filters Section */
.filters-section {
    background: #fff;
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 65px;
    z-index: 100;
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
}

.filters-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #e0e0e0;
    background: white;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s;
    line-height: 1.5;
    height: 45px;
    border-radius: 0;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #0A1F44;
}

.btn-filter {
    padding: 12px 30px;
    background: #0A1F44;
    color: white;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-filter:hover {
    background: #0d2a5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-clear {
    padding: 12px 20px;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-clear:hover {
    border-color: #0d2a5c;
    color: #0d2a5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Results Section */
.results-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.results-count strong {
    color: #000;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

/* Property Card Styles */
.property-card {
    background: white;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.property-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.property-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.property-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.property-card:hover .property-card-img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    z-index: 2;
}

.property-badge-new {
    background: rgba(10, 31, 68, 0.9);
}

.property-badge-exclusive {
    background: rgba(179, 151, 118, 0.95);
}

.property-badge-sold {
    background: rgba(180, 60, 60, 0.9);
}

.property-badge-default {
    background: rgba(10, 31, 68, 0.85);
}

/* Ribbon diagonal — tag de estado comercial (property_tags) */
.property-ribbon-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 130px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
.property-ribbon-right span {
    display: block;
    position: absolute;
    width: 200px;
    padding: 8px 0;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    top: 32px;
    right: -50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.property-card-body {
    padding: 22px 20px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-card-location {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0A1F44;
    margin-bottom: 8px;
    font-weight: 500;
}

.property-card-location::before {
    content: "•";
    margin-right: 8px;
    color: #0A1F44;
}

.property-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #888;
    margin-bottom: 15px;
    flex: 1;
}



.property-card-features {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 12px;
}

/* States */
.loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #0A1F44;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-state p {
    color: #888;
    font-size: 14px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-results h3 {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.no-results p {
    color: #888;
}

.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}


/* =============================================
   HERO SLIDER - ESTILOS DEL CARRUSEL
   ============================================= */

/* Loading state */
.hero-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.hero-loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-top-color: #0A1F44;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Contenedor de slides */
.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide individual */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Badge del slide */
.hero-slide-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
}

/* Overlay - Texto blanco sobre imagen SIN fondo */
.hero-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 20;
}

/* Referencia */
.hero-overlay-reference {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Ubicación */
.hero-overlay-location {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Precio */
.hero-overlay-price {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Controles del slider */
.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

.hero-slider-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #0A1F44;
}

.hero-slider-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Dots */
.hero-slider-dots {
    display: flex;
    gap: 8px;
    padding: 0 10px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-slider-dot.active {
    background: #0A1F44;
}

/* Ken Burns effect */
.hero-slide.active .hero-slide-image {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* PROPERTY CARDS SECTION */
.properties-section {
    padding: 30px 50px 80px;
}

.properties-container {
    max-width: 1600px;
    margin: 0 auto;
}

.property-cards {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.property-card {
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.property-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.property-card:hover .property-card-image {
    transform: scale(1.05);
}

.property-card-content {
    padding: 25px 20px 30px;
    text-align: center;
}

.property-card-title {
    font-size: 15px;
    font-weight: 400;
    color: #888;
    margin-bottom: 10px;
}

.property-card-details {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.property-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #0A1F44;
    text-decoration: none;
    margin-top: 10px;
    transition: gap 0.3s ease;
}

.property-card-link:hover {
    gap: 12px;
}

/* SERVICE CARDS (index page) */
.service-cards {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.service-card-wrapper {
    flex: 1;
    display: flex;
    text-decoration: none;
    color: inherit;
}

.service-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.service-card-wrapper:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.service-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-wrapper:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-content {
    flex: 1;
    padding: 25px 20px 30px;
    text-align: center;
}

.service-card-title {
    font-size: 15px;
    font-weight: 400;
    color: #0A1F44;
    margin-bottom: 10px;
}

.service-card-details {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #0A1F44;
    text-decoration: none;
    margin-top: 10px;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 12px;
}

/* DIVIDER */
.divider {
    width: 40px;
    height: 1px;
    background: #0A1F44;
    margin: 100px auto;
}

/* BENEFITS SECTION */
.benefits {
    padding: 80px 50px;
    background: #fafafa;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefits-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
}

.benefits-title {
    font-family: 'Crimson Text', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0A1F44;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.benefits-description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.benefits-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: #0A1F44;
    stroke-width: 0.8;
    fill: none;
}

.benefit-title {
    font-size: 18px;
    font-weight: 400;
    color: #0A1F44;
    margin-bottom: 12px;
}

.benefit-text {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
}

/* IMAGE SECTION */
.image-section {
    padding: 0;
    margin: 120px 0;
}

.image-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.full-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.image-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    max-width: 400px;
}

.image-content-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
    color: #0A1F44;
}

.image-content-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.image-content-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #0A1F44;
    text-decoration: none;
    font-weight: 400;
}

/* FOOTER */
.footer {
    background: #f8f8f8;
    color: #2c2c2c;
    padding: 80px 50px 40px;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-contact-bar {
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-contact-bar h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 15px;
    color: #0A1F44;
}

.footer-contact-info {
    font-size: 14px;
    color: #666;
}

.footer-contact-info .separator {
    margin: 0 15px;
    color: #ccc;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: 300;
    text-transform: uppercase;
    color: #0A1F44;
}

.footer-logo-img {
    width: auto;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.footer-brand-text {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.footer-column h4 {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 400;
    color: #0A1F44;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0A1F44;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 12px;
    color: #999;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #666;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* LOADING, ERROR & EMPTY STATES */
.loading-state,
.error-state,
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-top-color: #0A1F44;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-state p,
.no-results h3 {
    color: #0A1F44;
    margin-bottom: 10px;
    font-size: 16px;
}

.retry-btn {
    background: #0A1F44;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #0d2a5c;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablet grande / Desktop pequeño */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 42px;
    }

    .search-section {
        flex-direction: column;
        gap: 40px;
    }

    .search-left {
        flex: 1;
        width: 100%;
    }

    /* FIX CRÍTICO: Cuando cambia a columna, forzar altura */
    .property-showcase {
        flex: none;
        width: 100%;
        height: 450px;
        min-height: 450px;
    }
}

/* Tablet — hamburguesa activa desde 992px */
@media (max-width: 992px) {
    .property-showcase {
        height: 400px;
        min-height: 400px;
    }

    .hero-overlay-price {
        font-size: 28px;
    }

    .benefits-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Header: colapso a hamburguesa */
    .nav-center { display: none; }
    .header-right { display: none; }
    .header-bottom { display: none; }
    .header-top { justify-content: center; }
    .logo { margin: 0 auto; }
    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .logo-image { height: 60px; max-width: 100%; }
    .header-content { padding: 15px 30px; }
}

/* Mobile */
@media (max-width: 768px) {

    /* Header Mobile — refinamientos (trigger hamburguesa ya en 992px) */
    .logo-image { height: 50px; }
    .header-content { padding: 15px 20px; }

    /* Hero Mobile */
    .hero {
        margin-top: 80px;
        padding: 40px 20px 60px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* Property Showcase Mobile - FIX */
    .property-showcase {
        height: 350px;
        min-height: 350px;
    }

    /* Hero Slider Mobile */
    .hero-overlay {
        bottom: 70px;
        left: 20px;
        right: 20px;
    }

    .hero-overlay-reference {
        font-size: 12px;
    }

    .hero-overlay-location {
        font-size: 10px;
    }

    .hero-overlay-price {
        font-size: 24px;
    }

    .hero-slider-controls {
        bottom: 15px;
        right: 15px;
    }

    .hero-slider-btn {
        width: 38px;
        height: 38px;
    }

    .hero-slider-dots {
        display: none;
    }

    .hero-slide-badge {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 10px;
    }

    /* Property Cards Mobile */
    .property-cards {
        flex-direction: column;
    }

    /* Service Cards Mobile */
    .service-cards {
        flex-direction: column;
    }

    /* Benefits Mobile */
    .benefits-grid,
    .benefits-grid.four-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 20px 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-contact-bar h2 {
        font-size: 22px;
    }

    .footer-contact-info {
        font-size: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-contact-info .separator {
        display: none;
    }

    /* Image Section Mobile */
    .image-content {
        position: relative;
        left: 0;
        bottom: 0;
        max-width: 100%;
        margin: -30px 20px 20px;
    }

    .full-image {
        height: 400px;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 2px;
    }

    /* Footer Mobile */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .property-showcase {
        height: 280px;
        min-height: 280px;
    }

    .hero-overlay {
        bottom: 60px;
        left: 15px;
        right: 15px;
    }

    .hero-overlay-price {
        font-size: 22px;
    }

    .hero-slider-controls {
        bottom: 12px;
        right: 12px;
        gap: 10px;
    }

    .hero-slider-btn {
        width: 34px;
        height: 34px;
    }

    .property-ribbon-right {
        width: 100px;
        height: 100px;
    }
    .property-ribbon-right span {
        width: 160px;
        font-size: 9px;
        top: 24px;
        right: -42px;
    }
}

/* Landscape Mobile — iPhone/Android horizontal (todas las páginas del sitio) */
@media (orientation: landscape) and (max-height: 500px) {
    .nav-center { display: none; }
    .header-right { display: none; }
    .hamburger-menu { display: flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
    .header-bottom { display: none; }
    .header-content { padding: 8px 20px; }
    .logo-image { height: 40px; max-width: 100%; }
    .mobile-menu { overflow-y: auto; }
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

.contact-hero h1 {
    font-family: 'Crimson Text', serif;
    font-size: 52px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.contact-container {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: 'Crimson Text', serif;
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: #000;
}

.contact-detail {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-detail-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 1;
    fill: none;
    opacity: 0.7;
}

.contact-detail-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
    font-weight: 400;
}

.contact-detail-content p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.contact-detail-content a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.contact-detail-content a:hover {
    color: #666;
}

.contact-form-wrapper {
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
    padding: 50px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: 300;
    color: #000;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
    font-weight: 400;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 300;
    transition: border-color 0.3s;
}

.form-field textarea {
    height: 150px;
    resize: vertical;
    border: 1px solid #e0e0e0;
    background: white;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: #000;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
}

.btn-send {
    background: #0A1F44;
    color: white;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-send:hover {
    background: #0d2a5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-consent {
    margin: 15px 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin-bottom: 10px;
    line-height: 1.4;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #0A1F44;
}

.consent-label a {
    color: #0A1F44;
    text-decoration: underline;
}

.consent-label a:hover {
    color: #1a3a6e;
}

.form-note {
    margin-top: 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 12px;
    font-size: 14px;
}

.schedule-day {
    color: #000;
    font-weight: 400;
}

.schedule-time {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-icon.whatsapp:hover {
    background: #25d366;
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-map {
    margin: 60px auto;
    max-width: 1400px;
    height: 450px;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* =============================================
   BUY/COMPRAR PAGE - STYLES
   Prefijo buy- para evitar conflictos
   ============================================= */

/* Page Header */
.buy-header {
    margin-top: 120px;
    padding: 60px 50px 40px;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
    text-align: center;
}

.buy-header h1 {
    font-family: 'Crimson Text', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0A1F44;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.buy-header p {
    font-size: 15px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile Filter Bar */
.buy-mobile-bar {
    display: none;
    position: sticky;
    top: 80px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
    justify-content: space-between;
    align-items: center;
}

.buy-mobile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0A1F44;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-mobile-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.buy-mobile-btn:hover {
    background: #0d2a5c;
}

.buy-mobile-count {
    font-size: 13px;
    color: #666;
}

.buy-mobile-count strong {
    color: #0A1F44;
}

/* Desktop Filters */
.buy-filters {
    padding: 30px 50px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.buy-filters-container {
    max-width: 1600px;
    margin: 0 auto;
}

.buy-filters-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.buy-filter-group {
    flex: 1;
    min-width: 150px;
}

.buy-filter-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
    font-weight: 400;
}

.buy-filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.buy-filter-group select:focus {
    outline: none;
    border-color: #0A1F44;
}

.buy-btn-filter {
    background: #0A1F44;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn-filter:hover {
    background: #0d2a5c;
}

.buy-btn-clear {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn-clear:hover {
    border-color: #0A1F44;
    color: #0A1F44;
}

/* Results Section */
.buy-results {
    padding: 40px 50px 80px;
    max-width: 1700px;
    margin: 0 auto;
}

.buy-results-header {
    margin-bottom: 30px;
}

.buy-results-count {
    font-size: 14px;
    color: #666;
}

.buy-results-count strong {
    color: #0A1F44;
}

/* Properties Grid */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* .buy-grid card children styles removed to inherit from standard .property-card */


/* Filter Drawer (Mobile) */
.buy-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.buy-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.buy-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.buy-drawer.active {
    right: 0;
}

.buy-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.buy-drawer-header h3 {
    font-size: 18px;
    font-weight: 400;
    color: #0A1F44;
    margin: 0;
}

.buy-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.buy-drawer-close:hover {
    color: #333;
}

.buy-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.buy-drawer-group {
    margin-bottom: 25px;
}

.buy-drawer-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
    font-weight: 400;
}

.buy-drawer-group select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.buy-drawer-group select:focus {
    outline: none;
    border-color: #0A1F44;
}

.buy-drawer-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
}

.buy-drawer-clear {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-drawer-clear:hover {
    border-color: #0A1F44;
    color: #0A1F44;
}

.buy-drawer-apply {
    flex: 2;
    padding: 14px;
    background: #0A1F44;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-drawer-apply:hover {
    background: #0d2a5c;
}

/* Responsive */
@media (max-width: 1200px) {
    .buy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .buy-header {
        margin-top: 80px;
        padding: 40px 20px 30px;
    }

    .buy-header h1 {
        font-size: 28px;
    }

    .buy-header p {
        font-size: 14px;
    }

    .buy-filters {
        display: none;
    }

    .buy-mobile-bar {
        display: flex;
    }

    .buy-results {
        padding: 30px 20px 60px;
    }

    .buy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .buy-results-count {
        display: none;
    }
}

@media (max-width: 480px) {
    .buy-drawer {
        width: 100%;
        max-width: none;
    }
}