/* ============================================================
   BIOAUREA - Roadmap Carousel
   Carousel styles for roadmap section
   ============================================================ */

.roadmap-section {
    padding: 60px 0 60px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1a12 40%, #0a1510 60%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0,255,136,0.03), transparent),
        radial-gradient(ellipse 600px 400px at 80% 30%, rgba(0,170,255,0.02), transparent);
    pointer-events: none;
}

.roadmap-section .container { max-width: 1600px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 1; }
.roadmap-section .section-header { padding: 0 20px; margin-bottom: 10px; }

.roadmap-carousel-wrapper { position: relative; margin-top: 30px; padding: 0 0 20px; }

.roadmap-carousel-wrapper::before,
.roadmap-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 20px; width: 80px; z-index: 3; pointer-events: none;
}
.roadmap-carousel-wrapper::before { left: 0; background: linear-gradient(90deg, #0a1510 0%, transparent 100%); }
.roadmap-carousel-wrapper::after { right: 0; background: linear-gradient(-90deg, #0a1510 0%, transparent 100%); }

.roadmap-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 60px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
    user-select: none;
}
.roadmap-track::-webkit-scrollbar { display: none; }
.roadmap-track:active { cursor: grabbing; }

.roadmap-card {
    flex: 0 0 260px;
    min-height: auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.roadmap-card::before { display: none; }

.roadmap-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.rm-icon-badge { width: 36px; height: 36px; margin-bottom: 10px; flex-shrink: 0; }
.rm-icon-badge svg { width: 36px; height: 36px; stroke: #00cc6a !important; stroke-width: 1.8; transition: transform 0.3s; opacity: 0.7; }
.roadmap-card:hover .rm-icon-badge svg { transform: scale(1.1); opacity: 1; }

.roadmap-sector {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.6em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    width: fit-content;
    transition: all 0.3s;
    border-width: 1.5px;
    border-style: solid;
}

.sector-ambiente { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }
.sector-certificacion { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }
.sector-carbono { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }
.sector-gobierno { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }
.sector-conservacion { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }
.sector-agro { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }
.sector-tech { background: rgba(255,255,255,0.03); color: #999; border-color: rgba(255,255,255,0.12); }

.roadmap-title { font-size: 0.95em; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.35; }

/* Description: hidden by default, shown on hover */
.roadmap-desc {
    font-size: 0.78em;
    color: #888;
    line-height: 1.5;
    flex: 1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
.roadmap-card:hover .roadmap-desc,
.roadmap-card.expanded .roadmap-desc {
    max-height: 200px;
    opacity: 1;
}

.roadmap-desc-hint {
    font-size: 0.68em;
    color: #444;
    margin-top: 6px;
    transition: opacity 0.2s;
}
.roadmap-card:hover .roadmap-desc-hint {
    opacity: 0;
}

.rm-card-number { position: absolute; top: 18px; right: 16px; font-size: 0.7em; color: rgba(255,255,255,0.15); font-weight: 700; letter-spacing: 0.05em; }

.roadmap-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }

.roadmap-nav-btn {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: #888;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s; font-size: 1.1em; flex-shrink: 0;
}

.roadmap-nav-btn:hover {
    background: rgba(0, 200, 100, 0.08);
    border-color: rgba(0, 200, 100, 0.25);
    color: #00e07a;
    transform: scale(1.08);
}

.roadmap-dots { display: flex; gap: 6px; align-items: center; }

.roadmap-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.roadmap-dot.active {
    background: #00cc6a;
    width: 22px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 200, 100, 0.3);
}
