/* ================= BARRA DE PROGRESO ================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #71c98a, #53B53C);
    z-index: 4000;
    box-shadow: 0 2px 10px rgba(113, 201, 138, 0.35);
}

/* ================= REVEAL ================= */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
    opacity: 0;
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal {
    transform: translateY(42px);
}

.reveal-left {
    transform: translateX(-55px);
}

.reveal-right {
    transform: translateX(55px);
}

.reveal-zoom {
    transform: scale(0.92);
}

.reveal.show,
.reveal-left.show,
.reveal-right.show,
.reveal-zoom.show {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ================= HERO GLOBAL ================= */
.hero-senderos,
.album-header,
.hero-flora {
    background-attachment: fixed;
    position: relative;
}

.hero-senderos::before,
.album-header::before,
.hero-flora::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,20,14,0.12), rgba(10,20,14,0.24));
}

/* ================= HERO CONTENT ================= */
.hero-content,
.hero-text {
    position: relative;
    z-index: 2;
    animation: heroFloat 4.5s infinite;
}

/* ================= TITULOS ================= */
.section-title {
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: "";
    display: block;
    width: 0;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #71c98a, #53B53C, #1f4d2e, #53B53C, #71c98a);
    background-size: 200% auto;
    animation: shimmerLine 4s linear infinite;
    transition: width 0.8s ease;
}

.section-title.show::after {
    width: 100%;
}

.section-title-left {
    margin-left: 0;
    margin-right: 0;
}

/* ================= NAV INTERNA ================= */
.section-nav-links a {
    transition: all 0.3s ease;
}

.section-nav-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(31, 77, 46, 0.12);
}

.section-nav-links a.active-section {
    background: #10722e;
    color: #fff;
}

/* ================= FAB GLOW ================= */
.fab-main {
    animation: fabGlowGlobal 2.4s ease-in-out infinite;
}

.fab-container.open .fab-main {
    animation: none;
}

/* ================= KEYFRAMES ================= */
@keyframes heroFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes shimmerLine {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

@keyframes fabGlowGlobal {
    0%, 100% {
        box-shadow: 0 0 18px rgba(217, 79, 21, 0.15), 0 0 0 0 rgba(217, 79, 21, 0.40);
    }
    50% {
        box-shadow: 0 0 28px rgba(217, 79, 21, 0.28), 0 0 0 14px rgba(217, 79, 21, 0);
    }
}

/* ================= MOVIMIENTO REDUCIDO ================= */
@media (prefers-reduced-motion: reduce) {
    .fab-main,
    .section-title::after {
        animation: none !important;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .hero-senderos,
    .album-header,
    .hero-flora {
        background-attachment: scroll;
    }
}