@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

.cobosu-metro-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Bebas Neue', Arial, sans-serif;
    padding: 90px 20px 140px;
    overflow-x: auto;
}

.metro-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
}

.stations-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    min-width: 1000px; /* evita colapso excesivo en pantallas grandes */
}

.metro-station {
    position: relative;
    text-align: center;
    flex: 1;
    min-width: 220px;
}

.photo-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.station-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
}

.metro-station:hover .station-photo {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.station-info {
    background: white;
    padding: 16px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
}

.station-name {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #111;
}

.station-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.btn-more {
    display: inline-block;
    background: #c8102e;
    color: white;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s;
}

.btn-more:hover {
    background: #e30613;
    transform: translateY(-3px);
}

.future .station-photo {
    filter: brightness(0.75) grayscale(0.6);
    opacity: 0.9;
}

.future .station-name {
    color: #666;
}

.future .btn-more {
    background: #555;
    visibility: hidden;
    pointer-events: none;
}

.future .station-info {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .stations-wrapper {
        flex-wrap: wrap;
        gap: 48px 28px;
        justify-content: center;
        min-width: initial; /* permitir ajuste en pantallas más pequeñas */
    }
    .metro-path {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .cobosu-metro-container {
        padding: 50px 12px 80px;
    }
    .photo-container {
        width: 140px;
        height: 140px;
    }
    .metro-path {
        display: none; /* En móvil pequeño la curva se ve mal, mejor ocultarla */
    }

    .station-name {
        font-size: 1.25rem;
    }

    .station-subtitle {
        font-size: 0.85rem;
    }

    .station-info {
        min-height: 90px;
        padding: 12px 16px;
    }

    .btn-more {
        padding: 8px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .photo-container {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }

    .station-name {
        font-size: 1rem;
    }

    .station-subtitle {
        font-size: 0.8rem;
    }

    .stations-wrapper {
        gap: 28px 18px;
    }
}