/* =========================
   BASE
========================= */

.visagismo-page {
    background: var(--bg-main);
}

#particles-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.dark-mode #particles-bg {
    opacity: 0.3;
}

.visagismo-page section,
.visagismo-page .sb-container {
    position: relative;
    z-index: 1;
}

/* =========================
   HERO (TIPO APPLE)
========================= */

.visagismo-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.visagismo-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.05;
}

.visagismo-hero p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 1.05rem;
}

/* =========================
   TABS (APPLE STYLE)
========================= */

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab {
    border: none;
    background: transparent;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--text-soft);
    transition: all 0.25s ease;
}

.tab:hover {
    background: rgba(0, 0, 0, 0.05);
}

.tab.active {
    background: var(--color-primary);
    color: white;
}

/* =========================
   CONTENIDO (CLAVE APPLE)
========================= */

.tab-content {
    display: none;
    max-width: 700px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

/* =========================
   INFO BOX → SIN CARDS
========================= */

.info-box {
    margin-bottom: 40px;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.info-box p {
    color: var(--text-soft);
    line-height: 1.6;
}

/* =========================
   DIVISORES SUTILES (APPLE)
========================= */

.info-box:not(:last-child)::after {
    content: "";
    display: block;
    margin-top: 30px;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.dark-mode .info-box:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   ANIMACIÓN SUAVE
========================= */

.tab-content.active .info-box {
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   ESPACIADO GENERAL
========================= */

.visagismo.section {
    padding-top: 140px;
}

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

@media (max-width: 768px) {

    .visagismo-hero {
        margin-bottom: 50px;
    }

    .tabs {
        gap: 8px;
    }

    .tab {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* =========================
   BOTONES
========================= */
.tab.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 92, 46, 0.2);
}