/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-proof {
    font-size: 1rem;
    opacity: 0.8;
}

/* Sección de Disponibilidad */
.availability-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e2e8f0;
}

.availability-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e293b;
    font-size: 2rem;
}

.availability-controls {
    text-align: center;
    margin-bottom: 30px;
}

.availability-controls label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #475569;
}

.availability-controls select {
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 250px;
}

.availability-controls select:hover {
    border-color: #3b82f6;
}

.availability-controls select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.calendar-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

@media (max-width: 768px) {
    .availability-section h2 {
        font-size: 1.5rem;
    }
    
    .availability-controls select {
        min-width: 200px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
/* Premium Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.service-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.service-card-image picture,
.service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-image img {
    transform: scale(1.08);
}
.service-card-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.service-card-body {
    padding: 1.5rem;
}
.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 0.5rem 0;
}
.service-card-desc {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}
.service-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.service-card-details li {
    font-size: 0.88rem;
    color: #374151;
    padding: 2px 0;
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card-image {
        height: 160px;
    }
}

/* Premium Apartment Cards */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}
.apt-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}
.apt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.apt-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.apt-card-image picture,
.apt-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.apt-card:hover .apt-card-image img {
    transform: scale(1.08);
}
.apt-card-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}
.apt-card-popular {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
.apt-card-body {
    padding: 1.5rem;
}
.apt-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 0.35rem 0;
}
.apt-card-capacity {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}
.apt-card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
}
.apt-card-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: #6b7280;
}
.apt-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.apt-card-features li {
    font-size: 0.88rem;
    color: #374151;
    padding: 2px 0;
}
.apt-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}
.apt-card-min {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}
.apt-card-cta {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.apt-card-cta:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
@media (max-width: 768px) {
    .apartments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .apt-card-image {
        height: 180px;
    }
    .apt-card-price {
        font-size: 1.5rem;
    }
    .apt-card-features {
        grid-template-columns: 1fr;
    }
}

/* Image Optimization - Responsive & Performance */.apt-image {    position: relative;    width: 100%;    height: 220px;    overflow: hidden;    border-radius: 12px;    background: #f1f5f9;}.apt-img-optimized {    width: 100%;    height: 100%;    object-fit: cover;    object-position: center;    transition: transform 0.3s ease;    background: #e2e8f0;}.apt-card:hover .apt-img-optimized {    transform: scale(1.05);}.service-img-optimized {    width: 100%;    height: 120px;    object-fit: cover;    object-position: center;    border-radius: 8px;    transition: transform 0.3s ease;    background: #e2e8f0;}.service-item:hover .service-img-optimized {    transform: scale(1.02);}/* Picture element optimization */picture {    display: block;    width: 100%;    height: 100%;}/* Loading states */.apt-img-optimized,.service-img-optimized {    opacity: 0;    transition: opacity 0.4s ease, transform 0.3s ease;}.apt-img-optimized.loaded,.service-img-optimized.loaded {    opacity: 1;}/* Progressive loading placeholder */.apt-image::before {    content: ;    position: absolute;    top: 0;    left: 0;    width: 100%;    height: 100%;    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);    background-size: 200% 100%;    animation: loading 1.5s infinite;    z-index: 1;}.apt-image.loaded::before {    display: none;}@keyframes loading {    0% {        background-position: 200% 0;    }    100% {        background-position: -200% 0;    }}/* Mobile optimizations */@media (max-width: 768px) {    .apt-image {        height: 180px;    }        .service-img-optimized {        height: 100px;    }}@media (max-width: 480px) {    .apt-image {        height: 160px;    }}/* WebP support detection fallback */.no-webp .apt-img-optimized,.no-webp .service-img-optimized {    /* Fallback optimizations for browsers without WebP support */}/* Performance: will-change for animations */.apt-img-optimized,.service-img-optimized {    will-change: transform;}.apt-card:not(:hover) .apt-img-optimized,.service-item:not(:hover) .service-img-optimized {    will-change: auto;}
.apt-card-photos-link { position:absolute; top:12px; right:12px; background:rgba(255,255,255,0.95); color:#1e40af !important; padding:6px 14px; border-radius:20px; font-size:0.8rem; font-weight:700; text-decoration:none; backdrop-filter:blur(4px); box-shadow:0 2px 8px rgba(0,0,0,0.15); transition:all 0.3s ease; z-index:2; }
.apt-card-photos-link:hover { background:#1e40af; color:white !important; transform:translateY(-1px); }
.apt-card-photos-link.coming { background:rgba(255,255,255,0.8); color:#9ca3af !important; cursor:default; font-weight:500; }

/* Homepage Lightbox */
.hl-lightbox { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.96); z-index:9999; align-items:center; justify-content:center; }
.hl-lightbox.active { display:flex; }
.hl-content { display:flex; flex-direction:column; align-items:center; justify-content:center; max-width:94vw; max-height:90vh; }
.hl-img-wrapper { display:flex; align-items:center; justify-content:center; max-width:94vw; max-height:80vh; overflow:hidden; }
.hl-img-wrapper img { max-width:94vw; max-height:80vh; object-fit:contain; border-radius:6px; transition:transform 0.3s ease, opacity 0.25s ease; }
.hl-caption { color:#e2e8f0; padding:14px 20px; font-size:1rem; text-align:center; max-width:600px; line-height:1.5; }
.hl-caption strong { color:white; font-size:1.1rem; }
.hl-close,.hl-prev,.hl-next { position:fixed; background:rgba(255,255,255,0.1); border:none; color:white; cursor:pointer; z-index:10001; transition:all 0.25s ease; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.hl-close:hover,.hl-prev:hover,.hl-next:hover { background:rgba(255,255,255,0.25); }
.hl-close { top:20px; right:20px; font-size:2rem; width:48px; height:48px; }
.hl-prev { left:20px; top:50%; transform:translateY(-50%); font-size:2.5rem; width:52px; height:52px; }
.hl-next { right:20px; top:50%; transform:translateY(-50%); font-size:2.5rem; width:52px; height:52px; }
.hl-counter { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,0.7); font-size:0.9rem; background:rgba(0,0,0,0.5); padding:6px 18px; border-radius:20px; z-index:10001; }
.hl-loading { display:none; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:10002; }
.hl-loading.active { display:block; }
.hl-spinner { width:40px; height:40px; border:3px solid rgba(255,255,255,0.2); border-top-color:white; border-radius:50%; animation:hl-spin 0.8s linear infinite; }
@keyframes hl-spin { to { transform:rotate(360deg); } }
.hl-img-wrapper img.hl-slide-left { animation:hl-slideL 0.25s ease; }
.hl-img-wrapper img.hl-slide-right { animation:hl-slideR 0.25s ease; }
@keyframes hl-slideL { from{transform:translateX(40px);opacity:.5} to{transform:translateX(0);opacity:1} }
@keyframes hl-slideR { from{transform:translateX(-40px);opacity:.5} to{transform:translateX(0);opacity:1} }
@media(max-width:768px){ .hl-prev,.hl-next{width:40px;height:40px;font-size:2rem} .hl-prev{left:8px} .hl-next{right:8px} .hl-close{top:12px;right:12px;width:40px;height:40px} }

/* LAU Info Section */
.lau-info {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}
.lau-info h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
    font-size: 1.8rem;
}
.lau-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.lau-item {
    text-align: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.lau-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}
.lau-item h4 {
    color: #1e40af;
    margin: 0 0 8px;
    font-size: 1.1rem;
}
.lau-item p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Price details */
.apt-card-perday {
    color: #059669;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 4px 0 2px;
}
.apt-card-inclusive {
    color: #64748b;
    font-size: 0.78rem;
    margin: 0 0 12px;
    font-style: italic;
}

@media (max-width: 768px) {
    .lau-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .lau-item { padding: 16px; }
    .lau-info h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .lau-grid { grid-template-columns: 1fr; }
}
