* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f6f1eb;
    color: #4a4a4a;
}

/* GRID */
.main-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    grid-template-areas:
        "hero slider"
        "podcast services"
        "podcast social";
    gap: 30px;
    padding: 40px;
}

/* AREAS */
.hero { grid-area: hero; }
.slider { grid-area: slider; }
.podcast { grid-area: podcast; }
.services { grid-area: services; }
.social { grid-area: social; }

/* HERO */
.hero {
    background: #f3ede6;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
}

.hero-photo {
    width: 200px;
    height: 280px;
    margin: auto;
    border-radius: 50% / 40%;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    margin-top: 16px;
}

.hero p {
    font-style: italic;
    font-size: 13px;
    margin: 12px 0 20px;
}

.btn-primary {
    background: #9c7a5c;
    color: white;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
}

/* ================= SLIDER EVENTOS ================= */

.slider-full {
    position: relative;
    width: 100%;
    background: #e8e1d8;
    border-radius: 24px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 540px;
}

/* SLIDES */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    pointer-events: none; /* 🔑 clave */
}

.slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto; /* 🔑 solo el visible */
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* TEXTO */
.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255,255,255,0.85);
    padding: 18px 22px;
    border-radius: 16px;
    color: #3b3b3b;
}

/* FLECHAS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.45);
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-btn:hover {
    background: rgba(0,0,0,0.65);
}

/* MOBILE */
@media (max-width: 900px) {
    .slider-wrapper {
        height: 300px;
    }
}

}

/* TEXTO ENCIMA */
.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255,255,255,0.85);
    padding: 18px 22px;
    border-radius: 16px;
    color: #3b3b3b;
}

.slide-caption h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 6px;
}

.slide-caption span {
    font-size: 13px;
    opacity: 0.8;
}

/* FLECHAS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    z-index: 3;
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-btn:hover {
    background: rgba(0,0,0,0.65);
}

/* MOBILE */
@media (max-width: 900px) {

    .slider-wrapper {
        height: 300px;
    }

    .slide-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 14px;
    }

    .slide-caption h3 {
        font-size: 16px;
    }
}


/* PODCAST */
.podcast {
    background: white;
    border-radius: 24px;
    padding: 20px;
}

.podcast h3 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 12px;
}

/* SERVICIOS */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    margin: 12px;
}

.service-card p {
    font-size: 13px;
    margin: 0 12px 16px;
}

/* REDES */
.social {
    background: #1e73be;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    color: white;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icons a {
    background: white;
    color: #1e73be;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "slider"
            "podcast"
            "services"
            "social";
    }

    .services {
        grid-template-columns: 1fr;
    }
}


