/* ========================================
   DESARROLLO LANDING PAGE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

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

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-agent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1rem 2rem;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}

.agent-details {
    text-align: left;
}

.agent-label {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.25rem;
}

.agent-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.hero-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1FAD5C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-phone {
    background: #1659EF;
    color: white;
}

.btn-phone:hover {
    background: #061e3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-email {
    background: #6C757D;
    color: white;
}

.btn-email:hover {
    background: #545B62;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.btn-primary {
    background: #1659EF;
    color: white;
}

.btn-primary:hover {
    background: #061e3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* ========================================
   DESCRIPCIÓN SECTION
   ======================================== */

.descripcion {
    background: #f8f9fa;
}

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

.descripcion-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.descripcion-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.descripcion-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* ========================================
   AMENIDADES SECTION
   ======================================== */

.amenidades-grid {
    display: grid;
    gap: 2rem;
    /* Distribución inteligente basada en número de elementos */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Distribuciones específicas para números comunes de amenidades */
.amenidades-grid[data-count="1"] {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
}

.amenidades-grid[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.amenidades-grid[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.amenidades-grid[data-count="4"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.amenidades-grid[data-count="5"] {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.amenidades-grid[data-count="6"] {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.amenidades-grid[data-count="7"],
.amenidades-grid[data-count="8"],
.amenidades-grid[data-count="9"] {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.amenidad-card {
    background: white;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Altura más compacta por defecto */
.amenidad-card {
    min-height: 120px; /* Reducido de 200px para menos espacio vacío */
}

/* Padding más compacto para tarjetas sin descripción */
.amenidad-card.no-description {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    min-height: 100px;
}

.amenidad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.amenidad-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.amenidad-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
}

.amenidad-descripcion {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    text-align: center;
}

/* ========================================
   GALERÍA SECTION
   ======================================== */

.galeria {
    background: #f8f9fa;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.galeria-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover::after {
    opacity: 1;
}

/* ========================================
   VIDEO SECTION
   ======================================== */

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   MAPA SECTION
   ======================================== */

.mapa {
    background: #f8f9fa;
}

.mapa-container {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.mapa-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.mapa-actions {
    text-align: center;
}

/* ========================================
   CONTACTO SECTION
   ======================================== */

.contacto {
    background: #1659EF;
    color: white;
}

.contacto h2 {
    color: white;
    margin-bottom: 2rem;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.agent-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.agent-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid rgba(255,255,255,0.3);
}

.agent-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.agent-bio {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.agent-contact {
    margin-bottom: 2rem;
}

/* Contact items específicos para sección de agentes solamente */
.agent-contact .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.agent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contacto-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
}

.contacto-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    opacity: 0.7;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.4);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .descripcion-content,
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* En tablet, máximo 2 columnas para mejor legibilidad */
    .amenidades-grid[data-count] {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        max-width: 100% !important;
    }
    
    .amenidades-grid[data-count="1"] {
        grid-template-columns: 1fr;
        max-width: 300px !important;
        margin: 0 auto;
    }
    
    .amenidades-grid[data-count="2"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .descripcion {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-agent {
        gap: 1.5rem;
    }
    
    .agent-info {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .agent-details {
        text-align: center;
    }
    
    .hero-contact {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .amenidades-grid[data-count] {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
        max-width: 100% !important;
    }
    
    .amenidades-grid[data-count="1"] {
        grid-template-columns: 1fr;
        max-width: 250px !important;
        margin: 0 auto;
    }
    
    .amenidad-card {
        padding: 1.5rem;
    }
    
    .amenidad-icon {
        font-size: 2.5rem;
    }
    
    .agent-actions {
        flex-direction: column;
    }
    
    .mapa-container iframe {
        height: 300px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .agent-avatar {
        width: 50px;
        height: 50px;
    }
    
    .agent-name {
        font-size: 1.2rem;
    }
    
    .amenidades-grid[data-count] {
        grid-template-columns: 1fr;
        max-width: 100% !important;
    }
    
    .contacto-content {
        gap: 2rem;
    }
    
    .agent-photo {
        width: 100px;
        height: 100px;
    }
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth transitions */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero,
    .lightbox,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 12pt;
    }
}

/* ========================================
   NUEVOS ESTILOS PERSONALIZADOS
   ======================================== */

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* Footer */
.main-footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-credit {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Descripción más alta */
.descripcion {
    padding: 8rem 0;
}

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

.descripcion-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1659EF;
}

.descripcion-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Iconos de amenidades simples */
.amenidad-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
}

/* Nuevos iconos SVG para amenidades */
.amenidad-card .amenidad-icon {
    font-size: 0; /* Ocultar emoji */
}

.amenidad-card .amenidad-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background-color: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    display: block;
}

.amenidad-card:nth-child(1) .amenidad-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6l3 1m0 0l-3 9a5.002 5.002 0 006.001 0M6 7l3 9M6 7l6-2m6 2l3-1m-3 1l-3 9a5.002 5.002 0 006.001 0M18 7l3 9m-3-9l-6-2m0-2v2m0 16V5m0 16l-3-9m3 9l3-9M12 3V1m0 2v16'/%3E%3C/svg%3E");
}

.amenidad-card:nth-child(2) .amenidad-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E");
}

.amenidad-card:nth-child(3) .amenidad-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 14v3m4-3v3m4-3v3M3 21h18M3 10h18M10.5 3L12 2l1.5 1H21l-1 6H4l-1-6h7.5z'/%3E%3C/svg%3E");
}

.amenidad-card:nth-child(4) .amenidad-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z'/%3E%3C/svg%3E");
}

.amenidad-card:nth-child(5) .amenidad-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16'/%3E%3C/svg%3E");
}

.amenidad-card:nth-child(6) .amenidad-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z'/%3E%3C/svg%3E");
}

/* Nueva galería */
.galeria-hero {
    margin-bottom: 2rem;
}

.galeria-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.galeria-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.galeria-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}

.galeria-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.galeria-thumb img:hover {
    transform: scale(1.1);
}

/* Sección de ubicación */
.ubicacion {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.ubicacion-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1659EF;
}

.ubicacion-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.ubicacion-descripcion-custom {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.ubicacion-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.ubicacion-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ubicacion-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.placeholder-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 3rem;
    color: #718096;
}

.placeholder-map p {
    margin-top: 1rem;
    font-weight: 500;
}

/* Contacto de una columna */
.contacto-content-single {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contacto-content-single h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.agent-card-center {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.agent-photo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.agent-card-center .agent-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.agent-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f7fafc;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
}

.agent-name-centered {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d3748;
    text-align: center;
}

.agent-card-center .agent-bio {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.agent-card-center .agent-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.agent-card-center .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.agent-card-center .agent-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive para nuevos elementos */
@media (max-width: 768px) {
    .descripcion-content,
    .ubicacion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .descripcion-text h2,
    .ubicacion-text h2,
    .contacto-content-single h2 {
        font-size: 2rem;
    }
    
    .galeria-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-main-image {
        height: 300px;
    }
    
    .ubicacion-actions {
        flex-direction: column;
    }
    
    .agent-card-center .agent-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .agent-card-center .agent-actions {
        flex-direction: column;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   MASONRY GALLERY SECTION
   ======================================== */

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 200px;
    margin-top: 2rem;
}

.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.masonry-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.masonry-item.wide {
    grid-column: span 2;
}

.masonry-item.tall {
    grid-row: span 2;
}

.masonry-item.square {
    grid-row: span 1;
}

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

/* ========================================
   PROMOCIONES SECTION
   ======================================== */

.promociones {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #1a202c;
}

.promociones .section-title {
    color: #1659EF;
    text-align: center;
    margin-bottom: 3rem;
}

.promociones-content {
    background: white;
    color: #4a5568;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.promociones-content h3 {
    color: #1659EF;
    margin-bottom: 1rem;
}

.promociones-content h4 {
    color: #059669;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.promociones-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.promociones-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.promociones-content strong {
    color: #dc2626;
}

/* Responsive adjustments for masonry and promociones */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        grid-auto-rows: 180px;
    }
    
    .masonry-item.wide {
        grid-column: span 1;
    }
    
    .promociones-content {
        padding: 2rem;
    }
}

