/*
Theme Name: Home Isa Propiedades
Description: Tema profesional para corredora de propiedades Home Isa especializada en la Cuarta Región de Chile
Version: 1.0
Author: Home Isa Propiedades
*/

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir desbordamiento horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Asegurar que el body no tenga márgenes superiores en móvil */
@media (max-width: 768px) {
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    html {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Asegurar que todos los contenedores principales respeten el viewport */
.container, .hero-container, .section-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Variables CSS - Nueva paleta de colores blancos y azules */
:root {
    --primary-blue: #1e40af;        /* Azul principal - confianza */
    --secondary-blue: #3b82f6;      /* Azul secundario - profesionalismo */
    --light-blue: #dbeafe;          /* Azul claro - tranquilidad */
    --accent-blue: #1d4ed8;         /* Azul de acento */
    --white: #ffffff;
    --light-gray: #f8fafc;          /* Gris muy claro */
    --medium-gray: #64748b;         /* Gris medio */
    --dark-gray: #1e293b;           /* Gris oscuro */
    --hero-tag-blue: #1e40af;       /* Azul para tags */
    --hero-button-primary: #1e40af; /* Azul para botón primario */
    --hero-button-secondary: #ffffff; /* Blanco para botón secundario */
    --hero-button-text: #ffffff;
    --hero-button-secondary-text: #1e40af;
    --hero-button-hover: #1d4ed8;
    --hero-button-secondary-hover: #f1f5f9;
    --whatsapp-green: #25d366;      /* Verde de WhatsApp */
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0; /* Fijo en la parte superior */
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 80px;
    position: relative;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    max-height: 60px;
    overflow: hidden;
}

.logo-image {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Estilos para el logo personalizado de WordPress */
.custom-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Contenedor del logo personalizado de WordPress */
.custom-logo-link {
    display: flex;
    align-items: center;
    max-height: 50px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.custom-logo-link:hover {
    transform: scale(1.05);
}

/* Asegurar que el logo de WordPress se vea correctamente en el header */
.header .custom-logo-link {
    height: auto;
    max-width: 200px;
}

.header .custom-logo {
    height: auto;
    width: auto;
    max-height: 50px;
    max-width: 200px;
    object-fit: contain;
}

/* Logo Plus Propiedades - DISEÑO EXACTO */
.logo-plus-propiedades {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.logo-plus-propiedades:hover {
    transform: scale(1.05);
}

.logo-plus {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-propiedades {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #2c2c2c;
    line-height: 1;
    margin-top: -2px;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    justify-content: flex-end; /* Por defecto a la derecha */
    min-width: 0; /* Permite que se contraiga si es necesario */
}

/* Alineación del menú - Izquierda */
.nav-left {
    justify-content: flex-start;
}

/* Alineación del menú - Centro */
.nav-center {
    justify-content: center;
}

/* Alineación del menú - Derecha */
.nav-right {
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.contact-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0; /* No se contrae */
}

.contact-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Compensar header fijo */
}

/* Carrusel de Imágenes */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(248,250,252,0.8));
}

/* Fallback si no hay imagen */
.hero.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Contenido de las diapositivas */
.slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-in-out;
    position: absolute;
    width: 100%;
    max-width: 600px;
}

.slide-content.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--hero-title-color, #1e293b);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-tag {
    background: var(--hero-tag-color, #1e40af);
    color: var(--hero-tag-text-color, #ffffff);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--hero-description-color, #64748b);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contenedor de botones */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

/* Botón primario */
.hero-btn.primary {
    background: var(--hero-button-primary);
    color: var(--hero-button-text);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.hero-btn.primary:hover {
    background: var(--hero-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

/* Botón secundario */
.hero-btn.secondary {
    background: var(--hero-button-secondary);
    color: var(--hero-button-secondary-text);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.hero-btn.secondary:hover {
    background: var(--hero-button-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Sections */
.section {
    padding: 80px 0;
}

/* Alternancia de fondos para secciones */
.section:nth-child(even) {
    background: var(--white);
}

.section:nth-child(odd) {
    background: var(--light-bg);
}

/* Excepciones específicas para mantener el diseño */
.hero {
    background: transparent !important;
}

.services {
    background: var(--light-bg) !important;
}

.about {
    background: var(--white) !important;
}

.section-title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    background: #f0f0f0;
    overflow: hidden;
}

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

/* Eliminar definición duplicada anterior */

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.property-details {
    color: var(--light-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-location {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.property-btn {
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.property-btn:hover {
    background: #e6a500;
    transform: translateY(-2px);
}

/* About Section */
.about {
    background: #f8f9fa !important;
}

/* Secciones de Propiedades */
#venta {
    background: var(--light-bg) !important;
    position: relative;
}

#venta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 66, 147, 0.01) 0%, rgba(247, 181, 0, 0.01) 100%);
    z-index: 1;
}

#venta .container {
    position: relative;
    z-index: 2;
}

#arriendo {
    background: var(--white) !important;
}

/* Sección de Contacto */
#contacto {
    background: #f5f5f7  !important;
    position: relative;
}

#contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 66, 147, 0.005) 0%, rgba(247, 181, 0, 0.005) 100%);
    z-index: 1;
}

#contacto .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-tag {
    background: var(--hero-tag-orange);
    color: #1f2937;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

.contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Clase para fondo gris alternado */
.bg-light {
    background: var(--light-bg) !important;
}

/* Clase para fondo blanco alternado */
.bg-white {
    background: var(--white) !important;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1.5rem;
}

.about-text {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    display: block;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

.certification-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.badge-text {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.badge-text strong {
    display: block;
    font-weight: 700;
}

/* Search Section - Nuevo Diseño */
.search-section {
    background: #f5f5f5 !important;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.search-section .container {
    position: relative;
    z-index: 2;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0;
    text-align: center;
}

.search-form-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

.search-form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-group {
    display: flex;
    flex-direction: column;
}

.search-label {
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-select {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
    color: #2c2c2c;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.search-select:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

/* Estilos para los sliders de precio */
.price-group {
    grid-column: span 2;
}

.price-slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b35;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b35;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.price-value {
    color: #ff6b35;
    font-weight: 600;
}

.search-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.search-btn {
    background: #ff6b35;
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    min-width: 200px;
}

.search-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* Estilos para la página de propiedades */
.properties-page {
    padding: 60px 0;
    background: #f5f5f5;
}

.properties-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.properties-filters {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.filters-form {
    width: 100%;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-select,
.filter-input {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
    color: #2c2c2c;
}

.filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.filter-group:last-child {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.filter-btn {
    background: #ff6b35;
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.filter-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.filter-reset {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    color: #ff6b35;
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.properties-results {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.no-properties {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-properties h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.no-properties a {
    color: #ff6b35;
    text-decoration: none;
}

.no-properties a:hover {
    text-decoration: underline;
}

.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #ff6b35;
    color: var(--white);
    border-color: #ff6b35;
}

.pagination .current {
    background: #ff6b35;
    color: var(--white);
    border-color: #ff6b35;
}

.search-results-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff6b35;
}

.search-results-info p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

/* ===== PÁGINA DE PROPIEDADES - DISEÑO PROFESIONAL MOBILE FIRST ===== */

.properties-page {
    padding: 20px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #e55a2b;
}

.breadcrumbs .separator {
    color: #ccc;
}

.breadcrumbs .current {
    color: #333;
    font-weight: 500;
}

/* Header de propiedades */
.properties-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Controles de propiedades */
.properties-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.results-summary {
    display: flex;
    align-items: center;
}

.results-count {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.view-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-controls label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 8px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #e9ecef;
    color: #333;
}

.view-btn.active {
    background: #ff6b35;
    color: var(--white);
}

/* Layout principal */
.properties-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Sidebar de filtros */
.properties-sidebar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: var(--white);
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters-toggle:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.filters-toggle svg {
    transition: transform 0.3s ease;
}

.filters-toggle.active svg {
    transform: rotate(180deg);
}

.filters-content {
    padding: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Rango de precio mejorado */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.price-separator {
    color: #666;
    font-weight: 500;
}

.price-slider {
    position: relative;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin: 8px 0;
}

.price-slider input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* Botones de filtro */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn.primary {
    background: #ff6b35;
    color: var(--white);
}

.filter-btn.primary:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.filter-btn.secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.filter-btn.secondary:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
}

/* Contenido principal */
.properties-main {
    flex: 1;
}

/* Grid de propiedades */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Tarjetas de propiedades mejoradas */
.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Los colores específicos se aplican dinámicamente desde el admin */

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.property-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    line-height: 1.2;
    width: auto;
    max-width: none;
    display: inline-block;
}

/* Etiqueta VENTA (verde) */
.property-tag.venta {
    background: #00d4aa;
    box-shadow: 0 1px 3px rgba(0, 212, 170, 0.4);
}

.property-tag.venta:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(0, 212, 170, 0.5);
}

/* Etiqueta ARRIENDO (azul) */
.property-tag.arriendo {
    background: #4285F4;
    box-shadow: 0 1px 3px rgba(66, 133, 244, 0.4);
}

.property-tag.arriendo:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.5);
}

.property-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .property-actions {
    opacity: 1;
}

.property-favorite,
.property-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.property-favorite:hover,
.property-share:hover {
    background: var(--white);
    color: #ff6b35;
    transform: scale(1.1);
}

.property-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Precio primero, grande y prominente */
.property-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Título de la propiedad */
.property-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.property-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: #ff6b35;
}

/* Ubicación */
.property-location {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location svg {
    flex-shrink: 0;
}

/* Detalles de la propiedad */
.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.detail-item svg {
    flex-shrink: 0;
}

/* El color se aplica dinámicamente desde el admin */

/* Asegurar que las características tengan color por defecto */
.detail-item {
    color: #666666;
}

.detail-item svg {
    color: #ff6b35;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.property-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.property-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: #FFC107;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.property-btn:hover {
    background: #ff6b35;
    color: var(--white);
    transform: translateY(-1px);
}

/* Paginación mejorada */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-info {
    font-size: 14px;
    color: #666;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.pagination .current {
    background: #ff6b35;
    color: var(--white);
    border-color: #ff6b35;
}

/* Estado sin propiedades */
.no-properties {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-properties-icon {
    margin-bottom: 24px;
    color: #ccc;
}

.no-properties h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.no-properties p {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px 0;
}

.no-properties-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn.primary {
    background: #ff6b35;
    color: var(--white);
}

.btn.primary:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn.secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.btn.secondary:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
}

/* Responsive para página de propiedades */
@media (min-width: 768px) {
    .properties-page {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .properties-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .view-controls {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .properties-layout {
        flex-direction: row;
        gap: 32px;
    }
    
    .properties-sidebar {
        width: 300px;
        flex-shrink: 0;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .property-btn {
        flex-shrink: 0;
    }
    
    .pagination-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .no-properties-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    
    .property-image {
        height: 240px;
    }
    
    .properties-sidebar {
        width: 320px;
    }
}

@media (min-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile específico */
@media (max-width: 767px) {
    .filters-toggle {
        display: flex;
    }
    
    .filters-content {
        display: none;
        padding: 16px 20px;
    }
    
    .filters-content.active {
        display: block;
    }
    
    .properties-controls {
        padding: 12px;
    }
    
    .results-count {
        font-size: 14px;
    }
    
    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .sort-controls label {
        font-size: 12px;
    }
    
    .sort-select {
        width: 100%;
        font-size: 13px;
    }
    
    .view-toggle {
        align-self: flex-start;
    }
    
    .property-card {
        margin-bottom: 16px;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-content {
        padding: 16px;
    }
    
    .property-title {
        font-size: 16px;
    }
    
    .property-details {
        gap: 12px;
    }
    
    .detail-item {
        font-size: 13px;
    }
    
    .property-price {
        font-size: 18px;
    }
    
    .property-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .property-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* Vista de lista */
.properties-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.properties-grid.list-view .property-card {
    display: flex;
    flex-direction: row;
    height: 200px;
}

.properties-grid.list-view .property-image {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
}

.properties-grid.list-view .property-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.properties-grid.list-view .property-details {
    margin-bottom: 8px;
}

.properties-grid.list-view .property-footer {
    margin-top: auto;
}

@media (max-width: 767px) {
    .properties-grid.list-view .property-card {
        flex-direction: column;
        height: auto;
    }
    
    .properties-grid.list-view .property-image {
        width: 100%;
        height: 180px;
    }
}

/* Responsive para página de propiedades */
@media (max-width: 768px) {
    .filters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-group:last-child {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn,
    .filter-reset {
        width: 100%;
        text-align: center;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}


/* Responsive Design para Search Section */
@media (max-width: 1024px) {
    .search-form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .price-group {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .search-form {
        padding: 1.5rem;
    }
    
    .search-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-group {
        grid-column: span 1;
    }
    
    .search-header .section-title {
        font-size: 1.75rem;
    }
    
    .search-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .search-form {
        padding: 1.25rem;
    }
    
    .search-select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .search-header .section-title {
        font-size: 1.5rem;
    }
    
    .price-slider {
        height: 8px;
    }
    
    .price-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .price-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(63, 66, 147, 0.08);
    max-width: 750px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    border: 1px solid rgba(63, 66, 147, 0.08);
    position: relative;
    overflow: hidden;
}

/* Campos que ocupan toda la fila */
.email-full,
.radio-full {
    grid-column: 1 / -1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--orange));
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-textarea {
    height: 120px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--white);
}

.radio-item:hover {
    border-color: var(--primary-blue);
    background: rgba(63, 66, 147, 0.02);
}

.radio-item input[type="radio"] {
    margin: 0;
}

.radio-item input[type="radio"]:checked + label {
    color: var(--primary-blue);
    font-weight: 600;
}

.radio-item:has(input[type="radio"]:checked) {
    border-color: var(--primary-blue);
    background: rgba(63, 66, 147, 0.05);
}

.submit-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.submit-btn:hover {
    background: var(--secondary-blue);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* Elementos de Confianza - Diseño Profesional */
.search-trust {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--dark-blue);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    transition: width 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.trust-item:hover::before {
    width: 6px;
}

.trust-icon {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-item span:last-child {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Responsive para elementos de confianza */
@media (max-width: 768px) {
    .search-trust {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .trust-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .trust-icon {
        font-size: 1rem;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .search-trust {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-item {
        width: 100%;
        max-width: 280px;
    }
}

/* Beneficios Clave - Diseño Profesional */
.benefits-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 0 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
}

.benefit-content {
    flex: 1;
}

.benefit-content h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.benefit-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.8;
    font-weight: 500;
}

/* Responsive para beneficios */
@media (max-width: 768px) {
    .benefits-section {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin: 2rem 0;
        padding: 0;
    }
    
    .benefit-item {
        padding: 1.25rem 1rem;
        gap: 0.875rem;
    }
    
    .benefit-icon {
        width: 42px;
        height: 42px;
        font-size: 1.75rem;
    }
    
    .benefit-content h4 {
        font-size: 1rem;
    }
    
    .benefit-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .benefits-section {
        margin: 1.5rem 0;
    }
    
    .benefit-item {
        padding: 1rem 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .benefit-content h4 {
        font-size: 0.95rem;
    }
    
    .benefit-content p {
        font-size: 0.8rem;
    }
}

/* Estadísticas de Testimonios - Diseño Minimalista */
.testimonials-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
}

.testimonials-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    min-width: 140px;
}

.testimonials-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    border-radius: 0 0 3px 3px;
    transition: width 0.3s ease;
}

.testimonials-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonials-stats .stat-item:hover::before {
    width: 60px;
}

.testimonials-stats .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.testimonials-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.3px;
}

/* Responsive para estadísticas de testimonios */
@media (max-width: 768px) {
    .testimonials-stats {
        gap: 2rem;
        margin: 1.5rem 0 2.5rem 0;
    }
    
    .testimonials-stats .stat-item {
        padding: 1.25rem 1.5rem;
        min-width: 120px;
    }
    
    .testimonials-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .testimonials-stats .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-stats {
        gap: 1.5rem;
        margin: 1.25rem 0 2rem 0;
    }
    
    .testimonials-stats .stat-item {
        padding: 1rem 1.25rem;
        min-width: 100px;
    }
    
    .testimonials-stats .stat-number {
        font-size: 1.6rem;
    }
    
    .testimonials-stats .stat-label {
        font-size: 0.8rem;
    }
}

/* CTA Final - Conversión Máxima */
.cta-final {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.cta-urgency {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.urgency-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.urgency-icon {
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 280px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-btn.primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    background: #f8f9fa;
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-icon {
    font-size: 1rem;
}

.cta-guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.guarantee-icon {
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
}

/* Responsive para CTA Final */
@media (max-width: 768px) {
    .cta-final {
        padding: 2.5rem 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-text h2 {
        font-size: 1.75rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-urgency {
        justify-content: center;
        gap: 1rem;
    }
    
    .urgency-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cta-buttons {
        min-width: auto;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-guarantees {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .guarantee-item {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .cta-final {
        padding: 2rem 0;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
    }
    
    .cta-urgency {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-guarantees {
        grid-template-columns: 1fr;
    }
    
    .guarantee-item {
        justify-content: center;
    }
}

/* CTA Section Enhanced - Diseño Llamativo */
.cta-section-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section-enhanced::before {
    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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

.cta-content-enhanced {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text-enhanced {
    max-width: 600px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.1rem;
}

.cta-text-enhanced h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-text-enhanced p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-icon {
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
}

.cta-buttons-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 320px;
}

.cta-btn-enhanced {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn-enhanced:hover::before {
    left: 100%;
}

.cta-btn-enhanced.primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-btn-enhanced.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.cta-btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.cta-btn-enhanced.primary:hover {
    background: #f8f9fa;
}

.cta-btn-enhanced.secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive para CTA Enhanced */
@media (max-width: 768px) {
    .cta-section-enhanced {
        padding: 3rem 0;
    }
    
    .cta-content-enhanced {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .cta-text-enhanced h3 {
        font-size: 2rem;
    }
    
    .cta-text-enhanced p {
        font-size: 1.1rem;
    }
    
    .cta-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .cta-buttons-enhanced {
        min-width: auto;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cta-btn-enhanced {
        padding: 1rem 1.25rem;
    }
    
    .btn-title {
        font-size: 1rem;
    }
    
    .btn-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cta-section-enhanced {
        padding: 2.5rem 0;
    }
    
    .cta-text-enhanced h3 {
        font-size: 1.75rem;
    }
    
    .cta-text-enhanced p {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .cta-btn-enhanced {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .btn-content {
        align-items: center;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .custom-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Hacer el logo blanco en el footer */
}

.footer-logo-text {
    margin-bottom: 1rem;
}

.footer-logo-text .logo-plus-propiedades {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-text .logo-plus {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 1px;
}

.footer-logo-text .logo-propiedades {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin-top: -2px;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: #ccc;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: #2a2a2a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(0, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.whatsapp:hover {
    background: #25d366;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

/* Estilos específicos para la sección de contacto en el footer */
.footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section .contact-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-section .contact-icon svg {
    width: 16px;
    height: 16px;
}

.footer-section .contact-details {
    display: flex;
    flex-direction: column;
}

.footer-section .contact-details span {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-section .contact-details strong {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Responsive para footer contact */
@media (max-width: 768px) {
    .footer-section .contact-item {
        gap: 0.5rem;
    }
    
    .footer-section .contact-icon {
        width: 18px;
        height: 18px;
    }
    
    .footer-section .contact-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .footer-section .contact-details span {
        font-size: 0.85rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.contact-details strong {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.contact-details span {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments for contact info */
@media (max-width: 768px) {
    .contact-item {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .contact-details strong {
        font-size: 0.9rem;
    }
    
    .contact-details span {
        font-size: 0.85rem;
    }
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover svg {
    transform: rotate(5deg);
}

/* Menú Móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

/* Botón de cerrar del menú móvil - REDISEÑADO */
.mobile-menu-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 107, 53, 0.1) !important;
    border: 3px solid var(--secondary-orange) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
}

.mobile-menu-close:hover {
    background: var(--secondary-orange) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}

.mobile-menu-close:active {
    transform: scale(0.95) !important;
}

.close-icon {
    font-size: 24px !important;
    font-weight: bold !important;
    color: var(--secondary-orange) !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

.mobile-menu-close:hover .close-icon {
    color: var(--white) !important;
}

/* REGLA PRINCIPAL: Solo mostrar nuestro botón de cerrar */
.mobile-nav button:not(.mobile-menu-close),
.mobile-nav .close,
.mobile-nav [class*="close"],
.mobile-nav [id*="close"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Asegurar que solo nuestro botón sea visible */
.mobile-menu-close {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 1001 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

.mobile-nav-menu li {
    margin: 1rem 0;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    padding: 1rem;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--primary-blue);
}

.mobile-contact-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animación del hamburger cuando está activo */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .header-container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        top: 0; /* Pegado a la parte superior en móvil */
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
    }
    
    .header-container {
        grid-template-columns: 1fr auto;
        height: 80px;
        padding: 0 15px;
        gap: 1rem;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    
    /* Ajustar hero para compensar header móvil */
    .hero {
        margin-top: 80px;
    }
    
    /* Ocultar menú desktop y botón contacto desktop */
    .nav-desktop,
    .contact-btn-desktop {
        display: none;
    }
    
    /* Mostrar botón hamburger */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Ajustar logo para móvil */
    .logo-plus-propiedades {
        font-size: 1.2rem;
        max-width: calc(100vw - 80px); /* Asegurar que no se desborde */
    }
    
    .logo-plus {
        font-size: 1.8rem;
    }
    
    .logo-propiedades {
        font-size: 0.9rem;
    }
    
    /* Asegurar que el logo de WordPress no se desborde */
    .header .custom-logo-link {
        max-width: calc(100vw - 80px);
    }
    
    .header .custom-logo {
        max-width: calc(100vw - 80px);
        height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .email-full,
    .radio-full {
        grid-column: 1;
    }
    
    .radio-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .radio-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.25rem 0.75rem;
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
    
    .contact-header {
        margin-bottom: 1rem;
    }
    
    .radio-group {
        gap: 0.75rem;
    }
    
    .radio-item {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Ajustes para la barra de administración de WordPress - Solo en desktop */
@media (min-width: 783px) {
    body.admin-bar .header {
        top: 32px;
    }
}

/* En móvil, ignorar la barra de admin para mejor UX */
@media (max-width: 782px) {
    body.admin-bar .header {
        top: 0 !important;
    }
}

/* Asegurar que el logo no se desborde */
.logo {
    position: relative;
    z-index: 1;
}

/* Ajuste adicional para el hero cuando hay barra de admin */
body.admin-bar .hero {
    margin-top: 0;
}

/* Services Section */
.services {
    background: var(--white) !important;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    z-index: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Sección de Servicios */
.services.section {
    background-color: white;
    padding: 80px 0;
}

/* Tarjetas de Propiedades Destacadas - Mobile First */
.featured-properties-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile First: 1 columna por defecto */
.featured-properties-count-1,
.featured-properties-count-2,
.featured-properties-count-3,
.featured-properties-count-4,
.featured-properties-count-5,
.featured-properties-count-6 {
    grid-template-columns: 1fr;
}

/* Tablet: 2 columnas */
@media (min-width: 768px) {
    .featured-properties-grid {
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .featured-properties-count-2,
    .featured-properties-count-4,
    .featured-properties-count-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-properties-count-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-properties-count-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columnas para 3+ propiedades */
@media (min-width: 1024px) {
    .featured-properties-grid {
        padding: 0;
    }
    
    .featured-properties-count-3,
    .featured-properties-count-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-properties-count-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-properties-count-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop: Optimización para 4+ propiedades */
@media (min-width: 1200px) {
    .featured-properties-count-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-properties-count-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-properties-count-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Estilos para sección de arriendo con fondo claro */
.section.bg-light {
    background-color: #f8fafc;
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section.bg-light {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .section.bg-light {
        padding: 40px 0;
    }
}

/* Estilos para header de sección con tags */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6ffe6;
    border: 1px solid #90ee90;
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.3s ease;
}

.section-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.3);
}

.section-tag svg {
    flex-shrink: 0;
}

.section-tag span {
    white-space: nowrap;
}

/* Tag específico para arriendo */
.arriendo-tag {
    background: #e0f2fe;
    border-color: #3b82f6;
}

.arriendo-tag:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Responsive para tags */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-tag {
        padding: 10px 16px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .section-tag svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .section-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
        gap: 5px;
    }
    
    .section-tag svg {
        width: 16px;
        height: 16px;
    }
}

/* ===== NUEVO DISEÑO DE FORMULARIO DE CONTACTO ===== */

/* Layout principal del contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Información de contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details strong {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    display: block;
}

.contact-details span {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    display: block;
}

.contact-details span:not(:last-child) {
    margin-bottom: 0.25rem;
}

/* Contenedor del formulario */
.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.submit-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive para formulario de contacto */
@media (max-width: 1024px) {
    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .contact-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-details h4 {
        font-size: 0.9rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.property-status-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-status-tag.venta {
    background: var(--property-tag-venta-color, #10b981);
}

.property-status-tag.arriendo {
    background: var(--property-tag-arriendo-color, #3b82f6);
}

.property-content {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--property-price-color, #8b4513);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--property-title-color, #1f2937);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.property-location {
    display: flex;
    align-items: center;
    color: var(--property-location-color, #6b7280);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-location svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    fill: var(--property-location-color, #6b7280);
}

.property-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.property-feature {
    display: flex;
    align-items: center;
    color: var(--property-features-color, #6b7280);
    font-size: 0.85rem;
}

.property-feature svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    fill: var(--property-features-color, #6b7280);
}

.property-button {
    width: 100%;
    background: var(--property-button-color, #8b4513);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.property-button:hover {
    background: var(--property-button-hover-color, #6d3410);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.services-tag {
    background: #ff6b35;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.services-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: #e55a2b;
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Grid dinámico según cantidad de servicios */
.services-count-1 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 4rem auto;
}

.services-count-2 {
    grid-template-columns: repeat(2, 1fr);
}

.services-count-3 {
    grid-template-columns: repeat(3, 1fr);
}

.services-count-4 {
    grid-template-columns: repeat(4, 1fr);
}

.services-count-5 {
    grid-template-columns: repeat(3, 1fr);
}

.services-count-6 {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(63, 66, 147, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(63, 66, 147, 0.15);
    border-color: var(--primary-blue);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.service-card:hover .icon-wrapper::before {
    left: 100%;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(63, 66, 147, 0.3);
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 0.8rem;
}

.services-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
}

.cta-btn.primary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.cta-btn.primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .services-count-4,
    .services-count-5,
    .services-count-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .services-count-3,
    .services-count-4,
    .services-count-5,
    .services-count-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Responsive Design para Services */
@media (max-width: 768px) {
    .services.section {
        padding: 60px 0;
    }
    
    .services-count-1,
    .services-count-2,
    .services-count-3,
    .services-count-4,
    .services-count-5,
    .services-count-6 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-content {
        padding: 1rem;
    }

    .services-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services.section {
        padding: 40px 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .featured-properties-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-content {
        padding: 0.75rem;
    }
    
    .property-price {
        font-size: 1.2rem;
    }
    
    .property-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .property-feature {
        font-size: 0.8rem;
    }
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .services-cta {
        padding: 1.5rem 1rem;
    }
}

/* ===== ESTILOS PARA PÁGINA DE DETALLE DE PROPIEDAD ===== */

/* Hero Section */
.property-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.property-gallery-container {
    position: relative;
    height: 100%;
}

.property-main-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #6b7280;
}

.no-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-image-placeholder p {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

/* Eliminar definición duplicada anterior */

/* Botones de acción */
.property-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.action-btn i {
    color: #374151;
    font-size: 1rem;
}

/* Galería de miniaturas */
.property-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.property-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.property-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.property-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

.property-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

.thumbnail-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.thumbnail-item:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.thumbnail-item.active {
    border-color: #1e40af;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-item.active img {
    transform: scale(1.02);
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item.active::before {
    opacity: 0;
}

.hero-image {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Indicador de más imágenes */
.more-images {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.more-images:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* Responsive para el hero */
@media (max-width: 768px) {
    .property-hero {
        height: 50vh;
    }
    
    .property-thumbnails {
        bottom: 15px;
        left: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .more-images {
        min-width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .property-hero {
        height: 40vh;
    }
    
    .property-thumbnails {
        bottom: 10px;
        left: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
    
    .more-images {
        min-width: 50px;
        height: 50px;
        font-size: 0.75rem;
    }
}

/* Contenedor de la página de detalle */
.single-propiedad .container {
    position: relative;
    overflow-x: hidden; /* Evitar scroll horizontal no deseado */
}

/* Información Principal */
.property-main-info {
    background: white;
    padding: 3rem 0;
    position: relative;
    z-index: 1; /* Asegurar que esté sobre el banner expandido */
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.property-title-section {
    flex: 1;
}

.property-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.property-address {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

.property-price-section {
    text-align: right;
    flex-shrink: 0;
}

.price-main {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.price-uf {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* Características principales */
.property-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    min-height: 80px;
}

.feature-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
    stroke: white;
}

.feature-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.feature-label {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive para características */
@media (max-width: 1024px) {
    .property-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .property-price-section {
        text-align: left;
    }
    
    .property-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .feature-card {
        padding: 0.75rem 0.5rem;
        min-height: 70px;
    }
    
    .feature-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.4rem;
    }
    
    .feature-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .feature-number {
        font-size: 1.1rem;
    }
    
    .feature-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .property-title {
        font-size: 2rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .property-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .feature-card {
        padding: 0.6rem 0.4rem;
        min-height: 65px;
    }
    
    .feature-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 0.3rem;
    }
    
    .feature-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .feature-number {
        font-size: 1rem;
    }
    
    .feature-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .property-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }
    
    .feature-card {
        padding: 0.5rem 0.3rem;
        min-height: 60px;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 0.25rem;
    }
    
    .feature-icon svg {
        width: 10px;
        height: 10px;
    }
    
    .feature-number {
        font-size: 0.9rem;
    }
    
    .feature-label {
        font-size: 0.55rem;
    }
}

/* Estilos para miniaturas activas */
.thumbnail-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail-item:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.thumbnail-item.active {
    border-color: #1e40af;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-item.active img {
    transform: scale(1.02);
}

/* Efecto de overlay en miniaturas */
.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item.active::before {
    opacity: 0;
}

/* Botones de acción */
.action-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.1);
}

.action-btn.active {
    background: #dc3545;
    color: white;
}

/* Estilos para el mapa */
.map-container {
    height: 300px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.map-fallback {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.map-fallback i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #9ca3af;
}

.map-fallback p {
    margin: 0.25rem 0;
    text-align: center;
}

/* Estilos para el modal de galería */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.gallery-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
}

.gallery-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.gallery-modal-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 80px);
}

.gallery-main-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 2rem;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnails-modal {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    overflow-x: auto;
    min-height: 120px;
}

.gallery-thumbnail-modal {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.gallery-thumbnail-modal:hover {
    transform: scale(1.05);
    border-color: #1e40af;
}

.gallery-thumbnail-modal.active {
    border-color: #1e40af;
    transform: scale(1.05);
}

.gallery-thumbnail-modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botón "más imágenes" */
.more-images {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.more-images:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .gallery-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .gallery-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .gallery-main-image {
        padding: 1rem;
    }
    
    .gallery-thumbnails-modal {
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }
    
    .gallery-thumbnail-modal {
        width: 80px;
        height: 80px;
    }
}

/* Estilos específicos para títulos de sección en página de detalle */
.property-detail .section-title {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.property-detail .section-title h2,
.property-detail .section-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

/* Sección unificada con diseño de imagen */
.content-section-unified {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: none;
}

.content-section-unified .section-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    text-align: left;
}

.content-section-unified .section-title:first-child {
    margin-top: 0;
}

/* Descripción con estilo de imagen */
.property-description {
    margin-bottom: 2rem;
}

.property-description p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.property-description p:last-child {
    margin-bottom: 0;
}

/* Lista de características con diseño de 2 columnas */
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #374151;
    font-size: 1rem;
    line-height: 1.4;
}

.feature-item i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.feature-item span {
    line-height: 1.4;
    font-weight: 400;
}

/* Responsive para sección unificada */
@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
        gap: 0.5rem 0;
    }
    
    .feature-item {
        font-size: 0.95rem;
        padding: 0.4rem 0;
        gap: 0.6rem;
    }
    
    .content-section-unified .section-title {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }
    
    .property-description p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .features-list {
        gap: 0.4rem 0;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 0.3rem 0;
        gap: 0.5rem;
    }
    
    .content-section-unified .section-title {
        font-size: 1.2rem;
        margin-top: 1.25rem;
    }
    
    .property-description p {
        font-size: 0.9rem;
    }
}

/* Estilos para la galería de miniaturas */
.property-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.property-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.property-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.property-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

.property-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Efecto de transición en la imagen principal */
.hero-image {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Properties Sliders */
.properties-slider-container {
    position: relative;
    margin-bottom: 3rem;
}

.properties-slider-container .swiper {
    padding: 0 60px;
    overflow: visible;
    position: relative;
}

.properties-slider-container .swiper-slide {
    height: auto;
    display: flex;
    width: auto !important;
}

.properties-slider-container .property-card {
    width: 350px;
    height: 100%;
    max-width: none;
}

/* Custom Navigation Buttons */
.properties-slider-container .swiper-button-next,
.properties-slider-container .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(63, 66, 147, 0.15);
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid rgba(63, 66, 147, 0.1);
    z-index: 10;
    cursor: pointer;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.properties-slider-container .swiper-button-next:hover,
.properties-slider-container .swiper-button-prev:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(63, 66, 147, 0.3);
}

.properties-slider-container .swiper-button-next::after,
.properties-slider-container .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 900;
}

.properties-slider-container .swiper-button-next {
    right: 10px;
}

.properties-slider-container .swiper-button-prev {
    left: 10px;
}

.properties-slider-container .swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Custom Pagination */
.properties-slider-container .swiper-pagination {
    position: relative;
    margin-top: 2rem;
    text-align: center;
}

.properties-slider-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(63, 66, 147, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.properties-slider-container .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Section Footer with Button */
.section-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(63, 66, 147, 0.1);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(63, 66, 147, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(63, 66, 147, 0.4);
    color: var(--white);
    text-decoration: none;
}

.view-all-btn:active {
    transform: translateY(0);
}

.view-all-btn svg {
    transition: transform 0.3s ease;
}

.view-all-btn:hover svg {
    transform: translateX(4px);
}

/* Additional spacing between sections */
.section-spacing {
    margin-top: 4rem;
}

/* Background for Arriendo Section */
.section.bg-light {
    background: var(--light-bg);
    position: relative;
}

.section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 181, 0, 0.02) 0%, rgba(63, 66, 147, 0.02) 100%);
    z-index: 1;
}

.section.bg-light .container {
    position: relative;
    z-index: 2;
}

/* Responsive Design for Sliders */
@media (max-width: 1024px) {
    .properties-slider-container .swiper {
        padding: 0 50px;
    }
    
    .properties-slider-container .property-card {
        width: 320px;
    }
    
    .properties-slider-container .swiper-button-next,
    .properties-slider-container .swiper-button-prev {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .section-spacing {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .properties-slider-container .swiper {
        padding: 0 40px;
    }
    
    .properties-slider-container .property-card {
        width: 300px;
    }
    
    .properties-slider-container .swiper-button-next,
    .properties-slider-container .swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .properties-slider-container .swiper-button-next::after,
    .properties-slider-container .swiper-button-prev::after {
        font-size: 12px;
    }
    
    .view-all-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .section-spacing {
        margin-top: 2.5rem;
    }
}

@media (max-width: 480px) {
    /* Header ultra-compacto para móviles pequeños */
    .header-container {
        padding: 0 10px;
        gap: 0.5rem;
        height: 70px;
    }
    
    .logo-plus-propiedades {
        font-size: 1rem;
        max-width: calc(100vw - 60px);
    }
    
    .logo-plus {
        font-size: 1.5rem;
    }
    
    .logo-propiedades {
        font-size: 0.8rem;
    }
    
    .header .custom-logo-link {
        max-width: calc(100vw - 60px);
    }
    
    .header .custom-logo {
        max-width: calc(100vw - 60px);
        max-height: 40px;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    /* Ajustar hero para header más pequeño */
    .hero {
        margin-top: 70px;
    }
    
    .carousel-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Properties Slider Mobile */
    .properties-slider-container .swiper {
        padding: 0 15px;
        overflow: visible;
    }
    
    .properties-slider-container .property-card {
        width: 260px;
        margin: 0 auto;
    }
    
    /* Ocultar botones de navegación en móvil pequeño */
    .properties-slider-container .swiper-button-next,
    .properties-slider-container .swiper-button-prev {
        display: none;
    }
    
    /* Paginación más prominente */
    .properties-slider-container .swiper-pagination {
        margin-top: 1.5rem;
    }
    
    .properties-slider-container .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 6px;
        background: rgba(63, 66, 147, 0.4);
    }
    
    .properties-slider-container .swiper-pagination-bullet-active {
        background: var(--primary-blue);
        transform: scale(1.3);
    }
    
    /* Property Card Mobile */
    .property-image {
        height: 200px;
    }
    
    .property-details {
        padding: 1rem;
    }
    
    .property-details h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .property-price {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .property-location {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .property-features {
        gap: 0.5rem;
    }
    
    .property-features span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Mejoras táctiles para móvil */
    .property-card {
        touch-action: pan-y; /* Permitir scroll vertical */
    }
    
    .swiper-slide {
        touch-action: pan-x; /* Permitir swipe horizontal */
    }
    
    /* Swipe indicators para móvil */
    .properties-slider-container::before,
    .properties-slider-container::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background: rgba(63, 66, 147, 0.1);
        border-radius: 50%;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .properties-slider-container::before {
        left: 5px;
        content: '‹';
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: var(--primary-blue);
    }
    
    .properties-slider-container::after {
        right: 5px;
        content: '›';
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: var(--primary-blue);
    }
    
    /* Mostrar indicadores en hover/touch */
    .properties-slider-container:hover::before,
    .properties-slider-container:hover::after {
        opacity: 1;
    }
    
    /* Hero content mobile adjustments */
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* ========================================
   TESTIMONIOS SECTION
======================================== */

.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.testimonials .section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid dinámico según cantidad de testimonios */
.testimonials-count-1 {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.testimonials-count-2 {
    grid-template-columns: repeat(2, 1fr);
}

.testimonials-count-3 {
    grid-template-columns: repeat(3, 1fr);
}

.testimonials-count-4 {
    grid-template-columns: repeat(2, 1fr);
}

.testimonials-count-5 {
    grid-template-columns: repeat(3, 1fr);
}

.testimonials-count-6 {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    font-style: italic;
    margin: 0;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--blue);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Ajustar logo del footer para móvil */
    .footer-logo .custom-logo {
        max-height: 50px;
    }
    
    .footer-logo-text .logo-plus {
        font-size: 24px;
    }
    
    .footer-logo-text .logo-propiedades {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .footer-logo .custom-logo {
        max-height: 40px;
    }
    
    .footer-logo-text .logo-plus {
        font-size: 20px;
    }
    
    .footer-logo-text .logo-propiedades {
        font-size: 9px;
    }
}

/* Testimonios Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials .section-title {
        font-size: 2rem;
    }
    
/* Responsive para testimonios */
@media (max-width: 1200px) {
    .testimonials-count-3,
    .testimonials-count-5,
    .testimonials-count-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .testimonials-count-3,
    .testimonials-count-4,
    .testimonials-count-5,
    .testimonials-count-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-count-1,
    .testimonials-count-2,
    .testimonials-count-3,
    .testimonials-count-4,
    .testimonials-count-5,
    .testimonials-count-6 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-count-1,
    .testimonials-count-2,
    .testimonials-count-3,
    .testimonials-count-4,
    .testimonials-count-5,
    .testimonials-count-6 {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
}
    
    .testimonial-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem;
        top: -8px;
        left: -8px;
    }
}

/* Estilos para Contact Form 7 */
.wpcf7-form {
    width: 100%;
}

.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wpcf7-form .form-group {
    display: flex;
    flex-direction: column;
}

.wpcf7-form .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.wpcf7-form .form-input,
.wpcf7-form .form-select,
.wpcf7-form .form-textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.wpcf7-form .form-input:focus,
.wpcf7-form .form-select:focus,
.wpcf7-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.wpcf7-form .form-textarea {
    resize: vertical;
    min-height: 120px;
    grid-column: 1 / -1;
}

.wpcf7-form .submit-btn {
    background: var(--primary-blue);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.wpcf7-form .submit-btn:hover {
    background: var(--hero-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.wpcf7-form .submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mensajes de Contact Form 7 */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Responsive para Contact Form 7 */
@media (max-width: 768px) {
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .wpcf7-form .form-input,
    .wpcf7-form .form-select,
    .wpcf7-form .form-textarea {
        padding: 10px 12px;
    }
    
    .wpcf7-form .submit-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Estilos responsivos para el Hero */
@media (max-width: 768px) {
    .hero-container {
        padding: 0 15px;
    }
    
    .slide-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .carousel-dots {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}