/* ====== LANDING-ONLY STYLES ====== */

/* Hero — video de fondo con overlay calido */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg,
        rgba(63, 74, 60, 0.75) 0%,
        rgba(63, 74, 60, 0.50) 40%,
        rgba(63, 74, 60, 0.65) 100%
    ), url('../imagenes/hero_barrio.jpg') center/cover no-repeat;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

/* Video background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Gradient overlay on top of video */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(63, 74, 60, 0.72) 0%,
        rgba(63, 74, 60, 0.45) 40%,
        rgba(63, 74, 60, 0.60) 100%
    );
    z-index: 0;
}

.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 750px; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(194, 164, 109, 0.25);
    color: #DBBD86;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(194, 164, 109, 0.40);
}
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}
.hero h1 span { color: #DBBD86; }
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.hero-location {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.75rem;
}
.hero-bullets { list-style: none; margin-bottom: 2rem; }
.hero-bullets li {
    padding: 0.3rem 0;
    color: #FFFFFF;
    font-size: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.hero-bullets li::before {
    content: ">";
    color: #DBBD86;
    font-weight: 700;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Playfair Display', Georgia, serif;
}
.hero-stat-value.green { color: #A5C49B; }
.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(194, 164, 109, 0.06) 0%, var(--secondary) 50%, rgba(63, 74, 60, 0.05) 100%);
    text-align: center;
    padding: 5rem 0;
}
.cta-section h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text);
}
.cta-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.cta-urgency {
    display: flex; justify-content: center; gap: 2rem; margin-top: 2rem;
    flex-wrap: wrap;
}
.cta-urgency span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ====== VIDEO GALLERY ====== */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-card video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #1a1a1a;
}

.video-card-label {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    background: var(--card-bg);
    border-top: 1px solid var(--border);
}

/* Play icon overlay */
.video-card::after {
    content: '\25B6';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    pointer-events: none;
    transition: opacity 0.3s;
}

.video-card.playing::after {
    opacity: 0;
}

/* Mobile: hide hero video, use fallback image */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    .video-gallery {
        grid-template-columns: 1fr;
    }
}
