/* ==========================================================================
   ORCA BIENES Y SERVICIOS - SISTEMA DE DISEÑO & ESTILOS PREMIUM
   ========================================================================== */

/* Importación de Fuentes Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* variables del Sistema de Diseño */
:root {
    /* Paleta de Colores (Extraída del Logo) */
    --primary: #0b2c4d;          /* Azul Teal (Casa/Texto - Confianza) */
    --primary-light: #144272;
    --primary-dark: #071e35;
    --secondary: #1b8a5a;        /* Verde ORCA (Hojas/Ondas - Tierra/Crecimiento) */
    --secondary-light: #23a96e;
    --secondary-dark: #115c3b;
    --accent: #f4a261;           /* Dorado Cálido (Sol/Dunas - Oportunidad) */
    --accent-light: #e9c46a;
    --accent-dark: #e76f51;
    
    /* Neutros */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;

    /* Efecto Vidrio (Glassmorphic) */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(11, 44, 77, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
    
    /* Sombras y Bordes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
    --shadow-glass: 0 8px 32px 0 rgba(11, 44, 77, 0.1);
    
    /* Transiciones */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset de Estilos */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================================================
   COMPONENTES COMUNES (Botones, Contenedores, etc.)
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Botón Estilo Vidrio (Glass Button) */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--bg-white);
    font-weight: 400;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Botón de WhatsApp Integrado (No invasivo) */
.btn-whatsapp {
    background-color: #25d366;
    color: var(--bg-white);
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Botón de WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-size: 28px;
    transition: var(--transition);
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    background-color: #20ba5a;
}

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

/* ==========================================================================
   NAVEGACIÓN (Header)
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(11, 44, 77, 0.8) 0%, rgba(11, 44, 77, 0) 100%);
}

.header.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    transition: var(--transition);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
}

.header:not(.scrolled) .logo-text {
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.header:not(.scrolled) .nav-link {
    color: var(--bg-white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-light);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

.header:not(.scrolled) .menu-toggle {
    color: var(--bg-white);
}

/* ==========================================================================
   BANNER PRINCIPAL (Hero Section)
   ========================================================================== */

.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 44, 77, 0.6) 0%, rgba(11, 44, 77, 0.4) 50%, rgba(11, 44, 77, 0.7) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text {
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

/* Buscador Integrado (ao.com.gt Style) */
.search-widget {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-field select, 
.search-field input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-field select:focus, 
.search-field input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(27, 138, 90, 0.15);
}

.search-widget .btn {
    height: 48px;
}

/* Indicador de Desplazamiento */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   PROPIEDADES (Tarjetas / Grid)
   ========================================================================== */

.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.property-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 44, 77, 0.1);
}

.property-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.property-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 10;
}

.badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.badge-status {
    background-color: var(--primary);
    color: var(--bg-white);
}

.badge-featured {
    background-color: var(--accent);
    color: var(--primary);
}

.badge-type {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.property-content {
    padding: 24px;
}

.property-location {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.property-features {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 20px;
}

.property-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-feature-item i {
    color: var(--secondary);
}

.property-footer {
    display: flex;
    gap: 12px;
}

.property-footer .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 10px 16px;
}

/* ==========================================================================
   FICHA DE DETALLE DE PROPIEDAD (bienesraices.gt Style)
   ========================================================================== */

.property-detail-header {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 140px 0 60px 0;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.property-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

.property-title-section h1 {
    color: var(--bg-white);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.property-subtitle {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.property-subtitle span {
    background-color: var(--secondary);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-header-right {
    text-align: right;
}

.property-header-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 5px;
}

.property-header-ref {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Galería de Imágenes */
.gallery-section {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item {
    height: 280px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 576px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Modificadores de Galería de Fotos (Ajuste de cantidad de imágenes) */
.gallery-grid.cols-1 {
    grid-template-columns: 1fr;
}
.gallery-grid.cols-1 .gallery-item {
    height: 450px;
}

.gallery-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-grid.cols-2 .gallery-item {
    height: 350px;
    grid-column: auto !important;
    grid-row: auto !important;
}

/* Diseño de Contenido Principal (Detalle) */
.property-info-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.property-info-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    color: var(--primary);
}

.info-block p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.info-block ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-block ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.info-block ul li i {
    color: var(--secondary);
}

/* Tabla de Ficha Técnica */
.technical-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.technical-table tr {
    border-bottom: 1px solid var(--border-color);
}

.technical-table tr:last-child {
    border-bottom: none;
}

.technical-table td {
    padding: 12px 16px;
    font-size: 0.95rem;
}

.technical-table td.label {
    font-weight: 600;
    color: var(--primary);
    width: 40%;
}

.technical-table td.value {
    color: var(--text-muted);
}

/* Barra Lateral de Contacto */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.agent-card {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.agent-photo-placeholder {
    width: 90px;
    height: 90px;
    background-color: var(--primary-light);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--bg-white);
}

.agent-card h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.agent-role {
    color: var(--accent-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.agent-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.agent-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.agent-contact-item i {
    color: var(--secondary-light);
}

.agent-card .btn-whatsapp {
    width: 100%;
}

.lead-form-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.lead-form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--secondary);
}

.lead-form-card .btn {
    width: 100%;
}

/* ==========================================================================
   PÁGINAS CORPORATIVAS (Nosotros, Contacto, etc.)
   ========================================================================== */

.page-hero {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-badge-item {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-badge-item i {
    font-size: 24px;
    color: var(--secondary);
}

.about-badge-item span.num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.about-badge-item span.lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

/* Valores Corporativos */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-light);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(27, 138, 90, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 24px auto;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* Contacto Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-detail-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
}

.contact-detail-card i {
    font-size: 20px;
    color: var(--secondary);
    margin-top: 4px;
}

.contact-detail-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-detail-card p {
    font-size: 0.9rem;
}

.map-wrapper {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* ==========================================================================
   PIE DE PÁGINA (Footer)
   ========================================================================== */

.footer {
    background-color: var(--bg-dark);
    color: var(--bg-light);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: var(--bg-white);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(241, 245, 249, 0.7);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.7);
}

.footer-contact-item i {
    color: var(--secondary-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.5);
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .search-widget {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-info-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        background-color: var(--bg-white) !important;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }
    
    .header:not(.scrolled) .logo-text {
        color: var(--primary);
        text-shadow: none;
    }
    
    .menu-toggle {
        display: block;
        color: var(--primary) !important;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px;
        color: var(--text-main) !important;
        border-bottom: 1px solid var(--border-color);
        text-shadow: none !important;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero {
        height: auto !important;
        min-height: auto !important;
        padding: 120px 0 60px 0 !important;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .about-layout, 
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-detail-grid {
        grid-template-columns: 1fr !important;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid.cols-1 .gallery-item {
        height: 280px !important;
    }
    
    .gallery-grid.cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    .gallery-grid.cols-2 .gallery-item {
        height: 250px !important;
    }
    
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
        height: 280px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .search-widget {
        grid-template-columns: 1fr;
    }
    
    .property-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .property-header-right {
        text-align: left;
    }
    
    .info-block ul {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
