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

.servicio-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;
}

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

.sb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.servicio-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.servicio-kicker {
    opacity: 0.6;
    margin-bottom: 10px;
}

.servicio-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.05;
    max-width: 900px;
}

.servicio-sub {
    margin-top: 20px;
    max-width: 600px;
    color: var(--text-soft);
}

.servicio-cta {
    margin-top: 30px;
}

/* =========================
   GRID SIMPLE
========================= */

.servicio-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.servicio-item strong {
    display: block;
    margin-bottom: 8px;
}

.servicio-item p {
    color: var(--text-soft);
}

/* =========================
   STACK
========================= */

.stack-list {
    margin-top: 60px;
    max-width: 700px;
}

.stack-list div {
    margin-bottom: 28px;
}

/* =========================
   SECCIONES
========================= */

.section {
    padding: 120px 0;
}

.section-tight {
    padding: 90px 0;
}

.section-focus {
    padding: 140px 0;
}

.section-center {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* =========================
   ANIMACIONES
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* delays */

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

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

@media (max-width: 768px) {

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

    .section {
        padding: 90px 0;
    }

}